ADC with SO

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ADC with SO

400 Views
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 Kudos
2 Replies

371 Views
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 Kudos

368 Views
Nadia
Contributor III

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

0 Kudos