This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi experts,
Is there any way to clear SCIRXBUF other than a system reset?
The TRM includes the following description. However, our customers want to clear the SCIFFFE and SCIFFPE bits in this register in software.
My customers can't shut down the system, so they want to reset only SCI, not the system reset.
Is there any way to accomplish this?
Best regards,
Sasaki
Hello Sasaki,
Thank you for your question. These bits (SCIFFFE and SCIFFPE) are only cleared by system reset. Please see the following threads regarding this:
https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/903529
https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/901500?TMS320F280049C-SCI-channel-reset-clarifications
Please see the sections in the above threads about clearing the other error flags (using SWRESET bit).
Regards,
Vince
----------------------------------------------------------------------------------------------------------------------------
If I was able to answer your question, please press the green "Verified" button below, thanks!
Hello Vince-san,
Thank you for your reply.
Vince Toledo said:Thank you for your question. These bits (SCIFFFE and SCIFFPE) are only cleared by system reset. Please see the following threads regarding this:
Does this mean that the device should do a system reset every time it gets a parity error in FIFO mode?
If the above is correct, I don't think it is practical to use SCI in FIFO mode.
Best regards,
Sasaki
Hi Sasaki-san,
I am currently following up with our internal team to determine if there is another method to do this. I will update once they get back with information.
Regards,
Vince
----------------------------------------------------------------------------------------------------------------------------
If I was able to answer your question, please press the green "Verified" button below, thanks!
Hi Sasaki,
Thanks for checking in. We are now in the testing phase of a potential sequence for this request. I will give you an update on this by Thursday of this week. Thank you for your time.
Regards,
Vince
Hi Sasaki,
Thank you for your patience on this. We were able to test the following sequence and determine its validity on hardware. This allows clearing of the bits discussed previously. Please let me know if you have any questions!
SCIFFFE or SCIFFPE set, begin sequence:
Regards!
Vince