Skip to main content
Knowledgebase
Home
Renesas India - Knowledgebase

Should I check TXEPT bit or TI bit in transmitting data?

Latest Updated:10/10/2006

Question:

When I write transmission data in serial transmission, which should I check, TXEPT bit or TI bit?

Answer:

It is possible to check the transmission completion by TXEPT bit. TXEPT bit is cleared to "0" in the transmission and set to "1" on its completion. If the transmission data is written in UiTB register, TI bit is turned to "1" after the data is transmitted to the UART transmission register and it shows UiTB register is empty. When you do the continuous transmission, write the transmission data in UiTB register after checking that TI bit is "1".
Suitable Products
R8C/18
R8C/19
R8C/1A
R8C/1B
R8C/20
R8C/21
R8C/22
R8C/23
R8C/24
R8C/25
R8C/26
R8C/27
R8C/28
R8C/29
R8C/2A
R8C/2B
R8C/2C
R8C/2D
R8C/2E
R8C/2F
R8C/2G
R8C/2H
R8C/2J
R8C/2K
R8C/2L
R8C/32C
R8C/33C
R8C/35C
R8C/36C
R8C/38C
R8C/3GC
R8C/3JC
R8C/32D
R8C/33D
R8C/35D
R8C/3GD
R8C/33T
R8C/38A
R8C/34E, R8C/34F, R8C/34G, R8C/34H
R8C/36E, R8C/36F, R8C/36G, R8C/36H
R8C/38E, R8C/38F, R8C/38G, R8C/38H