BMW-lab-MSU / wingbeat-modulation-lidar-pmt-gain-controller

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Use interrupts for sending characters via UART #6

Open tvannoy opened 2 weeks ago

tvannoy commented 2 weeks ago

Look into how to use interrupts instead of no-op delays to transmit characters via UART. The current method does work, though.

https://github.com/BMW-lab-MSU/wingbeat-modulation-lidar-pmt-gain-controller/blob/f48f441d2ec62ad59532e6f7fe2e69d16b610830/mcu/src/uart.c#L22-L28

tvannoy commented 2 weeks ago

Perhaps there is a way to enable a transmit interrupt in a similar manner to the receive interrupt. https://github.com/BMW-lab-MSU/wingbeat-modulation-lidar-pmt-gain-controller/blob/f48f441d2ec62ad59532e6f7fe2e69d16b610830/mcu/src/uart.c#L68-L70