Hi,
I am working on an SCI DMA driver over RM48HDK.
The only interrupt enabled is SCI RX DMA
sciREG->SETINT = (1 << 17); /* SET RX DMA */
I've check the run time memory also. Only DMA INT enabled.
But the weird thing is the hardware generate SCI high level interrupt which vector offset is 11u which is Receive Interrupt.
According to the TRM.
SCI Set Interrupt Register (SCISETINT) -- 17 SET RX DMA
Set receiver DMA. To enable receiver DMA requests, this bit must be set. If it is cleared, interrupt requests are generated depending on bit SCISETINT.
0 Read: The DMA request is disabled.
Write: Writing a 0 to this bit has no effect.
1 Read and write: The DMA request is enabled for address and data frames
The receive interrupt will only triggered while DMA is cleared.
Would someone tell me what is wrong here?
Cause I enabled DMA for saving CPU resources. the unwanted interrupt will do something unexpected. It will lead to problem.
Another problem is,
I've setup DMA control packet correctly. While after HW Channel Enabled. The DMA worked
BUT the 1st byte was always missing. Anyone encounter that, please share some experience.
Thanks!

