Figure 12.24 Operation When Switching From Sck Pin Function To Port Pin Function (Example Of Preventing Low-Level Output) - Hitachi H8/3062 Hardware Manual

Single-chip microcomputer h8/3062 series; h8/3062b series; h8/3062f-ztat series; h8/3064f-ztat series
Hide thumbs Also See for H8/3062:
Table of Contents

Advertisement

• Sample Procedure for Avoiding Low-Level Output: As this sample 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 12.24 Operation when Switching from SCK Pin Function to Port Pin Function
420
1. End of transmission
Bit 7
2.TE= 0
3.CKE1= 1
(Example of Preventing Low-Level Output)
High-level outputTE
4.C/A= 0
5.CKE1= 0

Advertisement

Table of Contents
loading

Table of Contents