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.

CC2564: Unable to open stack - Stack Init Failed: -4

Part Number: CC2564

Hi,

I am working on CC2564B dual bluetooth module with ST32F765 device and Bluetopia_16_M4.fp_HW_FP.lib. In order to run the NoOs-SPPDemo in my project, I have to reconfigure the HCITrans.c  to actual HAL driver since the demo project uses stm32f4 std. library that is not suit my STM32F765 chip. I have checked following;

- HCI usart settings,

- Slow Clock,

- BT shutdown pin

There is no mistake my activating scenario to run bluetooth chip. All timing diagrams are suitable corresponding datasheet. For example BT-SHUTDOWN rising while clock configuration is done and after that

RTS pin going high.

But when I run the code in debug mode return value of the BSC_Initialize() function is equal to -4, and for this reason SPPDemo project cannot work correctly. I have read previous comments about this topic and 

check another options, too which activate the "__SUPPORT_CC256X_PATCH__"  pre-processor definition in BTPSVEND.c file. But still does not work. I get same error as I mentioned above.

 * Is there any Bluetopia version which is suitable for HAL library?

 * Can I use this bluetopia library version "Bluetopia_16_M4.fp_HW_FP.lib" for STM32F765 Cortex M7 device?

* Is there any solution for OpenStack error ?

Can you help please, I have stuck there?

Thanks, Best Regars...