cancel
Showing results for 
Search instead for 
Did you mean: 

Working of DAC in STM32F103RB

Muzahir Hussain
Associate III
Posted on May 08, 2018 at 19:46

Firstly, what is the purpose of DHR (Data Holding Register) and DOR (Data Output Register)?

Secondly, where does the data go after DOR register?

Thanks!!!

#dac #stm32f103rb #analog
1 ACCEPTED SOLUTION

Accepted Solutions
Igor Cesko
ST Employee
Posted on May 10, 2018 at 14:35

DOR is the register which directly controls the analog output. The digital value in the DOR represents directly the analog output from DAC. Data are transferred to DOR from DHR at the trigger event.

Bits in DOR directly control analog switches in the R-2R analog network which produces analog output voltage.

Regards

                                 Igor0690X0000060B7HQAU.png

View solution in original post

1 REPLY 1
Igor Cesko
ST Employee
Posted on May 10, 2018 at 14:35

DOR is the register which directly controls the analog output. The digital value in the DOR represents directly the analog output from DAC. Data are transferred to DOR from DHR at the trigger event.

Bits in DOR directly control analog switches in the R-2R analog network which produces analog output voltage.

Regards

                                 Igor0690X0000060B7HQAU.png