Cpu_Interrupt while using Processor expert 52221DEMO

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

Cpu_Interrupt while using Processor expert 52221DEMO

ソリューションへジャンプ
1,881件の閲覧回数
AnteOO
Contributor II

Hi guys!

 

I'm having a problem which confuses me. I'm using CW 7.2 with a 52221DEMO, and when using Processor expert to enable interrupts from my UART0, and I try to send something, I get a Cpu_Interrupt. I wonder if it's just that Processor expert forgets to update the Exception Vector Table? Is there a quick fix for this? 

 

Bests,

Andreas

ラベル(1)
0 件の賞賛
1 解決策
676件の閲覧回数
ProcessorExpert
Senior Contributor III

Hello,

 

as i wrote in my previous post - you must ensure that all beans within your porject have unige level and priority within this level. To avoid receiving unhandled interrupt I just swicthed "Interrupt priority" property in TimerInt bean to another value than "level 3, priority witin level0" (that is already set in Asynchroserial bean). I have also corrected your project.

 

For more details please see chapter "13.3.6 Interrupt Control Registers (ICRnx)" in reference manual of M52221 MCU.

 

best regards
Vojtech Filip
Processor Expert Support Team

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
676件の閲覧回数
ProcessorExpert
Senior Contributor III

Hello,

 

could you please check that all beans within your project have unigue level and priority wihtin this level? I am guessing it could be the reason of your problem.

 

best regards
Vojtech Filip
Processor Expert Support Team

0 件の賞賛
676件の閲覧回数
AnteOO
Contributor II

Thanks for reply!

 

Regretfully, it didn't solve my problem...i still get a Cpu_Interrupt every time a character has been sent...Tried to check why it comes to that, but cannot find anyting. Attatching my project if anyone wants to take a look

 

Thanks

Andreas

0 件の賞賛
677件の閲覧回数
ProcessorExpert
Senior Contributor III

Hello,

 

as i wrote in my previous post - you must ensure that all beans within your porject have unige level and priority within this level. To avoid receiving unhandled interrupt I just swicthed "Interrupt priority" property in TimerInt bean to another value than "level 3, priority witin level0" (that is already set in Asynchroserial bean). I have also corrected your project.

 

For more details please see chapter "13.3.6 Interrupt Control Registers (ICRnx)" in reference manual of M52221 MCU.

 

best regards
Vojtech Filip
Processor Expert Support Team

0 件の賞賛