Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC2564MODN: HCILL Sleep indication not acknowledged

$
0
0

Part Number: CC2564MODN

Hi,

We have a CC256MODN connected with a STM32L4 via UART. The STM32L4 runs Bluetopia stack. When we send BLE notifications at a fixed pace (250ms) for a while, we observe that one particular HCILL command is not acknowledged by the stack:

HCILL_GO_TO_SLEEP_IND0x30

We can see that the STM32L4 has received the command (value of 0x30 and length of 1) and that it was processed by the HCITR_COMProcess() function. However, the HCITR_COMWrite() with HCILL_GO_TO_SLEEP_ACK is never called. After that, we cannot communicate with the cc2564, since the stack waits for new data to receive and the cc2564 is waiting for the ack.

We can see HCILL_GO_TO_SLEEP_IND and HCILL_GO_TO_SLEEP_ACK are usually received and sent correctly and this bug seems to happen not very frequently. By changing the value of WakeUp_Ind_Retransmission_TimeOut from 500 ms to 50ms in :

HCI_VS_HCILL_Parameters(Inactivity_Timeout=100ms, WakeUp_Ind_Retransmission_TimeOut, RTS_pulse_width=150us)

we are able to run longer without problems (sometimes 24h), but it happens randomly anyway. 

Are there any reasons why Bluetopia would not call HCITR_COMWrite() when receiving the HCILL_GO_TO_SLEEP_IND? It could help us find the cause.

Thank you!


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>