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.

STM32F4 Discovery connect with CC2564MODAEM errors ?

Other Parts Discussed in Thread: CC2564, CC2564CSTBTBLESW

I connect STM32F4 with CC2564 via UART 3:
CTS <-> D11
TX <-> D8
RX <-> D9
RTS <-> D12
nSHUTD <-> PE14
and connect the UART console via UART 2 with the PL2102
PA2 <-> RX of PL2102
PA3 <-> TX of PL2102
When I run the example of SPPDEMO when pressing the RESET button on STM32, the uart_console screen displays:

OpenStack ().

Stack Init Failed: -4.

Unable to open the stack.

How can I fix this?

  • Hung,

    The error code -4 refer to HCI initialization error. This error may be caused by any SW bug in porting that might be preventing the HCI communication between the host and the controller. It may also be caused by any HW or SW issue that would violate the CC256x Power-up sequence described in the device datasheet.

    In addition to making the correct software porting changes as explained in the Enable_STM32_Discovery.pdf document of the CC2564CSTBTBLESW, please make sure the hardware (especially the CC256XEM-STADAPT) is properly configured as explained in the Quick Start Guide.
    www.ti.com/.../swru416.pdf

    Best regards,
    Vihang