nRF52832 serial port supports only dual test

Usually when using the serial port, we are not accustomed to parity (even / odd parity), so that the software can test their own application layer. If you have to check the hardware, the following configuration is parity on NRF52832 of:

// 52832 supports only even parity (even parity)
NRF_UART0-> CONFIG = UART_CONFIG_PARITY_Included << UART_CONFIG_PARITY_Pos;

Plus later this Code, nRF52832 serial port hardware to even have a sex test. Remember that even parity (Even Parity), it does not support odd (Odd Parity).

 

Guess you like

Origin www.cnblogs.com/ceibacity/p/11088368.html