problem with break detection on lpuart1
my code configuration :
LPUART_ClearStatusFlags(EXAMPLE_LPUART1, kLPUART_LinBreakFlag);
LPUART_EnableInterrupts(EXAMPLE_LPUART1, kLPUART_LinBreakInterruptEnable);
LPUART1->STATUS |+0X2000000;
EnableIRQ(EXAMPLE_LPUART1_IRQn);
my IRQ
void EXAMPLE_LPUART1_IRQHandler(void)
{
uint32_t status = LPUART_GetStatusFlags(EXAMPLE_LPUART1);
uint32_t enabledInterrupts = LPUART_GetEnabledInterrupts(EXAMPLE_LPUART1);
/* If break situation detected. */
if ((0U != ((uint32_t)kLPUART_LinBreakFlag & status)) &&
(0U != ((uint32_t)kLPUART_LinBreakInterruptEnable & enabledInterrupts)))
{
(void)LPUART_ClearStatusFlags(EXAMPLE_LPUART1, kLPUART_LinBreakFlag);
isBreakLineDetected1 = true;
C105_RTS_SET;
}
....
Many thanks for support
best regards