Cannot control the pins.
When flashing the program, CubeIDE shows "Successful", but functions are not realized. We have checked the connection between PC, STM32, DAC(AD5791) and power supply is correct, but the LDAC pin of DAC keeps showing "high" and the pin on STM32, D1, which is defined as output to send messages to DAC keeps showing low when we measure the voltage. Then we simlify the code to achieve some easy functions like lighting one of the LEDs, but still failed. Since the model of all the functions are generated by CubeIDE itself, we think there is nothing wrong with the contens and logics of code. Maybe something wrong with the settings of IDE or hardwares?
