KL03 DAC output pin for signal generation

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

KL03 DAC output pin for signal generation

Jump to solution
765 Views
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 Solution
620 Views
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

View solution in original post

3 Replies
620 Views
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 Kudos
620 Views
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 Kudos
621 Views
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