cancel
Showing results for 
Search instead for 
Did you mean: 

On DAC output range of STM32F103xC/D/E

wushaobo
Associate
Posted on March 13, 2009 at 12:16

On DAC output range of STM32F103xC/D/E

2 REPLIES 2
wushaobo
Associate
Posted on May 17, 2011 at 13:06

I am trying to use the DAC funciton of stm32F103xC/D/E.

But I don't know the output range of DAC of stm32F103xC/D/E.

Is it 0.2~ VREF+ -0.2V(Ref[1] Page99 in adobe arobat reader),

or 0~VREF+ (Ref[2] Page184 in adobe arobat reader)?

Could anyone help me? Thank you in advance.

[1] STM32F103xC STM32F103xD STM32F103xE.

High-density performance line ARM-based 32-bit MCU with 256 to

512KB Flash, USB, CAN, 11 timers, 3 ADCs, 13 communication interfaces

[2]:RM0008

Reference manual

Low-, medium- and high-density STM32F101xx, STM32F102xx

and STM32F103xx advanced ARM-based 32-bit MCUs

relaxe
Associate II
Posted on May 17, 2011 at 13:06

RM0008 - P182 (not 184) states 0/4096*VRef

STM32F103x - P99 states that DAC with buffer ON is 0.2 to Vref-0.2

I can not experiment this right now, but I suspect the output buffer on the DAC is not completly ''rail to rail'', by a 0.2V offset both sides.

Try this:

Output DAC 0, then 1/2 (2048/4096), then max (4096).

Try this with the output buffer on, then buffer off (FWLib Ref, P446).

You will easily see how this turns out.

From my observations factored with my memory (no reliable), with buffer off the output spans from 0 to VREF.

Please, try it, and report back here! :p

-Relaxe

PS: I =really= apreciate people stating where to look when they ask for help. It makes helping them a lot easier :p