Part Number: TDA4VE-Q1
Tool/software:
Dear TI experts,
I've investigated and implemented UART1 SM mentioned in safety manual as below.
When I search related apis in pdk, I've found UART_procLineStatusErr api in UART_v1.c is the answer.
It seems like it checks UART's LSR_UART(we do not use CIR and IRDA) register and detects break, parity, framing and overrun errors.
So, I'm also trying to implement the api checks periodically checks LSR register.
Q1. Is my investigation and plan right? is there any other status register need to be checked for this SM?
Q2. I saw this LSR register has 'trasmit hold' not empty status for 5 and 6 bit position. I think this bit is almost always 'set' because of lots of uart messages printed out.
So, I'll exclude this bit status check for UART1 SM implementation. Could you explain detail about this bit meaning?
Thanks,
Taehong Kim
