CYBT-413034 gets reset when using SPP service.

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

cross mob
TDC
Level 1
Level 1
First solution authored 10 sign-ins 5 replies posted

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.

 

0 Likes
1 Solution
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

You can choose the RFCOMM demo with CYW20719B2 board and then change the platform configuration to fit for the module.

View solution in original post

0 Likes
7 Replies
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

Which SDK are you using and which demo are you referring to?

0 Likes

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.

0 Likes
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

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?

0 Likes

Thank You Sir for your response, I will use the Modus Tool Box Sdk and test it again.

0 Likes

Hello @Owen_Zhang123 ,

In Modus Tool Box SDk, in project window i dont find BSP for CYBT-413034 module?

Thank You.

0 Likes
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

You can choose the RFCOMM demo with CYW20719B2 board and then change the platform configuration to fit for the module.

0 Likes

Thank you, I will do the same.

0 Likes