DAC OUTPUT
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-09-09 12:06 AM
Hi again
I'm using STMG071 with 2*DAC. I need them as negative inputs to COMPx.
in order to use PA4/PA5 for other purposes – I set DAC1->MCR =0x00030003;
so DAC will not be output to the pin (PA4/PA5).
Yet – as soon as DACs are enabled (DAC1->CR 0x00010001) – the PA5 goes to Z state
and not the desired output I programed via GPIOA (MODER/BSRR) regs
(I’ve set MODER= simple output)
(if I set DAC1->MCR=0x0; then DAC output is on the pin PA5)
Can anyone tell me- what I’m doing wrong?
Yona
Labels:
- Labels:
-
DAC
-
STM32G0 Series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-09-09 12:56 AM
news:
allthough I cant make PA5/PA4 output: they work fine as digital input && ADC input
