AnsweredAssumed Answered

STM32Lxx Data Loss in Rx if I receive more than 15 bytes.

Question asked by bhiman.raghavendran on Apr 17, 2013
Latest reply on Apr 20, 2013 by Clive One
Hello,

This is raghav here. I have STM32Lxx board which is connected to Telit GPRS board. 
I am trying to receive the FTP file content through RxNe and could receive only the first byte of the content through RxNe.The command replies are fine in rxne as the command replies does not exceed 15 to 20byte. There is a data Loss if the bytes are more in Rxne(20 bytes or more then there is a data loss). I tried to lower the bit rate but problem didn't solve.
We use interrupt and not polling mechanism. Will this problem solved if I use DMA Rx ? If so please give me the sample code how to use DMA RX in ST32MLxx boards. Will be more helpful if you reply me quickly or post me the polling code which could receive more than 1k byte which will never incur any data loss.

Regards,

Raghav




Outcomes