I have dome some experimentation over the long weekend and had some success in getting the MAX32630fTHR working with the Arduino IDE. In fact it is pleasingly fast to compile and upload. I will try and finish documenting this process just in case it is of help to others, or me in the future when I have forgotten everything. ;-)
There is one thing I am struggling with however, and I was wondering it anyone has the solution.
I am trying to communicate with the PAN1326B to scan for Bluetooth devices. It should be on UART0, and having dug deep in to the Arduino core for the module it looks like that is mapped correctly. However when I send data (a HCI reset of 01,03,0c,00 for example) to it nothing happens and nothing ever comes back.
I have pulsed down P1.6 (BT_RST) for a few hundred milliseconds to try and reset things and nothing changes. I have held CTS low, but also checked it high just in case.
One complication is the PAN1326B required a 32KHz signal, but this is a feature built in to the MAX32630 in P1.7. If I do not activate this then RTS remains high as expected.
When I set the PWR_PSEQ_32K_EN flag in PWRSEQ_REG4 to activate the 32KHz output RTS from the module is briefly high, but then goes low in a fraction of a second. I believe this is as expected.
Now one odd thing is if I leave the module running it will eventually do high. This is not quick though and may be some kind of power saving feature perhaps?
I am blindly assuming that the clock is being generated and being passed thought correctly, but there is a test pad TP4 so I can confirm this tomorrow. Everything else is not exposed on the board unfortunately.
So, has anyone got any thoughts on why I am not able to communicate with the module, or advice of what to try next?

