3 Replies Latest reply on Feb 28, 2019 12:27 AM by BragadeeshV_41

    Check UART odd parity bit

    user_248309786

      Hello,

       

      I would like to use the UART component as follow in half duplex mode:

       

      Responding only if the received byte has parity bit set to 1, otherwise do nothing. Sending only with parity bit 0.

       

      Is that somehow possible?

      My attempt now is:

      UartByte = UART_GetByte();

      UartControlReg = UART_ReadControlRegister();

       

      When reading the control register, which bit is signaling odd parity?

       

      Thanks in advance....