MCXN947VDF DAC Data register Won't Change

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

MCXN947VDF DAC Data register Won't Change

Jump to solution
2,628 Views
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?

 

Labels (1)
0 Kudos
Reply
1 Solution
2,589 Views
AllisonM
Contributor II

We know what is wrong now, hardware issue

View solution in original post

0 Kudos
Reply
3 Replies
2,611 Views
_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 Kudos
Reply
2,601 Views
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 Kudos
Reply
2,590 Views
AllisonM
Contributor II

We know what is wrong now, hardware issue

0 Kudos
Reply