Hitachi H8/3022 Hardware Manual page 393

H8/3022 series hitachi single-chip microcomputer
Table of Contents

Advertisement

2. Usage Note
The procedure shown below should be used to prevent low-level output when switching from the
SCK pin function to the port function.
As this procedure temporarily places the SCK pin in the input state, the SCK/port pin should be
pulled up beforehand with an external circuit.With DDR = 1, DR = 1, C/A = 1, CKE1 = 0, CKE0
= 0, and TE = 1, make the following settings in the order shown.
(1) End of serial data transmission
(2) TE bit = 0
(3) CKE1 bit = 1
(4) C/A bit = 0 ... switchover to port output
(5) CKE1 bit = 0
SCK/port
Data
Bit 6
TE
C/A
CKE1
CKE0
Figure 11-24 Operation when Switching from SCK Pin Function to Port Pin Function
382
(1) End of transmission
Bit 7
(2) TE=0
(Preventing Low-Level Output)
(4) C/A=0
(3) CKE1=1
High-level output
(5) CKE1=0

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3021H8/3020H8/3022 f-ztat

Table of Contents