How to initialize the DAC to start a conversion

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

How to initialize the DAC to start a conversion

Jump to solution
926 Views
axl
Contributor I

Hi,

 

we are testing the audio processing capabilities of the K70 Tower.

 

We've been trying to configure the DAC through the Processor Expert interface. We've used the Kinetis/DAC_LDD component, with the hardware buffer disabled and without DMA.

The converted value seems to be stored in the internal registers but when we try to measure the output pin its value is different from the one we expect.

 

Would you know how to start the conversion and retrieve the converted value?

 

Please share your thoughts about this.

 

Thanks.

Labels (1)
0 Kudos
1 Solution
466 Views
DavidS
NXP Employee
NXP Employee

Hi Axel,

I'm guessing you need to select the clock source in the DAC_LDD component to be external.

Attached is my example project for TWR-K70F120M using KDS_3.0+KSDK_1.3+K70+PE+DAC_LDD using o-scope on J16-pin 1 (make sure jumper is removed).

Regards,

David

View solution in original post

0 Kudos
1 Reply
467 Views
DavidS
NXP Employee
NXP Employee

Hi Axel,

I'm guessing you need to select the clock source in the DAC_LDD component to be external.

Attached is my example project for TWR-K70F120M using KDS_3.0+KSDK_1.3+K70+PE+DAC_LDD using o-scope on J16-pin 1 (make sure jumper is removed).

Regards,

David

0 Kudos