Trigger for the DAC module

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

Trigger for the DAC module

Jump to solution
1,376 Views
nadine
Contributor III

Hi,

I'm working with a FRDM-K64K board, KDS 3.0.0 and K SDK 1.3.0.

It's my first program on this environment, so the question could be

obvious for expert guys.

I plan to use the DAC in FIFO mode, but I don't want the CPU to manage the

emptying of the FIFO. The solution I have found:

- set up the triggerMode of the DAC to kDacTriggerByHardware

- use the PDB driver.

I'm looking for code example using the functions PDB_DRV_ConfigDacInterval() and

PDB_DRV_SetDacIntervalValue() functions because i not sure to understand correctly

the usage of these functions.

Thanks for your help,

Regards

Nadine

Tags (1)
0 Kudos
Reply
1 Solution
1,088 Views
DavidS
NXP Employee
NXP Employee

Hi Nadine,

Their is a KSDK_v2 release that supports the frdm-k64f and has an example of using PDB with DAC.

KSDK_v2 information:  Introducing Kinetis SDK v2

Once configured and downloaded and un-zipped, then look in following for the example.

C:\NXP\KSDK_v2\SDK_2.0_FRDM-K64F_KDS\boards\frdmk64f\driver_examples\pdb\dac_trigger

Note your initial path might be different.

Regards,

David

View solution in original post

0 Kudos
Reply
2 Replies
1,089 Views
DavidS
NXP Employee
NXP Employee

Hi Nadine,

Their is a KSDK_v2 release that supports the frdm-k64f and has an example of using PDB with DAC.

KSDK_v2 information:  Introducing Kinetis SDK v2

Once configured and downloaded and un-zipped, then look in following for the example.

C:\NXP\KSDK_v2\SDK_2.0_FRDM-K64F_KDS\boards\frdmk64f\driver_examples\pdb\dac_trigger

Note your initial path might be different.

Regards,

David

0 Kudos
Reply
1,088 Views
nadine
Contributor III

HI David,

Thanks for your answer. That is exactly what I was looking for.

Regards

Nadine

0 Kudos
Reply