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

What is the UART default parity configuration

Hello,

I'm currently reading nRF51_Series_Reference_Manual_v2.1.pdf. On page 28.9.9 there is the UART CONFIG register documented. Two bits of configuration for the Parity (ID B), where the value 0x0 denotes no parity and 0x7 even parity (as far as I read it together with 28.8: "When parity is enabled, the parity will be generated automatically from the even parity of TXD and RXD for transmission and reception respectively."). 0x7 is a 3 bit value.

According to 28.9.9 the reset Value of the configuration is 0x2.

Sounds wierd, isn't it? Is 0x7 just a typo and must be read as 0x2? 2 bits to encode 2 different configurations?

kind regards, Torsten

Related