cancel
Showing results for 
Search instead for 
Did you mean: 

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 .

BT.1
Associate II
 
2 REPLIES 2

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 Venmo
Up vote any posts that you find helpful, it shows what's working..
BT.1
Associate II

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