MCXN947VDF DAC Data register Won't Change

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MCXN947VDF DAC Data register Won't Change

跳至解决方案
2,420 次查看
AllisonM
Contributor II

Hi,  I am using an MCXN947VDF DAC0 with the fsl drivers.  The DAC data register does not update when I use the 

DAC_SetData(DAC0_PERIPHERAL, DACValue);

command, or when I edit the value directly in the Peripherals debug box. 

The DAC is initialised, using the config tool, see code attached below.  I have tried it in buffer mode and FIFO mode, and many other modes.  I can set values in the GCR register and see them change when I update the code

Does anybody have any ideas?

 

标签 (1)
0 项奖励
回复
1 解答
2,381 次查看
AllisonM
Contributor II

We know what is wrong now, hardware issue

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,403 次查看
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

The FRDM-MCXN947 has different DAC SDK examples that you can take as reference:

_Leo__0-1710369945190.png

Hope it helps you.

Have a nice day!

0 项奖励
回复
2,393 次查看
AllisonM
Contributor II

Hi,

I tried that, got the same result (we had already tried it, but we did it again from scratch).  See screenshot below (clearly shows the register and the fact that it is the demo program).  We think the processor is running, and we have tried a couple of boards.  

Do you have any other ideas?

We have SWK 2.14.0 installed, I guess the demo came from there.  And IDE 11.8.0.

Allison

0 项奖励
回复
2,382 次查看
AllisonM
Contributor II

We know what is wrong now, hardware issue

0 项奖励
回复