This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I'm trying to bringup DAC53202 with nRF52840 any reference for that...!
Hi Vishal,
Similar to Mitch's response, all you need is to connect the communication lines from the nRF52840 to the DAC53202. We do not have a DAC53202EVM, but you can evaluate with the DAC63204EVM to get started.
You will need to configure the DAC registers based on how you want to set up the device. Please review the datasheet to get a general idea of what features you want to use, and I can help provide you with pseudocode if you get stuck configuring the settings. From there you will need to implement that pseudocode into a series of SPI or I2C writes on your controller.
Best,
Katlynne Jones
yes, I was able to communicate with DAC & INA. But there's any source for DAC driver's. As provided for INA228.
Hi Vishal,
Good to hear you are able to communicate with the DAC and INA. We do no have any source drivers for the nRF52840.
Best,
Katlynne Jones
Hi Jones,
I think I have miss phrased my question. I'm not asking source driver's for nRF.
But for DAC.
As provided for INA, mitch gave a link for sysconfig from which I can extract the INA driver's for my configuration. As such do you have something specific for DAC.
thanks,
vishal.
Hi Vishal,
No we don't. This is why I mentioned that I can help provide you with pseudocode if you get stuck configuring the settings.
Best,
Katlynne
Hi Vishal,
You would need to let me know which features you would like to use and how you want to configure the DACs and then I can share the settings in the form of pseudocode.
Best,
Katlynne Jones
hi katlynne,
Actually I was driving OUT0 of DAC using nRF52840, so that I should able to control voltage on out0 and check it.
Hi Vishal,
To use OUT0, you need to power it on in voltage output mode using the COMMON-CONFIG register:
REGISTER(0x1F), DATA(0x03FF)
If you want to enable the internal reference, write DATA(0x13FF) instead.
Configure the gain for OUT0 using the DAC-0-VOUT-CMP-CONFIG register.
The default is the external reference. For example, to use VDD as the reference, write:
REGISTER(0x15), DATA(0x0400)
Update the OUT0 output using the DAC-0-DATA register. For example, to set the output to midscale, write:
REGISTER(0x1C), DATA(0x8000)
This should be all you need to use OUT0. If there are other features you are wanting to use, please let me know and I can explain how to use them.
Best,
Katlynne Jones