Cannot transmit every characters through UART

前端 未结 3 1317
时光说笑
时光说笑 2020-12-11 07:38

I am using stm32f0 MCU.

I would like to transmit every single byte received from the uart out of the uart. I am enabling an interrupt on every byte received from uar

3条回答
  •  有刺的猬
    2020-12-11 08:17

    You should make a tx array buffer as well, and use interrupt for writing as well (The first write if not enabled yet, should be sent immediately).

    There should be examples of this for STM32 around.

提交回复
热议问题