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

Max UART channels in NRF52840 and reception method

I need atleast 10 UART channels to be configured in my project. Is it possible to do it with the NRF52840. I believe because of the PPI I should be able to do this. I was thinking to configure 5 UARTs per UART peripheral since it has two.

Kindly help me out. 

Parents
  • Hi

    No, I don't think you'll be able to configure 10 UART channels using the PPI. You see, you'll have to use a combination of PPI and GPIOTE in order to configure the UART channels, so to configure one extra UART channel you'll have to use two GPIOTE channels. The GPIOTE peripheral only has 8 free channels, which means you'll only be able to configure 4 extra UART channels in addition to the 2 already available in the nRF52840, meaning a total of 6 UART channels would be the upper limit.

    Best regards,

    Simon

Reply
  • Hi

    No, I don't think you'll be able to configure 10 UART channels using the PPI. You see, you'll have to use a combination of PPI and GPIOTE in order to configure the UART channels, so to configure one extra UART channel you'll have to use two GPIOTE channels. The GPIOTE peripheral only has 8 free channels, which means you'll only be able to configure 4 extra UART channels in addition to the 2 already available in the nRF52840, meaning a total of 6 UART channels would be the upper limit.

    Best regards,

    Simon

Children
Related