Trigger for the DAC module

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Trigger for the DAC module

ソリューションへジャンプ
1,378件の閲覧回数
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

タグ(1)
0 件の賞賛
返信
1 解決策
1,090件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
1,091件の閲覧回数
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 件の賞賛
返信
1,090件の閲覧回数
nadine
Contributor III

HI David,

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

Regards

Nadine

0 件の賞賛
返信