- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
I have a use case to trigger the ADC via the BCTU @ 25us. Which of the following would be a better option?
- eMIOS to BCTU to ADC
- PIT to BCTU to ADC (using TRGMUX)
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?
解決済! 解決策の投稿を見る。

- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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

- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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?

- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi @Senlent ,
Fair enough! That was a miss on my end. I can change the Clock divider value and get a higher period.
