2020-03-07 07:32 AM
In our application spbtle-rf0 is used to communicate with android app. when data is sent, some times it is observed that part of the previous data is transmitted. The data is split into 20 bytes packet. When it is configured as indicate some times the 10-11 bytes from the previous packet is transmitted. Checked in HCI logs. When configured to notify some times few bytes from one of the previous packets not beyond 128 bytes form current packet is transmitted. I fear that when the header is received by the module and if is ready to transmit on RF side, it is dumping the data i.e. equal to size specified in header from it's 127 bytes buffer. Is there a way to give command that the SPI interface is busy receiving data and transmit when it is done. Does the CS pin takes care of this synchronisation? As in my it doesn't seem to.