AnsweredAssumed Answered

Correct way to change baud post HAL DMA Init

Question asked by Charles Yarnold on Jan 15, 2017

Hello,

 

I'm currently trying to write a library for the stm32f4 to output dmx via the uart. With other mcu's I've done this by generating the required start code etc by changing the port baud to a specific speed, sending out a byte to generate the correct wave to signify a "start" bit, then switched to a normal baud and spat out the values I need.

 

I can see how to init a uart port with baud settings etc with HAL_UART_Init, but I'm yet to find the correct way to modify it after the fact.

 

Any ideas?

 

Cheers

 

Charles

Outcomes