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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,320 次查看
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 项奖励
回复
2 回复数

1,141 次查看
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 项奖励
回复

1,141 次查看
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 项奖励
回复