Hi,
I have a use case to trigger the ADC via the BCTU @ 25us. Which of the following would be a better option?
Which of the above would be a suitable option? I would prefer to use the eMIOS option. But if it is not possible could you explain why? If yes, what would be the formula to add the 'Default Period' in the Emios_Mcl_Ip driver?
已解决! 转到解答。
First of all, both methods are feasible
1.PIT triggers ADC sampling routine through TRGMUX
2. There is no formula, but you can refer to this routine to set the trigger time
First of all, both methods are feasible
1.PIT triggers ADC sampling routine through TRGMUX
2. There is no formula, but you can refer to this routine to set the trigger time
HI @Senlent,
Thanks for your input. From the image you have pasted below the green signal eMIOS_CH0_CNT starts from 0 until a particular value and then resets to 0 (MCB_UP_COUNTER).
According to the image, the period is set to 50usec, corresponding to the 8000 ticks. If the eMIOS clock frequency is 160Mhz, that fulfils the math there. 8000/160Mhz = 50usec
From the above image, the default period range can go from 0 to 65535. By using the above math, can the eMIOS Mcl period only go from 0 to 410usec?
Is my understanding correct?
Hi@Samuel_DCosta
"From the above image, the default period range can go from 0 to 65535. By using the above math, can the eMIOS Mcl period only go from 0 to 410usec?"
For a 160MHZ clock source, your calculations are correct.
But this doesn't make much sense, because the clock can be divided,So 410us is not the slowest trigger sampling time