Trying to get a basic sample DAC1 with DMA, triggered by TIM2 working. This should be trivial, works fine on SMT32F3. I'm using a Nucleo-32 SMT32G431.Using Cube IDE. The only non IDE-generated code in main is: /* USER CODE BEGIN 2 */
static uint...
Thank you for responding!Here it is (trying to trigger DMA to DAC1 using TIM6).Configuration code followed by output: // ---------------------------------------
// based on https://vivonomicon.com/2019/07/05/bare-metal-stm32-programming-part-9-dma...
The challenge is knowing what is relevant - the promise HAL makes is not having to know. Otherwise might as well go bare metal, which given the state of the documentation seems best avoided.
The DMAMUX documentation is not very helpful and HAL (and CUBE IDE) seems to basically ignore it. Does anything need to be set in DMAMUX beyond what HAL would set automatically?