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

Common serial interface over UART and USB

Hi,

I am developing firmware for both nRF52832 and nRF52840 chips. For serial communication, I would like to have a common interface for both chips, which means sending binary data over UART (nRF52832) or over USB (nRF52840). The only solution that I found having the same interface is the command line interface (CLI) module. But unfortunately I did not find any way to send/receive raw data (in binary) with this module.

Could you please suggest me what would be the best way to implement that?

Thank you in advance,

Javier

Related