Hardware trigger with ADC2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Hardware trigger with ADC2

2,494件の閲覧回数
kurt_staubli
Contributor III

As others I struggle with hardware trigger of ADCs.

My base was NXP's example adc_etc_hardware_trigger_conv. It works as expected. 

Next I tried to do the same but use ADC2 instead of ADC1. I  didn't get any interrupts. I used trigger 4 instead of trigger 0 and I added an interrupt handler for ADC_ETC_ERROR. I received periodically ADC_ETC_ERROR but no  ADC_ETC_IRQ0/1 as expected.

ラベル(1)
0 件の賞賛
返信
5 返答(返信)

2,325件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Kurt Staubli,

Thank you for your interest in NXP Semiconductor products and
the opportunity to serve you.
To provide the fastest possible support, I'd like to suggest you refer to the post which is a similar question on our NXP community.

i.MXRT1060 ADC external trigger (ADC_ETC) for ADC 2 

TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信

2,325件の閲覧回数
kurt_staubli
Contributor III

Hi jeremyzhou Mitarbeiter

Thank you for your answer.

i.MXRT1060 ADC external trigger (ADC_ETC) for ADC 2

did not help me, since its solution (use XBAR1, instead of XBAR0) was already implemented in the original example adc_etc_hardware_trigger_conv and I did not change it.

Kurt

0 件の賞賛
返信

2,325件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Kurt Staubli,

Thanks for your reply.
I was wondering if you can share a compile-able demo that can replicate the issue, as I'd like to do some testing by myself.

TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信

2,325件の閲覧回数
kurt_staubli
Contributor III

Hi jeremyzhou Mitarbeiter

I have solved the problem.

The orignial example is adc_etc_hardware_trigger_conv. I have just the changed files in the attachment. As hardware I am using EmbeddedArtist's RT1060 Evaluation board. The difference to NXP's evaluation board is that EA's board has much more IOs for the user.

Kurt

2,028件の閲覧回数
ohmjke
Contributor II

Thank you @kurt_staubli 

It helped me with the same problem on RT1024.

Solution - change the default value of enableTSCBypass from "true" to "false";

0 件の賞賛
返信