CHAPTER 5 BUS CONTROL FUNCTION
Preliminary User’s Manual U15905EJ1V0UD
185
5.5
Bus Access
5.5.1
Number of clocks for access
The following table shows the number of basic clocks required for accessing each resource.
Area (Bus Width)
Bus Cycle Type
Internal ROM (32 bits)
Internal RAM (32 bits)
External Memory (16 bits)
Instruction fetch (normal access)
1
1 or 2
3 + n
Note
Instruction fetch (branch)
2
1 or 2
3 + n
Note
Operand data access
3
1
3 + n
Note
Note
2 + n clocks (n: Number of wait states) when the separate bus mode is selected.
Remark
Unit: Clocks/access
5.5.2
Bus size setting function
The bus size of each external memory area selected by CSn can be set (to 8 bits or 16 bits) by using the BSC
register.
The external memory area of the V850ES/SA2 (0100000H to 0BFFFFFH) is selected by CS0 to CS3.
The external memory area of the V850ES/SA3 (0100000H to 0FFFFFFH) is selected by CS0 to CS3.
(1) Bus size configuration register (BSC)
This register can be read or written in 16-bit units.
Caution
Write to the BSC register after reset, and then do not change the set values. Also, do not
access an external memory area other than the one for this initialization routine until the
initial settings of the BSC register are complete. However, external memory areas whose
initial settings are complete may be accessed.
After reset:
5555H R/W
Address:
FFFFF066H
0
0
BSn0
0
1
8 bits
16 bits
BSC
1
BS30
0
0
1
BS20
0
0
1
BS10
0
0
1
BS00
8
9
10
11
12
13
Data bus width of CSn space (n = 0 to 3)
14
15
1
2
3
4
5
6
7
0
CS0
CS3
CSn signal
CS2
CS1
Caution
Be sure to set bits 14, 12, 10, and 8 to 1, and clear bits 15, 13, 11, 9, 7, 5, 3, and 1 to 0.
Содержание V850ES/SA2 UPD703201
Страница 2: ...Preliminary User s Manual U15905EJ1V0UD 2 MEMO ...
Страница 284: ... 4 6 7 6 7 8 9 9 6 Note 1 Note 2 0 0 9 9 6 1 1 0 1 9 0 0 0 6 7 0 0 0 0 0 0 0 1 1 1 0 0 0 0 3 1 6 7 6 7 ...
Страница 285: ... 6 7 ...
Страница 516: ...Preliminary User s Manual U15905EJ1V0UD 516 MEMO ...