There is noproblem found in the waveform. What caused this problem? How do I fix it?
The serial interface of the H8 family and the H8S family is divided into a transmit part and a receive part structurally to be used for both asynchronous and functions.
The transmit part and the receive part can be operated individually. When in synchronous transmit/receive data, each part is synchronized and operated.
At the same time, the TE bit and the RE bit play a role in clock source supply gate for each transmitter part and receive part.
When the TE and the RE were set separately, the clock source for the transmit part and the receive part will not work together.
As a result, the TE and the RE would not be operated at once.
Therefore please set the TE and the RE to “1” all at once when in transmit/receive operation.
Also, the same rule applies in the operation mode change from transmit mode (TE = 1, RE = 0) and receive mode (TE = 0, RE = 1) to transmit/receive mode (TE = 1, RE = 1).
In such a mode change case, after setting the serial interface to TE = 0 and RE = 0, set TE and RE to “1” all at once.
(Note: when the serial interface is set to TE = 0 and RE = 0, the TxD and RxD pins will be switched to each general port.)
Regardless of a half duplex or full duplex, we recommend you to use transmit/receive mode (TE = 1, RE = 1) preliminary when in both of transmit and receive operations.
|H8/3067(H8/3065, H8/3066, H8/3067)|
|H8/3062(H8/3060, H8/3061, H8/3062)|
|H8/3048(H8/3044, H8/3045, H8/3047, H8/3048)|
|H8/3042(H8/3040, H8/3041, H8/3042)|
|H8/3039(H8/3036, H8/3037, H8/3038, H8/3039)|
|H8/3035(H8/3033, H8/3034, H8/3035)|
|H8/3032(H8/3030, H8/3031, H8/3032)|
|H8/3022(H8/3020, H8/3021, H8/3022)|
|H8S/2630, 2639, 2638, 2636, 2635|
|H8S/2556, 2552, 2506|
|H8S/2258, 2239, 2238, 2237, 2227|