DUAL SPI AND PUART NOT working at the same time.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
daba_4649501
Level 3
Level 3
10 replies posted 5 replies posted 5 questions asked

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

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