This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 UART Transition Issues

We are having issues with UART communication on the nRF52840. Using a logic analyzer, we have found that the transitions happen too quickly. This causes the receiving MCU to read incorrect bits most of the time depending on where the transition lands. Is there a work around for this? Thanks.

Parents
  • Hi,

    I am having problems understanding how "transitions happen too quickly", but it makes me think that you are talking about a situation where there are timing problems so that sampling happens too late, or similar? If so, I suspect one of two problems:

    • you have not configured the same baud rate in both devices, or
    • the clock drifts too much between the devices. For instance, you should consider enabling the crystal oscillator, since the RC oscillator may not be accurate enough (at least with high baud rates).
Reply
  • Hi,

    I am having problems understanding how "transitions happen too quickly", but it makes me think that you are talking about a situation where there are timing problems so that sampling happens too late, or similar? If so, I suspect one of two problems:

    • you have not configured the same baud rate in both devices, or
    • the clock drifts too much between the devices. For instance, you should consider enabling the crystal oscillator, since the RC oscillator may not be accurate enough (at least with high baud rates).
Children
Related