ADC with SO

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ADC with SO

1,087 次查看
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,058 次查看
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,055 次查看
Nadia
Contributor III

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

0 项奖励
回复