ADC with SO

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

ADC with SO

1,085件の閲覧回数
Nadia
Contributor III

Hello to all,
I am trying to make a program that reads certain analogue inputs and converts them to digital, what happens is that the system enters the task and gets stuck, I am trying to make the ADC interrupt task the one that notifies the task that it has to start working, but I can't see the bug.

I am attaching the code in case someone else has had this happen and sees my mistake.
Thank you very much.
Best regards.

 

0 件の賞賛
返信
2 返答(返信)

1,056件の閲覧回数
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @Nadia,

In the file that you attached, in ADCInit function doesn't configure the module. Do you configure this in any other section of your project? Did you check the IRQ handler to check if at any moment is triggering the interruption?

Also, could you let me know which MCU is using?

Best Regards,

Alexis Andalon

0 件の賞賛
返信

1,053件の閲覧回数
Nadia
Contributor III

@Alexis_A Thank you very much, I solved the problem, if I initialise the functions in other modules.

0 件の賞賛
返信