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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

680件の閲覧回数
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 返答(返信)

501件の閲覧回数
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 件の賞賛

501件の閲覧回数
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 件の賞賛