KL03 DAC output pin for signal generation

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

KL03 DAC output pin for signal generation

ソリューションへジャンプ
1,588件の閲覧回数
raff5184
Contributor II

Hi,

I have a very basic question. I want to generate a signal with the FRDM-KL03 board and give this generated analog waveform say to some external circuit.

I am using KDS software and following the ADC uTasker guide (page 12).

Now, the Kinetis SDK Application User Guide says that: "Normally, the DAC0_OUT is internally connected to the ADC0_SE23 (DAC0_OUT is a source of ADC0_SE23),".

So, is the output of the DAC going in input to the ADC? 

And if I want to "see" the generated signal, to which jumper on the FRDM-KL03 board should I connect? From the KL03 Sub-family manual (table page 99) it seems to be the J4-PTA9? But I am not sure. I mean I tried but I could not see the waveform

Thank you

1 解決策
1,443件の閲覧回数
mjbcswitzerland
Specialist V

Hi
 
The KL03 has a 6 bit DAC in its comparator module and its output is not available on an external pin:

pastedImage_1.png

There is no 12 bit DAC as many other parts have which can be used for such functions.

However, what you can do is use a PWM output with an RC filter to generate an analogue output signal or waveform.


Regards

 

Mark

 


uTasker developer and supporter (+5'000 hours experience on +60 Kinetis derivatives in +80 product developments)
Kinetis: http://www.utasker.com/kinetis.html

元の投稿で解決策を見る

3 返答(返信)
1,443件の閲覧回数
raff5184
Contributor II

Thank you Mark,

also would it be possible to do something like that with the GPIO? 
Basically I only need to generate a periodic square wave at very low frequencies, not even a sinusoid.

Thank you

0 件の賞賛
返信
1,443件の閲覧回数
mjbcswitzerland
Specialist V

Hi

You can generate square wave outputs (or PWM) with the TPM.
If you prefer to do it with timer interrupts toggling an GPIO output you can do it from the SYSTICK, TPM, PIT etc.

Regards

Mark

 


uTasker developer and supporter (+5'000 hours experience on +60 Kinetis derivatives in +80 product developments)
Kinetis: http://www.utasker.com/kinetis.html

0 件の賞賛
返信
1,444件の閲覧回数
mjbcswitzerland
Specialist V

Hi
 
The KL03 has a 6 bit DAC in its comparator module and its output is not available on an external pin:

pastedImage_1.png

There is no 12 bit DAC as many other parts have which can be used for such functions.

However, what you can do is use a PWM output with an RC filter to generate an analogue output signal or waveform.


Regards

 

Mark

 


uTasker developer and supporter (+5'000 hours experience on +60 Kinetis derivatives in +80 product developments)
Kinetis: http://www.utasker.com/kinetis.html