AN1212 Freescale Semiconductor / Motorola, AN1212 Datasheet - Page 28

no-image

AN1212

Manufacturer Part Number
AN1212
Description
J1850 Multiplex Bus Communication Using the MC68HC705C8 and the SC371016 J1850 Communications Interface (JCI)
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN1212/D
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
J1850 Multiplex Bus Communication Using the MC68HC705C8
and the SC371016 J1850 Communications Interface (JCI)
**********************************************************************
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
**********************************************************************
**********************************************************************
*****
**********************************************************************
porta
portb
portc
portd
ddra
ddrb
ddrc
spcr
spsr
spdr
tcr
tsr
ocrh
ocrl
tcrh
tcrl
*** TCR Bit Assignments ***
icie
ocie
toie
*** SPCR Bit Assignments ***
spie
spe
mstr
cpol
cpha
spr1
spr0
Freescale Semiconductor, Inc.
This code is memory mapped for the MC68HC705C8. It interfaces
to the JCI using the Enhanced SPI interface mode.
Rev. 0.1:
Rev. 0.2:
Rev. 0.3:
For More Information On This Product,
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
Go to: www.freescale.com
(initial release)
Add Tx & Rx flush
routines
Fix TXSTATUS and
message filtering
$00
$01
$02
$03
$04
$05
$06
$0a
$0b
$0c
$12
$13
$16
$17
$18
$19
7
6
5
7
6
4
3
2
1
0
MC68HC705C8/JCI Sample
Revision History
Driver Routines
;Port A
;Port B
;Port C
;Port D
;Data Direction, Port A
;Data Direction, Port B
;Data Direction, Port C
;Serial Peripheral Control Register
;Serial Peripheral Status Register
;Serial Peripheral Data Register
;Timer Control Register
;Timer Status Register
;Timer Output Compare Register (High)
;Timer Output Compare Register (Low)
;Timer Count Register (High)
;Timer Count Register (Low)
;Input Capture Interrupt Enable
;Output Compare Interrupt Enable
;Timer Overflow Interrupt Enable
;SPCR, Bit 7 - SPI Interrupt Enable
;SPCR, Bit 6 - SPI Enable
;SPCR, Bit 4 - Master Mode Select
;SPCR, Bit 3 - Clock Polarity
;SPCR, Bit 2 - Clock Phase
;SPCR, Bit 1 - \ SPI Clock
;SPCR, Bit 0 - / Rate Bits
Equates
Chuck Powers
Chuck Powers
Chuck Powers
6/30/92
7/10/92
7/17/92
MOTOROLA
*****
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*

Related parts for AN1212