This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: MCU_TIMER - Capture Mode

Part Number: TDA4VM

Hello,

 

We want to use MCU_TIMER in Timer Capture Mode. We are receiving pulse on pin G27, which will be used for time stamping, on rising edge. This pin can be muxed as a MCU_TIMER_IO6.

So, we want to configure any of this 10 timers to be driven by MCU_TIMER_IO6. In order to do this, we need to set CTRLMMR_MCU_TIMERn_CTRL register to 0x06. But, problem that we have is that we are not able to set any value to this register – writing to this register is successful but after read back it always return 0. Timer is configured for capture and overflow interrupts – overflow interrupts happens normally – but capture interrupt doesn’t. This is expected, considering we are not able to set CTRLMMR_MCU_TIMERn_CTRL register.

Do you have any idea why we can’t do that?

NOTE: We are running our code on ARM72 (QNX).

 

Best Regards,

Stefan.