
92
Chapter 3
CPU Function
User’s Manual U16702EE3V2UD00
3.5 Programmable I/O Area
The V850E/RS1 includes an additional memory area for the control of on-chip peripherals. The base
address of this area is located in the external memory space.
A control register setting is required to enable this additional memory.
Control registers for the following on-chip peripherals are implemented in the Programmable I/O area.
•
CAN
3.5.1 Programmable peripheral I/O control register (BPC)
This 16-bit register specifies selection of the Programmable I/O area.
The BPC register can be read or written only in 16-bit units.
RESET input clears BPC to 0000H.
To use the CAN built-in interfaces, set PA15 to 1 by writing the BPC register with a 16-bit memory
manipulation instruction.
To disable access to the CAN RAM and CAN registers, clear PA15 to 0 by writing 0000H to the
BPC register with a 16-bit memory manipulation instruction.
The mapping of the CAN RAM and registers can be shown in section
3.4.4 ”Memory
map”
on
page 78
.
For example, if BPC = 0x8FFB, the programmable area is set to 3FEC000H.
Figure 3-30:
Programmable Peripheral I/O Control Register (BPC) Format
Caution:
When using the CAN controller (PA15 = 1), be sure to set 8FFBH to this register.
When not using the CAN controller (PA15 = 0), be sure to set 0000H to this register.
Remark:
The programmable peripheral I/O area is fixed by hardware in the V850E core
in 3FEC000H to 3FEEFFFH. However, be sure to set 8FFBH to this register when
using the CAN controller because it is possible to write it in bit 13 to bit 0 of this register in
tool (ICE).
Symbol
15
14
13
12
11
10
9
8
Address
After reset
BPC
PA15
0
PA13
PA12
PA11
PA10
PA09
PA08
FFFFF064H
0000H
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
7
6
5
4
3
2
1
0
PA07
PA06
PA05
PA04
PA03
PA02
PA01
PA00
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Bit position
Bit name
Function
15
PA15
Enables/disables usage of programmable peripheral I/O area
PA15
Usage of programmable peripheral I/O area
0
Usage of programmable peripheral I/O area is disabled
1
Usage of programmable peripheral I/O area is enabled
0
PA13 to
PA00
Specify an address in programmable peripheral I/O area
(correspond to A27 to A14 respectively)
electronic components distributor
Содержание V850E/RS1
Страница 6: ...6 User s Manual U16702EE3V2UD00 Downloaded from Elcodis com electronic components distributor...
Страница 206: ...206 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 232: ...232 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 366: ...366 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 402: ...402 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 684: ...684 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 766: ...766 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 798: ...798 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 832: ...832 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 834: ...834 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 848: ...848 User s Manual U16702EE3V2UD00 Downloaded from Elcodis com electronic components distributor...
Страница 852: ...Downloaded from Elcodis com electronic components distributor...