darrylring opened a new pull request, #20891: URL: https://github.com/apache/nuttx/pull/20891
## Summary Copy DAC support from STM32H7 with no DMA or timer control and accounting for the minor differences between the H7 and H5. I do have DMA and timer support working, but it requires changes to the GPDMA driver itself, and I think it's worth evaluating those changes separately. Testing is still ongoing there. No other STM32 family with the GPDMA peripheral has DAC support in NuttX yet. I _think_ this will be able to support the U5, U3, and C5 as well, but I'm not able to test those. This first change is small and low risk. **NOTE: The STM32H5 errata sheet indicates that the DAC output may not work if the DAC kernel clock is not HCLK. I hit this issue in my testing, so an compile-time error has been added to save people from similar frustration.** ## Impact No impact to existing users, since this is a new feature. ## Testing A `dac` config has been added to the NUCLEO-H563ZI board and the output has been checked using the `dac` NSH builtin on pin PA5 (CN7 pin 10, labeled SCK D13). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
