Hi Team,
i have a test setup for UART of AM335x under Linux 3.14 kernel, where i pull the RX line shortly and then wait for the wake up interrupt and later for the time out counter interrupt, below is the picture how it should be.
After the activity on the RX line i should get wake up interrupt and after some time of inactivity i should see a timer interrupt
IRQ: toggles for all uart irqs
Tim: toggles when Rx Time-out Counter interrupt comes
Wak: toggles when wakeup interrupt comes
Rx: uart rx Pin
RTS: uart rts
Tx: uart tx
After some toggling i see sometimes wake up sometimes time out interrupt missing:
It seems to me like an error in the interrupt handling, because e.g. in second case HW wouldn't generate time out interrupt if it wouldn't see any activity on the RX line.
Thanks and regards,
Oleg