Please check TDRE bit of serial status register (SSR) for transmission enable. If TDRE = 1, the next data can be transferred.
The transmitter have a double-buffered structure, enabling continuous data transfer during transmission by writing transmission data into the transmit data register (TDR) after confirming TDRE=1.
TEND bit of SSR is provided to confirm whether transmission is completed or not. TEND is set to 0 during transmission. When you want to complete serial communication or switch pin function, please perform it after confirming TEND=0.
|H8/300H Super Low Power|
|H8/300L Super Low Power|
|H8/38024R, 38024, 38024S, 38124|
|H8/3802, 38002S, 38004, 38104|
|H8 Super Low Power|