DAC on STM8L151Gx or STM8L151Kx - no output buffer available?
Hi :)
I am using an STM8L151G6U6, and found out I missed something in the datasheet.
Datasheet is DS6372: https://www.st.com/resource/en/datasheet/stm8l151g6.pdf
It seems that for the the 28-pin or 32-pin packages ("Gx" or "Kx" model number) it is not possible to use the DAC output buffer?
Section 9.3.13 12-bit DAC characteristics of the datasheet (pages 105 & 106) shows the following:
A few questions:
- I guess I am never allowed to switch the BOFF bit in the DAC_CHxCR1? The RM only mentions it in Table 49 (page 228)
- What does "no load" mean? I somehow do need to send the DAC output somewhere and that will have a load.
- Can I for example drive a 5k load anyways, and just take into account the output impedance which will reduce the signal amplitude?
- And regarding the output impedance, should I then add the values from Table 51 (internal resistance between DAC output and PB4/5/6 pins) to the DAC output impedance of 8-10k?
Thank you!
Simon
PS: very tricky that the datasheet mentions "buffered DAC" everywhere, even though you can only use the output buffer on a third of the devices. But I guess that is on me for going too fast on the DAC section :D
