August
Page
Contents
8XC196LX Supplement Chapter Synchronous Serial I/O Port
Programming the J1850 Controller
Entering and Exiting Once Mode
Functional Groupings of Signals Default Conditions
Internal Timing
Figures
11-3
Tables
Guide to This Manual
Page
Manual Contents
Chapter Guide to this Manual
Related Documents
Related Documents
Architectural Overview
Page
Microcontroller Features
Features of the 8XC196Lx and 8XC196Kx Product Famiies
Chapter Architectural Overview
Block Diagram
Internal Timing
Clock Circuitry 87C196LA, LB Only
12 MHz
State Times at Various Frequencies
MHz
16 MHz
External Timing
Pllen
Multiplier State Time
Internal Peripherals
Uprom Programming Values and Locations
CLK1 CLK0
Event Processor Array
1 I/O Ports
Synchronous Serial I/O Port
4 J1850 Communications Controller
Page
Address Space
Page
Chapter Address Space
Address Partitions
Address Map
Register File
1BFF
Address
CA,JT,KT
JR, KR
Peripheral SPECIAL-FUNCTION Registers
XC196Lx Peripheral SFRs
USFR1 LA, LB
Rstsrc
SSIO1CLK
SSIO0CLK
Jdly
Windowing
Windows
Base
Upper Register File CA, JT, JV, KT
Upper Register File CA, JT, JV, KT, LA, LB
4BH
0140H
25H 0120H 49H 0100H 48H 24H 12H
Standard and PTS Interrupts
Page
Chapter Standard and PTS Interrupts
Interrupt SOURCES, VECTORS, and Priorities
Interrupt Sources, Vectors, and Priorities
Interrupt Controller PTS Service
Interrupt Registers
Interrupt Source Mnemonic Priority Name
Bit Function Number
Interrupt Mask Registers
Intmask
Bit Mnemonic Interrupt Description
LA, LD
Interrupt Pending Registers
INTMASK1
NMI Extint SSIO1 SSIO0
Interrupt Pending Intpend Register
Intpend
Peripheral Transaction Server Registers
INTPEND1
NMI
Ptssel
Bit
Interrupt PTS Vector
Ptssrv
Bits
Interrupt Standard Vector
Ports
Page
Microcontroller Ports
Chapter Ports
I/O Ports Overview
EPA, Ssio
8XC196LX Supplement
Configuring Ports 1, 2, 5, and 6 Bidirectional Ports
Ports 1, 2, 5, and 6 Internal Structure 87C196LA, LB Only
For complementary output configurations
Special Bidirectional Port Considerations
Internal Structure for Ports 3 and 4 ADDRESS/DATA BUS
8XC196L X Supplement
Synchronous Serial Port
Page
Bit Function
Chapter Synchronous Serial I/O Port
Ssio 0 Clock Register
For receptions
CHS DUP Conint Conpnd Phas Pols
Ssio 1 Clock Register
1FB7H
CHS
SSIO1CLK
Page
Event Processor Array
Page
EPA Channels
Chapter Event Processor Array
EPA Functional Overview
Device Capture/Compare Compare-only
EPA Block Diagram 87C196LA, LB Only
EPA Block Diagram 83C196LD Only
EPA Mask Registers
Epamask
EPAMASK1
EPA Pending Registers
Epapend
EPAPEND1
EPA Interrupt Priority Vector Register
Value Interrupt
Epaipv
J1850 Communications Controller
Page
J1850 Communications Controller
J1850 Functional Overview
PLL Clkout
J1850 Communications Controller Block Diagram
Signal
J1850 Controller Signals and Registers
J1850 Controller Signals
Control and Status Registers
J1850 Controller Operation
Control State Machine
Cyclic Redundancy Check Generator
Error Detection
Symbol Synchronization and Timing Circuitry
Bus Contention
Bit Arbitration
Clock Prescaler
Delay Compensation
Symbol Encoding and Decoding
Digital Filter
Huntzicker Symbol Definition for J1850
Bit Arbitration Example
Message Frames
Bit Arbitration Example
CRC Byte
Standard Messaging
Header
Normalization Bit
64µS 128µS NB for IFR with CRC NB for IFR without CRC
Huntzicker Symbol Timing Characteristics
Name Symbol Bus Level TXmin TXnom TXmax RXmin RXmax Units
In-frame Response Messaging
IFR Messaging Type 1 Single Byte, Single Responder
Transmitting and Receiving Messages
Transmitting Messages
Transmit Byte
CPU JTX Jtxbuf
Receiving Messages
Receive Byte
CPU Jrxbuf
Programming the J1850 Command Jcmd Register
IFR Messages
Programming the J1850 Controller
Auto
Jcmd
Auto IFR Ignore Abort MSG3 MSG2 MSG1 MSG0
MSG30 Operation Purpose
NBF
Programming the J1850 Configuration Jcfg Register
NBF IFR3 4XM Txbrk Rxpol PRE1 PRE0
IFR without CRC Byte
Programming the J1850 Delay Compensation Jdly Register
PRE1 PRE0
18. J1850 Delay Jdly Register
Programming the J1850 Status Jstat Register
Jstat
Msgtx
Msgrx
Minimum Hardware Considerations
Page
Identifying the Reset Source
Minimum Hardware Considerations
Design Considerations for 8XC196LA, LB, and LD
Special Operating Modes
Page
Chapter Special Operating Modes
Entering and Exiting Once Mode
10-3
Page
Programming Nonvolatile Memory
Page
Otprom Address MAP
Programming the Nonvolatile Memory
Signature Word and Programming Voltage Values
Signature Word and Programming Voltage Values
Address Range Description Hex
Slave Programming Circuit and Address MAP
C196LA, LB Otprom Address Map
CCB1
Description Address Comments
Serial Port Programming Circuit and Address MAP
Serial Port Programming Circuit
A000-FFFFH
Serial Port Programming Mode Address Map
Description Address Range
Do not address
Page
Signal Descriptions
Page
Appendix a Signal Descriptions
Functional Groupings of Signals
Table A-1 C196LA Signals Arranged by Functional Categories
Signal Descriptions
Table A-2 C196LB Signals Arranged by Functional Categories
Figure A-2 C196LB 52-pin Plcc Package
Input/Output Cont’d Name Pin
Table A-3 C196LD Signals Arranged by Functional Categories
Input Name Pin
Bus Control & Status
Default Conditions
Table A-5 C196LA, LB Default Signal Conditions
Port Alternate During RESET# Upon RESET# Power
Signals Functions
Table A-6 C196LD Default Signal Conditions
Page
Glossary
Page
Glossary
ALU
BIT
Byte
DOUBLE-WORD
EPA
ESD
FET
Integer
LSB
ISR
LONG-INTEGER
LSW
MSB
MSW
PIC PIH PLL
PSW
PTS
Ptscb
QUAD-WORD
Ralu
SAR
SFR
SHORT-INTEGER
Uart
VPW
WDT
Word
Index
Page
Index
Clkout
Index-2