cancel
Showing results for 
Search instead for 
Did you mean: 

I want to know if "HAL_SDADC_Start(&hsdadc1); " and "HAL_DAC_Start(&hdac1, DAC_CHANNEL_2);" at the same time?

NYun
Associate

I want to use 12 bit DAC and 16 bit ADC at the same time. I mean that I want to force some level for two channel with 12 bit DAC and measure level with 16 bit ADC. But there are error when I use both. If I use 12 bit ADC with 12 bit dac. it is no problem. So I think 16 bit sigma delta adc is using 12 bit dac internally. I'm using STM32F373cbt. When I use 16bit adc alone, there is no problem.

Regards, nsyun!

1 REPLY 1
S.Ma
Principal

Well, if both periperals are supposed to be independent in the reference manual and nothing particular in the errata sheet, something else causes the error. Sigma delta adc are based on 1 bit analog comparators and time switching. Successivr approximation adc sometime use dac internally.