Duart not working in interrupt mode, polling is working fine.(MPC8358MDS)

cancel
Showing results for 
Search instead for 
Did you mean: 

Duart not working in interrupt mode, polling is working fine.(MPC8358MDS)

329 Views
jayanthkumarmj
Contributor I

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.

0 Kudos
2 Replies

150 Views
addiyi
NXP Employee
NXP Employee

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

0 Kudos

150 Views
scottwood
NXP Employee
NXP Employee

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.

0 Kudos