A sinusoidal signal generator

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

A sinusoidal signal generator

826 Views
zakbc
Contributor I

Hi,

I have a FRDM-K64F board, and working with KDS 3.0.0 and KSDK 1.3.0.

I'm looking for a solution - sine wave frequency 4-6 MHz and amplitude 450mV.

Is implementation examples or how to implement?

Thank you in advance.

Ivan

0 Kudos
1 Reply

329 Views
marek_neuzil
NXP Employee
NXP Employee

Hello Ivan,

The MK64FN1M0VLL12, that is available on the FRDM-K64F board, contains two DAC devices. But these modules are not able to produce 4-6MHz sine wave amplitude (see the DAC specification in the MK64FN1M0VLL12 datasheet).

You can use PWM (FTM device in the PWM mode) to produce 4-6 MHz square wave output that can be filtered by an LC (or RC) filter for generating sine wave output. In this case, you can use fsl_ftm or Init_FTM component and use one of the FTM channels in PWM mode (edge aligned mode) for generating of the signal.

Best Regards,

Marek Neuzil

0 Kudos