Hello guys
i have a Problem getting the ADC to work on a MKW01Z.
My previous processor was the MKL15Z, and it was working great there.
I'm using KDS 3 with Processor expert, but without KSDK.
The idea is to read the analog Inputs while processor is sleeping.
So, i have a ADC_LDD with DMA enabled.
The Trigger Input is TPM1_Overflow. So it pulses every ms, and i get exactly 1000 samples in a second.
On the MKL15Z its working great.
But on the MKW01Z i cannot use a timer-Trigger (it doesnt matter if dma is enabled or disabled).
In the Trigger type source, if i select TPM0_Overflow it shows me that its unsoported (see attached picture).
The same for all the other timer-Triggers. Only the cmp0_output seems to work.
Does anybody know why i cant use a timer-Trigger on my MKW01Z, and some workaround?
Best regards
Dorian
Solved! Go to Solution.
Hello Dorian,
It seems to be an issue on ADC_LDD component. When you add KSDK support and use the fsl_adc16 component, you are able to select the TPM as input trigger source.
I will report this bug on Proccessor Expert Team and let you know when this gets solved.
Sorry for all the inconvenience it might cause,
Best Regards,
Isaac
Hello Dorian,
It seems to be an issue on ADC_LDD component. When you add KSDK support and use the fsl_adc16 component, you are able to select the TPM as input trigger source.
I will report this bug on Proccessor Expert Team and let you know when this gets solved.
Sorry for all the inconvenience it might cause,
Best Regards,
Isaac
Hello Isaac,
thank you very much for your answer and the Support.
I helped myself by setting the Trigger->Trigger Signal 0 to "disabled" and then setting SIM_SOPT7 manualy to 0x88 (for TPM0 Overflow).
Works like a charm.
Best regards
Dorian