cancel
Showing results for 
Search instead for 
Did you mean: 

External 24bit DAC interface with nucleo board

akash07
Associate

I need to generate the millivolts of range between (-10mv to 100mv) with three decimal point accuracy using 24-bit external DAC interfaced with NUCLEO-L496ZG board. Is it possible to generate the range?
I need HeadsUp & suggestion to achieve the mentioned,
Note: yet to purchase DAC

6 REPLIES 6
SofLit
ST Employee

Hello,


@akash07 wrote:

I need to generate the millivolts of range between (-10mv to 100mv) with three decimal point accuracy using 24-bit external DAC interfaced with NUCLEO-L496ZG board. Is it possible to generate the range?


That depends on the DAC you will purchase not on the STM32. The Connection between STM32 and the external DAC will be digital (SPI, I2C etc ..). So you need to find a DAC on the market, based on its datasheet, fitting your needs.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

@SofLit wrote:

 

That depends on the DAC you will purchase not on the STM32. 


Absolutely.

@akash07 and the accuracy achievable will depend greatly on your analogue input conditioning - there's no point using a precision 24-bit ADC when your analogue front-end is noisy and inaccurate.

Precision analogue design at that level is a specialist skill ...

 

EDIT:

Sorry, I mis-read "DAC" for "ADC" - but similar applies.

I am giving input for DAC through code (HAL functions) by setting a particular digital count value for the desired millivolts output. In that case what precautions should I take to achieve the same.

 


@akash07 wrote:

I am giving input for DAC through code (HAL functions) 

 


Which DAC? and how? Which interface?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

@akash07 wrote:

I am giving input for DAC through code (HAL functions) by setting a particular digital count value for the desired millivolts output. In that case what precautions should I take to achieve the same.


Again, that will depend on the DAC - nothing really to do with the STM32.

 

The DAC neither knows nor cares what microcontroller you use - all it sees are the signals on its digital interface (SPI, I2C etc ..).

The requirements for those signals will be specified in the DAC datasheet - so you just have to implement whatever that tells you.


@Andrew Neil wrote:

@akash07 wrote:

I am giving input for DAC through code (HAL functions) by setting a particular digital count value for the desired millivolts output. In that case what precautions should I take to achieve the same.


Again, that will depend on the DAC - nothing really to do with the STM32.


Indeed.

@akash07 

And after selecting a DAC from a silicon provider, you need to read its datasheet and its specification, look if there are application notes related to that DAC giving HW guidelines. Look if there is a forum related to this DAC/Silicon provider and ask your question there. 

 

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.