Other Parts Discussed in Thread: HALCOGEN
Hello,
I've configured in HalCoGen 3.0 the module DCC1 such that:
Clock Source 0 is HF_LPO 10 MHz
Clock Source 1 is PLL1 160 MHz
Count 0 is 49005
Count 1: 792000
Valid 990
Additionally is enabled DCC, Enable Done Interrupt, Enable Error Interrupt and Enable Single Shot Mode. I also set the VIM channel 82 and 83, generated code, etc.
This configuration generates Done Interrupt as expected. In the next step I modified in code the value of Count 0 to 495, which should generate the Error Interrupt. In fact, I can observe that 0-bit of the DCC status register is 1 and the rest is zero, but no interrupt arrived.
Has anybody an idea why the error interrupt was not triggered?
Thank you
Vaclav