2024-10-03 10:32 PM
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
Solved! Go to Solution.
2024-10-04 01:10 AM - edited 2024-10-04 01:11 AM
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.
2024-10-04 01:10 AM - edited 2024-10-04 01:11 AM
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.
2024-10-04 02:13 AM - edited 2024-10-04 02:43 AM
@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.
2024-10-04 02:23 AM
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.
2024-10-04 02:25 AM - edited 2024-10-04 02:26 AM
@akash07 wrote:
I am giving input for DAC through code (HAL functions)
Which DAC? and how? Which interface?
2024-10-04 02:41 AM - edited 2024-10-04 02:46 AM
@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.
2024-10-04 02:49 AM
@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.
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.