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
Solved! Go to Solution.
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
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
HI David,
Thanks for your answer. That is exactly what I was looking for.
Regards
Nadine