Hi,
Duart not working in interrupt mode, polling is working fine(MPC8358MDS). but when come to interrupt, IPIC is enable the interrupt and it is pending, my handler in not executing.
Kindly inform setting required for the interrupt to work. or any example code regarding interrupt will be help full.
Hi,
As an example you can use serial_example project, available in CW classic (PowerPC_EABI_Tools\CodeWarriorTRK\Transport\processor\ppc\serial\8xx_ads_serial\), for 8xx_fads. Also,you can try NetComm Software.
Adrian
The CPM serial on the 8xx chips is not related to the DUART on mpc83xx chips. In any case, it sounds like the problem is with interrupt handling rather than the serial driver. Could you go into more detail about the IPIC register state and what happens to the flow of execution? Is MSR[EE] set?
For an example, look at Linux.