2025-09-21 11:55 PM
We are interfacing a Chafon MU910-M UHF RFID reader module with an STM32F103C8T6 (Blue Pill) board using UART communication. During loopback testing, we observed that individual UART ports are functional and can transmit single bits, but when attempting to transmit an entire byte/frame, the transmitted data is not received back.
We have verified the following:
External connections are correct (Tx ↔ Rx, common GND).
Code implementation is correct based on STM32 HAL/LL libraries.
UART peripheral initialization works when tested with single-byte transmission.
However, the issue arises when transmitting multiple bytes (frames), where the data is either not looped back correctly or is lost.
Have anyone faced this kind of issues? We are looking for guidance on the next debugging steps, specifically why the UART works for single-bit/byte transmission but fails for multi-byte frames during loopback testing.
2025-09-22 12:25 AM
It's impossible to help you without seeing the code, My wild guess is you are trying to use blocking calls UART_Transmit and UART_Receive for sending and receiving multiple characters. That will not work.