PEB 2091
PEF 2091
Programming
6.6
Example for Programming Power Controller Interface
Note 68: This chapter applies only in stand-alone mode.
Assumption: The address lines are not connected, the data lines are clamped to the
values given in the application.
1. Write to controller interface:
IOM®-2
IEC-Q
a) MON-8 WCI (80 7C) ––––>
Pin PCA0 = (0)
Pin PCA1 = (0)
; Write data 7H to address
; 0H
Pin PCD0 … 2 = (1)
; Data not latched
b) MON-8 WCI (80 62) ––––>
Pin PCA0 = (0)
; Write data 0H to address
Pin PCA1 = (1); 1H
Pin PCD0 … 2 = (0)
; Data not latched
2. Read from controller interface:
IOM®-2
IEC-Q
a)
Pin PCD0 = (0)
Pin PCD1 = (0)
Pin PCD2 = (0)
Pin PCA0 = (0)
Pin PCA1 = (0)
; Values stable on data port
MON-8 RCI (80 40) ––––>
; Read from address 0H
; Address is latched
MON-8 ACI (80 00) <––––
b)
; PCD0 … 2 = (0)
; Values stable on data port
Pin PCD0 = (0)
Pin PCD1 = (0)
Pin PCD2 = (0)
Pin PCA0 = (1)
Pin PCA1 = (0)
MON-8 RCI (80 42) ––––>
; Read from address 1H
; Address is latched
MON-8 ACI (80 00) <––––
c)
; PCD0 … 2 = (0)
; Values stable on data port
Pin PCD0 = (1)
Pin PCD1 = (0)
Pin PCD2 = (1)
Pin PCA0 = (0)
Pin PCA1 = (1)
MON-8 RCI (80 41) ––––>
MON-8 ACI (80 A0) <––––
; Read from address 2H
; Address is latched
; PCD0 … 2 = (101)
3. Interrupt
IOM®-2
IEC-Q
C/I AI (1100) <––––
; Initial C/I-code
Pin INT (0) <-> (1)
; Level change on INT pin
; C/I-code INT issued for
; 4 IOM®-2-frames
C/I INT (0110) <––––
C/I AI (1100) <––––
Semiconductor Group
235
Data Sheet 01.99