Browse
STMicroelectronics Community
FAQs
Sign In
Product forums
STM32 MCUs
STM32 MCUs Products
STM32 MCUs Boards and hardware tools
STM32 MCUs Software development tools
STM32 MCUs Embedded software
STM32 MCUs TouchGFX and GUI
STM32 MCUs Motor control
STM32 MCUs Security
STM32 MCUs Wireless
STM32 MPUs
STM32 MPUs Products
STM32 MPUs Boards and hardware tools
STM32 MPUs Embedded software and solutions
STM32 MPUs Software development tools
MEMS and sensors
MEMS (sensors)
Imaging (sensors)
Automotive and Transportation
Automotive MCUs
AutoDevKit Ecosystem
GNSS positioning
Edge AI
Interface and connectivity ICs
Power management
ST25 NFC/RFID tags and readers
STM8 MCUs
Others: hardware and software
Analog and audio
Knowledge base
STM32 MCUs
STM32 MPUs
MEMS and sensors
Analog and audio
EMI filtering and signal conditioning
Interface and connectivity ICs
Power management
Quality & reliability
Academy
About
Community guidelines
Feedback forum
Community blog
Developer news
AMatu
Associate
since
2018-11-17
2023-06-14
User statistics
2
Posts
0
Solutions
0
Kudos given
1
Kudos received
STMicroelectronics Community
About AMatu
Options
Report User
User Activity
Posts
Replies
SW TRIGGER wrong logic check in HAL_DAC_START - STM32L4 HAL
2023-01-06
/* Check if software trigger enabled */ if ((hdac->Instance->CR & (DAC_CR_TEN1 | DAC_CR_TSEL1)) == DAC_CR_TEN1)I think the if check is wrong - we should check if TEN and TSEL are set, but now we check for TSEL=111 and TEN=0
Re: SW TRIGGER wrong logic check in HAL_DAC_START - STM32L4 HAL
2023-01-13
Yup. Apparently noone ever used HAL for SW trigger (it makes sense when you want to use TRIANGLE or NOISE generation without HW trigger).
Kudos from
User
Count
Legacy member
1
View all