Board-information:STM8S -- DAC7718
Debug environment :IAR embedded Workbench IDE with ST-LINK
Soft Logic : Dac-0 is set to 0x000, 0x400, 0x800, 0xc00, 0xfff at every 100 milliseconds
Expect Output Voltage :-15V,-7.5V,0V,7.5V,15V (refer to screenshot—1)
Unexpect Output Voltage : (refer to screenshot—2)
When power up use the same exe-bin, Both of these situations are probabilistic. Basically eliminate software problems, Initial suspicion is due to hardware factors such as power supply.
Expected
Unexpeted