Hello,
I'm using DSC 56F8346 for single phase motor control.
Development tool - "CodeWarrior Development Studio for Freescale DSC56800/E Digital Signal Controllers, version 8.2.3".
Problem:
PWM -Timer C2 - ADC sync is done using Processor expert.
After doing above configuration using processor expert, I have added Timer C0 as TMRC0_Compare to use it as 1ms timer. But In CPU bean, it shows conflict for "TMR C peripheral clock". It gives error that there is "conflict in required value from beans in the project"
Why this error comes when the timer C0 and C1 added to use as presiodic timer.
This is due to the timer C2 used in sync.
The purpose of using time C0 and C1 is to sync with timerr C2...e.g. PWM reload event, timer C0 interrupt and Timer C1 interrupt can be synchronised to get in sequence.
Main problem is...after adding timer C2 for PWM - ADC sync, Timer C0 and C1 are conflicting in required value from beans in the project for TMR C peripheral clcok. Why?
I'm sorry, your description is not very clear. However, please look at the Processor Expert example using the menu File > New..., then select Processor Expert Examples Stationery / Demo Applications / HW beans / 56F83xx / ADCsync.
best regards
Vojtech Filip
Processor Expert Support Team
Thanks for your prompt resopnse.
/ Demo Applications / HW beans / 56F83xx / ADCsync
In above example, If I want to add bean "TimerInt" with periodic interrupt source "TMCR1_Compare", it shows conflict in CPU:56F8346 bean in "Internal Peripherals"
It says : "Conflict in required value from beans in the project"
I want 1ms timer C0 and C1 synchronized with TMRC2 used for ADCsync
Thanks!
Mansukh
We are sorry, but this was a bug in the Processor Expert. This problem has been fixed in Processor Expert V3.0 available within CodeWarrior 8.3.
We recommend to install 8.3 as it updates also several other issues, however, if you are using Processor Expetr 2.99 (CW8.2.3) and don't want to update, the problem can be fixed by installing Patch 01 for Processor Expert 2.99. This patch can be downloaded from www.processorexpert.com at downloads section.
best regards