Other Parts Discussed in Thread: HALCOGEN
Hi all:
I have successfully achieved the polling mode of SCI4 module. I set the pinmux, SCI4 module in HALCOGEN however when I try to use sci4 interrupt, it always failed.
I want to use SCI4 rx low interrupt, and here is my configuration in SCI.c:
/** - set interrupt level */
sciREG4->SETINTLVL = (uint32)((uint32)0U << 26U) /* Framing error */
| (uint32)((uint32)0U << 25U) /* Overrun error */
| (uint32)((uint32)0U << 24U) /* Parity error */
| (uint32)((uint32)0U << 9U) /* Receive */
| (uint32)((uint32)0U << 8U) /* Transmit */
| (uint32)((uint32)0U << 1U) /* Wakeup */
| (uint32)((uint32)0U << 0U); /* Break detect */
/** - set interrupt enable */
sciREG4->SETINT = (uint32)((uint32)0U << 26U) /* Framing error */
| (uint32)((uint32)0U << 25U) /* Overrun error */
| (uint32)((uint32)0U << 24U) /* Parity error */
| (uint32)((uint32)1U << 9U) /* Receive */
| (uint32)((uint32)0U << 1U) /* Wakeup */
| (uint32)((uint32)0U << 0U); /* Break detect */
Then I configure the VIM module 119 sci4LowLevelInterrupt IRQ, then halcogen generates the sci4HighLevelInterrupt() in SCI.c.
During debug, I use putty to send "0x33" to my board, the register SCIFLR->RXRDY is set and RD has value 0x33 but the program can not enter sci4HighLevelInterrupt() .
What's problem?
Thanks®ard
Li


