Skip to main content
BT.1
Associate II
December 19, 2019
Question

I need to enable DAC in B-072 LRWAN1 in End Node example. I've included the HAL drivers and initalised the DAC . But I can't get the DAC Output on PA4 .

  • December 19, 2019
  • 2 replies
  • 1050 views

..

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
December 19, 2019

See if you can drive it high/low as a GPIO

Seem to recall it potentially conflicting as a pin on the SX1276, or configured as an ADC elsewhere.

https://community.st.com/s/feed/0D50X00009bLS7uSAG

You'd probably want to use a debugger, and decompose the RCC, GPIO and DAC settings to confirm the mode the pin is in

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
BT.1
BT.1Author
Associate II
December 19, 2019

Thanks... I figured out I hadn't included the dac_ex.c file.. It works now