Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

ModusToolbox Bluetooth SDK

daba_4649501
New Contributor II

hello,

i am using CYBT-413055-02 module, i configured dual spi mode and both spi are working perfectly. i also need to receive 10 bytes from PUART and i configured PUART  callback function.

then i run the program , dual spi channel working fine but when i enter some data in puart com port(terraterm software), the puart callback function is NOT WORKING.

so i disabled one SPI and run the program in single channel SPI mode and PUART call back function..but this time PUART call back function is WORKING.

is there any limitations for using dual spi and puart callback at the same time?

i am using MODUS TOOL BOX 6.2 and sdk version is <version>2.6.0.7989</version>.

please i need answer for this ASAP.

SaEa_4705941LePo_1062026MaRi_1281436broadcomwiced-adminAnjanaM_61SheetalJ_96

THANKS AND REGARDS,

DANNY.

0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator

Please call the spi_init(); and test_puart_driver(); in BTM_ENABLED_EVT event after initializing the stack using wiced_bt_stack_init .

Stack initialization is needed even for reliable working of peripheral functions.

This should fix the issue.

Regards,

Anjana

View solution in original post

8 Replies