汽车单片机及局域网技术

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
:,,
4.: ,001F001E ,
$FF7E: CONFIG1FClOaNsFh IG2(8) :MCU
MC68 HC908 GP32
Flash
93B FlashFLBPR
43B ROM 307B
16B
3B LVISR BRKSCR
BRKL SRKH FlashFLCR
INT3 INT2 INTl SBFCR
bit6
Bit5
bit4
bit3
Bit2
Bit1
bit0
VRS7 YRS6 YRS5 VRS4 VRS3 VRS2 VRSI VRS0
L,/00PLL PCTLBCSPLL 40L64PLLON1 PLLPLL PLLON0
2.9 PLL PMDS
bit7 bit6 bit5 bit4
bit3
bit2

,,, :,,,

� � � �MC68HC908CP32
l MCU 2.GP32
3.GP32
:MCUGP32
GP32 GP32

;;

;

� MC68 HC908GP32
� MC68HC08MCU
�MC68HC08MCU
;;
�MC68 HC08MCU
2.2
l CPU2 MPU
PC
3
CPU
MC68HC08MCU CCR
CPU
CCR
�;
�CPU
�MC68HC08-CPU
�MC68HC08-CPU

8 8 5CPU

: :
� � � �

( )
CPU
� CPU
�P
�TCLK
�TBUS

MC68HC08-CPU
8AB8 CD16
E
MC68HC908CP32
18.307BROM 2.32KBFlash512B RAM 39..8328KHzA/D( 4.D/A8) 510..1616(,,PWM) 611..8 712...33:I/O,,,ABC,DE
5I/0,ABDE26 ,C7
13.C
MC68HC908GP32
2 2 CPU T1,T2,T3,T4
T3 T1
MC68HC08-CPU
�AAccumulator
8
A
� H:X
1664KB H:X,H8H:X,X8
� SP
16, $00FF
SP
RAMPC
�PC
PC16,,CCR
�CCR
8CCR5
CCR
bit
1
0
7
6
5
4
H bit3bit4 bit3bt4
QFP44
�VP)PVSS(VPP+5V+3V,VSS �VDDA/VSSA,
�VDDAD/VSSAD �VREFH/VREFL A/D
:0SC10SC2 :RST :IRQ/VPP CGMXFC /I/O
�PTA7PTA0 8
�PTB7PTB0 �PTC6PTC0-- � PTD7PTD0( ) �PTElPTE0
SUBAR SRSR SBSR
Flash Memory32256B
32192B
RAM512B
IO
36BFlash $FFDC~$FFFF
307BROM $FE20~$FF52
I/O $FE00~$FE0C
$001F$001E
32256B :$0040023F RAM :0040-$023F I/O$00-$3F 48B

CPUP1815
�CPU
CPUMCU P1813
�MC68HC08
()P267
L RL
R
PLL
RL
2.4.2

OSC
�CGMXCLK �,A/D,PLL
PLL
�PLLCGMVCLK, �
�CGMOUT
�CGMXCLK2 �PLLCGMVCLK2
�2 �=CGMXCLK/CGMVCLK1/4
5V 32
0 218~24
3V 4096
2.4 MC68HC08MCU
1.MCU 2. MC68HC08MCU
3 MC68HC08 MCU
4 5PLLPLL
6.,
PLL PLL PLL
CGMXCLK PLL CGMVCLK CGMOUT
2.4.1
G2
0
7
6
5
CONFI 4
G1
3
2
1
0
OSCSTOPENB
SCIBDSRC COPRS LVISTOP LVIRSTD
LVIPWRD LV15 OR3
SSREC STOP COPD
STOP SCI COP STOPLVI LVI LVI LVI STOP STOP COP
1 213~24
� � � � � �Flash Memory � �
1. 2.
3.Motorola08
: Motorola 08 Motorola08
:

Intel8051 Motorola ATMEL TIMSP430 NEC
FujitsuMB8900
�Motorola
Motorola
12C 0 l 80
10.0
10.0
2.5
132 0 1 83
16
16
4.0
IE9 0 Dl
19 660 8 20
19 660 8 20
4915 2
258 0 2 80
5.0
32.768 1 263 0 2 R9
29 491 2
29 491 2
7.372 8
384 0 2 CO
32
32
8.0
3D1 0 2 DO

STOP,SCI,LVI,COP
CONFIG2 CONFIG1
Bit7 0
COPRS
Bit6 0
LVlSTOP
Bit5 0
LVIRSTD
Bit4 0
LVIPWRD
Bit3 0
LVI5OR3
Bit2 0
SSREC
Bit1 OSCSTOPENB
STOP
Bit1 SCIBDSRC
COPD
bit
CONFI 1

MOV $03 PMSH
; 03

MOV $D1 PMSL ; Dl

MOV $D0 PMRS ; D0H

MOV $22 PCTL
; E2PLLON1PLL

BRCLR 6,PBWC,$
ROM
� Read only memory
ROM ROMPROM
ROM
ROMEP,ROM
ROMEEPROM FlashMemory
EPROM,EEPROM,
RAM
�, �(,,) Rቤተ መጻሕፍቲ ባይዱndom access memory
SRAMSRAM
RAMDRAMDRAM
RAMiRAM
. DRAM,,
,
MC68 HC908GP32
32
16
4.0
lE9 l 2 DO
32
8
2.0
F5 2 2 DO
32
4
l.0
7B 3 2 DO
PLL
�32.768kHz,PLL, 8 MHz
2.10:R=$01,N=$03D1,P$00,E$02L=$DO
8MHz
�PLL8M: MOV $00 PCTL
; P0PLLON0PLL

MOV $80 PBWC ;
0000 MUL MUL MUL MUL MUL MUL MUL MUL MUL MUL MUL MUL 11 10 9 8 7 6 5 4 3 2 1 0
R,/,$0000$0001,$0040 64PLLON1,PLL ,,PLL(PLLON0)
PMRS,PMDS
2.8 PLL PMRS
bit7

SDIP42
�VPPVSS(VPP+5V+3V,VSS) �VDDA/VSSA, �VDDAD/VSSAD �VREFH/VREFL A/D
:0SC10SC2 :RST :IRQ/VPP CGMXFC /I/O
�PTA7PTA0 8 �PTB7PTB0 �PTC6PTC0-- � PTD7PTD0( ) �PTElPTE0
STOP;WAIT

; MC68HC08MCU
�,
2.1
� �MC68HC908CP32
�MC68HC908CP32
�MC68HC08
CPU
�8CPU08
ROM RAM / / A/D,D/A
2.1
MC68HC908CP32 30372BKBflashRROAMM 512BRAM
� � � � � �A/D,D/A �
()
P
E
1 0 1 0 1 0 1 0 PRE1 PRE0
VPR1 VPR0
vco 00:P=0,1,00:E=0,1
01:E=1,
�2 �2 01:P=1,2,2
10:P=2,4 10:E=2,4
11:P=3,8 11:E=3,
,
2.6 PLLPBWC
bit7
AUTO 1= 0=
bit6
LOCK
1= VC0 0=VC0
bit5
ACQ 1= 0=
hit4 bit3 bit2 bitl bit0 0 0 0 0R
0
2.7 PLLPMSH,PMSL
Bit7~bit4 bit3 bit2 Bit1 bit0 Bit7 bit6 Bit5 bit4 bit3 Bit2 Bit1 bit0
�VDDVSS(VPP+5V+3V,VSS) �VDDA/VSSA, �VDDAD/VSSAD �VREFH/VREFL A/D
:OSC1OSC2 :RST :IRQ/VPP CGMXFC /I/O
�PTA7PTA0 8 �PTB7PTB0(88 �PTC6PTC0-- � PTD7PTD0( ) �PTElPTE0 ()
3
I 1CPU
0CPU
2N
1Z
0
0
0C
V
HI NZC
2.3
1.ROMRAM2. ff VC68 HC08
Flash Memory3. MC68HC08MCU IYICU
MCGsHC09MCU , I0
4.CONFIG
CON FIG

ROM RAM
�MC68 HC908GP32
I/O
�PCTL,PBWC,PMSH,
PMSL,PMRS,PMDS
�TBCR �SIMSRSRSIM
Reset Status Register
�(INTSCR)
�(INT1,INT2,INT3)
� �
;;

;CPU ; ; ; MC68HC08; MC68 HC08:
� MC68HC08
PCTL PBWC PMSH PMSL PMRS PMDS
$0036 $0037 $0038 $0039 $003A $003B
$20 $00 $00 $40 $40 $01
PE
L R
2.5 PLL PCTL
bit7
bit6
bit5
bit4
bit3 bit2
bit1
bit0
PLLIE PLLF PLLON BCS PREI PRE0 VPR1 VPR0
� MC68HC08
� MC68HC08 A/D
AD AD AD AD

I0

�MPU&MCU
(Micro Processor UnitMPU Micro Controller UnitMCU )


Motorola


1. 2. 3.
MCU
�1971-1974 8F8 �1974-1978 �1978-19818 �1982

1 ROM
36BFlash,:FFDCFFFF
2. 3��07BRAMR.OMRF,FAF:EM$00:4F0FFFFE20023FF,F52 3. 3�I2/2O56B:512B--,,RA:M8000FDFFI/O
� Fl:ash0M0e0m0ory0R0A3MF6(4B$FE00$FE0C)
�CCR ConditionCordRegister �SCI SerialComunicateInterface �COP Computer Operating Properly �TBM TimebaseModule �OSC Osillation �PLL PhaseLockedLoop �ADC AnalogToDigitalConverter �SIM SystemIntegratedModule �POR PowerOnReset �LVI LowVoltageInhibit �ILOP Illegal Opcode �ILAD Illegal Address �SRSR SIM Reset Status Register
bit1
bit0
0
000
RDS3
RDS2 RDS1 RDS0
0
R$00 $0l11 PLLON1PLL PLL PLLON0
2.10
CGMXCLK/MHz CGMVCLK/MHz fBUS/MHz fRCLK/kHz R N P E L
8.0
8.0
2.0
Dl
9 830 4
9 830 4
2 457 6
2.4.3
OSC1OSC2 32.768 kHz DSC2 OSC1OSC2 PLL
�CGMXFC �PLLVDDA,VSSA()
2.4.4
�fBUS
48116
PCTL,PBWC,PMSH, PMSL,PMRS,PMDS 2-5~2-9 2-10
PLL PLL PLL PLL PLL PLL
相关文档
最新文档