CHAPTER 3 CPU FUNCTION
81
User’s Manual U14492EJ5V0UD
3.4.9
Programmable peripheral I/O registers
In the V850E/IA1, the 16 KB area of x0000H to x3FFFH is provided as a programmable peripheral I/O area. In this
area, the area between x2000H and x2FFFH is used exclusively for the FCAN controller.
The internal bus of the V850E/IA1 becomes active when the on-chip peripheral I/O register area (FFFF000H to
FFFFFFFH) or the programmable peripheral I/O register area (xxxxm000H to xxxxnFFFH) is accessed (m = xx00B, n
= xx11B). However, the on-chip peripheral I/O area is allocated to the last 4 KB of the programmable peripheral I/O
register area. Note that when data is written to this area, the written contents are reflected on the on-chip peripheral
I/O area. Therefore, access to this area is prohibited. To access the on-chip peripheral I/O area, be sure to specify
addresses FFFF000H to FFFFFFFH.
Figure 3-7. Programmable Peripheral I/O Register (Outline)
3FFFFFFH
On-chip peripheral
I/O register
3FFF000H
3FFEFFFH
xxxxNFFFH
xxxxM000H
x3FFFH
x3000H
x2FFFH
x2000H
x1FFFH
x0000H
0000000H
Programmable
peripheral
I/O register
Internal local bus
Dedicated area for
FCAN controller
On-chip peripheral
I/O area
Programmable
peripheral
I/O area
Caution The CAN message buffer register can allocate address xxxx freely as a programmable
peripheral I/O register. But once the address xxxx is set, it cannot be changed.
Remark
M = xx00B
N = xx11B
The peripheral area selection control register (BPC) is used for programmable peripheral I/O register area
selection.
Caution When emulating the FCAN controller using the in-circuit emulator (IE-V850E-MC or IE-703116-
MC-EM1), perform the following settings in the Configuration screen that appears when the
debugger is started.
Set the start address of the programmable peripheral I/O area that is set using the BPC
register to the Programmable I/O Area field.
Map the programmable peripheral I/O area as “Target” or “Emulation RAM” in the Memory
Mapping field.