CR95HF stops responding to UART
I use CR95HF with UART communication for some applications. I notice that occasionally (seemingly at random) the CR95 will stop responding to any UART commands. I send an ECHO and receive no response. I have experienced this with several of my own designs as well as with X-NUCLEO-NFC03A1 development board
On the rare occasion that I catch this and am able to troubleshoot I have tried cycling power to the chip. This usually fixes it, but not always. Sometimes I have to leave power off for minutes before it will work again.
I began suspecting that the issue was temperature dependent as the problem only seems to occur after ~1 hour of being powered up. I tested heating and cooling the device while sending ECHO commands but could not reproduce the problem at all.
My best guess now is that the problem stems from the crystal oscillator. I noticed that the oscillator is not always running during normal operation. Perhaps it has trouble starting up in some scenarios?
Is there any known issue with the UART interface? I notice it was removed on newer ST25 chipsets. Is there anything else I can test to troubleshoot this further?
I appreciate any insight,
Ivan
Edit:
I was able to reproduce this by temporarily shorting one side of the oscillator to ground. After removing the short, it resumes oscillation but the UART interface in non-functional until a power cycle.
Obviously, this is not how the problem occurs in reality, but I believe it happens by a similar method where the clock gets disturbed for whatever reason.
Is there any way to recover from this state that does not require cycling power?
