Hi,
I tried the LWADC project under MAC57D(Halo) BSP, based on MQX4.2 which is released on website.
It could be compiled and downloaded. After run, the code is stalled at
' while ((adc_ptr->MSR & ADC_MSR_ADCSTATUS_MASK) != ADC_MSR_ADCSTATUS_IDLE) {};'
in 'static void _lwadc_restart(ADC_CONTEXT_PTR context_ptr)' function.
I checked the MSR and it's 0x5 which is out of specification.
Can you check which should be modified in the BSP to run it correctly?
Thanks
Oliver
Hi Carlos and Oliver,
Have you guys solved the problem? I had same experience with the M4 but the A5 works well. A5 core reads the potentiometer on the eval board well and other Potentiometer attached to other channels.
But the M4 cannot go idle and satisfy the conditon above so it stays on loop regardless on which ADC channels it reads.
Best regards
Kevin
Hi Oliver,
are you running the example with A5 or M4?
Carlos
Hi, Carlos
It's on M4.
Oliver