- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @AnjanaM_61 , @DheerajPK_41 , @SheetalJ
I am using CYBT-413034 interface with ADS1298 ic (external adc) communicate with SPI. I intend to read 500 samples per second from ADS1298. Using Spp i am sending 21 bytes of frame per sample to Pc software. The Pc software will send an ack signal in the form of one character for every frame. As I connect and start communication it works for some time say 5-6 sec and then gets reset. and sometime it gives error of no mem. attaching the debug trace.
11:37:44.546 -> RFCOMM Connected isInit: 0 Serv: 0x0002 Conn: 0x0002 00 1a 7d da 71 10
11:37:44.546 -> spp_connection_up_callback handle:2 address:00 1a 7d da 71 10
11:37:48.198 -> no mem
11:37:48.198 -> no mem
11:37:48.198 -> no mem
11:38:04.369 -> app_management_callback 2
11:38:04.369 -> Power mgmt status event: bd (00 1a 7d da 71 10 ) status:2 hci_status:0
The status : 2 is Sniff mode? Why i am getting a Power management event?
The no mem is in wiced_bool_t wiced_bt_spp_send_session_data(uint16_t handle, uint8_t *p_data, uint32_t length) function in spi_lib.c Do i need to change the size of buffer pool?
Thank You.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can choose the RFCOMM demo with CYW20719B2 board and then change the platform configuration to fit for the module.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which SDK are you using and which demo are you referring to?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Sir, Thank you for your response,
I am using Wiced Studio 6.4 SDK and I am referring to Snip -> BT-> Spp example code.
Thank You.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The CYBT-413034 is based on CYW20719B2 device which is not supported on WICED SDK.
Could you use the Modus Tool Box SDK and test it again?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank You Sir for your response, I will use the Modus Tool Box Sdk and test it again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @Owen_Zhang123 ,
In Modus Tool Box SDk, in project window i dont find BSP for CYBT-413034 module?
Thank You.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can choose the RFCOMM demo with CYW20719B2 board and then change the platform configuration to fit for the module.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, I will do the same.