This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BSC_Initialize ERROR(BTPS_ERROR_HCI_INITIALIZATION_ERROR -4)



I am trying to adapt the CC256x STM32 Bluetopia SDK (v4.0.2.1) to STM32F407VG MCU to work.(no DMA interrupt)

I was founding another forum about this problem, but did not solve it.

I was checking device power up and down sequencing and  the USART3 pins as well as the nShutdown pins looks to be defined in HCITRCFG.h file correctly.

Stepping through InitializeBluetooth, the failure happens in BSC_Initialize(), for which I have no source code, and

it returns a value of -4, which looks to be BTPS_ERROR_HCI_INITIALIZATION_ERROR.

Could someone suggest if there is maybe some patch that I should use for compilation or something else?

Thanks,

Seo