KW01 ADC Trigger Problem

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

KW01 ADC Trigger Problem

ソリューションへジャンプ
2,366件の閲覧回数
dorianhildebran
Contributor I

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

ラベル(1)
0 件の賞賛
返信
1 解決策
2,074件の閲覧回数
isaacavila
NXP Employee
NXP Employee

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

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,075件の閲覧回数
isaacavila
NXP Employee
NXP Employee

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

0 件の賞賛
返信
2,074件の閲覧回数
dorianhildebran
Contributor I

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

0 件の賞賛
返信