參數(shù)資料
型號(hào): P80CE598FHB
廠商: NXP SEMICONDUCTORS
元件分類: 微控制器/微處理器
英文描述: 8-bit microcontroller with CAN controller(帶CAN控制器的8位微控制器)
中文描述: 8-BIT, 16 MHz, MICROCONTROLLER, PQFP80
封裝: PLASTIC, QFP-80
文件頁數(shù): 103/108頁
文件大?。?/td> 661K
代理商: P80CE598FHB
1996 Jun 27
103
Philips Semiconductors
Product specification
8-bit microcontroller with on-chip CAN
P8xCE598
00A0
00A1
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
; determine the destination address in data-memory for the
; message's Data-Field
ANL
A, #ID2_0_MASK
SWAP
A
RR
A
; this value is used as an index for an array of 8 bytes
; containing the destination-addresses for the 8 different
; messages. Note, that the #RX_ARRAY_OFFSET is due to the
; program counter-relative access to the array.
ADD
A, #RX_ARRAY_START
RX_ARRAY_OFFSET
MOVC
A, @A + PC
RX_ARRAY_OFFSET:
54E0
C4
03
; use ID.2 ... ID.0 only
; A = 4*ID.2 + 2*ID.1 + ID.0
00A2
2415
83
00A5
00A7
; if a message passes the acceptance-filter of the CAN
; Controller, but the CPU doesn't need it, the array
; entry's value may be set to zero indicating this.
; The following
<
jz
>
instruction cares for this.
JZ
CAN_RX_READY
6007
00A9
00AB
00AD
; now copy the Data-Field (only) from CAN- to CPU memory
; with the aid of the DMA-logic. Note, that a TX-DMA is
; performed when writing 8AH (DMA + address 10) into CANADR
; and a RX-DMA is performed when writing 94H (DMA + address 20)
; ... 9DH (DMA + address 29) into CANADR. Here address 22 is
; used to copy just the Data-Field.
MOV
CANSTA, A
MOV
CANADR, #CAN_RX_DMA ; starts RX-DMA at address 22
F5D8
75DB96 133
; data-memory address
134
135
136
137
138
139
140
141
142
00AE
00AF
; the DMA-transfer is done in at maximum 2 instruction cycles.
; During the transfer, neither the data-memory (RAM) nor one
; of the SFRs CANADR, CANDAT, CANCON and
; CANSTA may be accessed by the CPU.
; For simplicity, two NOPs are used here.
NOP
NOP
00B0
00
00
00A0
LOC
OBJ
LINE SOURCE
相關(guān)PDF資料
PDF描述
P83CE598FFB 8-bit microcontroller with CAN controller(帶CAN控制器的8位微控制器)
P83CE598FHB 8-bit microcontroller with CAN controller(帶CAN控制器的8位微控制器)
P80CE654FBB 8-BIT MICROCONTROLLER
P80CE528EBA 8-BIT MICROCONTROLLER
P80CE528EFA 8-BIT MICROCONTROLLER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
P80CE654FBB 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
P80CE654FFB 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
P80CL31 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:Low voltage 8-bit microcontrollers with UART
P80CL31HFB 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
P80CL31HFD 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller