I had some code based on the SPPLE lite example running OK on the 5529 experimenter board, with the CC2564 BT board attached. Now I'm trying to port this to a custom target board with a MSP430F5219. I went through the porting guidelines in the Bluetopia documentation folder, and I think I did everything needed there (with the exception that the CTS line is on P3.3 on the target and I can't change the vector to port3, but I'm not sure this is relevant).
I can program the board and run, but when it gets to BSC_Initialize (called in OpenStack), it returns -4 (BTPS_ERROR_HCI_INITIALIZATION_ERROR) after some delay. Based on some other posts (e.g. http://e2e.ti.com/support/low_power_rf/f/660/t/248868.aspx ) it seems this is related to the UART.
One important difference is that the BT radio (CC2564) is not powered always on the new board, but my assumption is that at the point the OpenStack is called it is not starting communication with the radio. Is that correct? Just in case, I tried to have the radio power up before calling InitializeApplication in MainThread, but it doesn't help.
I saw another post ( http://e2e.ti.com/support/low_power_rf/f/660/p/221914/790005.aspx ) which makes me wonder if this is a PMM problem. I know the 5219 device has a different power architecture than the 5529, so could this be an issue?
There are also some notes in the porting guidelines document regarding the clocks, but I didn't change anything here.
Any other things I can try?
Thanks,
Angelo