Go Down

Topic: DAC from Portenta H7 (Read 1 time) previous topic - next topic


That makes sense. Can you try analogWrite with A0 to A5. I get a nasty crash. 


 If you try analogWrite() to non-PWM pin, it will cause mbed system crash.(except the DAC pin :) )


hey @preynolds101 ,

were you able to get your code to work?

I am interested in using the DAC with the DMA and I believe your way is the start, but I am still not getting any values on the DAC same as you even after connecting the VREF to 3.3V.

The other ways using arduino's analogWrite work but that doesn't give me the chance to use the full capabilities of the DAC.

I am interested in using the HAL Library functions.

Go Up