![ST SPC563M64CAL144 Reference Manual Download Page 24](http://html1.mh-extra.com/html/st/spc563m64cal144/spc563m64cal144_reference-manual_1355939024.webp)
Calibration software compatibility and configuration
RM0345
24/38
Doc ID 024080 Rev 3
9.1.3
Cal Bus EBI Settings
For using the calibration bus with an external memory the user must configure the bus for
multiplexed operation. These settings are located in two registers:
–
EBI Module Configuration Register (EBI_MCR)
–
EBI Calibration Base Register (EBI_CAL_BRx)
–
EBI Calibration Option Register (EBI_CAL_ORx)
The EBI Module Configuration Register contains bits which configure various attributes
associated with EBI operation. In the EBI_MCR register, the D16_31, AD_MUX and DBM
fields need to be configured.
In the EBI_CAL_BRx register there are few fields that need to be configured, these are
detailed in the
.
Table 13.
EBI_MCR register setting
bit
field
Name
Description
value
29
D16_31
Data Bus 16_31 Select
The D16_31 bit controls whether the EBI uses the
DATA[0:15] or DATA[16:31] signals, when in 16-bit Data
Bus Mode (DBM=1) or for chip-select accesses to a 16-
bit port (PS=1).
0b0
1 = DATA[16:31] signals are used for 16-bit port accesses
0 = DATA[0:15] signals are used for 16-bit port accesses
30
AD_MUX
Address on Data Bus
Multiplexing Mode
The AD_MUX bit controls whether non-chip-select
accesses have the address driven on (or sampled from
for external master transfers) the data bus in the address
phase of a cycle.
0b1
1 = Address on Data Multiplexing Mode is used for non-
CS accesses.
0 = Only Data on data pins for non-CS accesses.
31
DBM
Data Bus Mode
The DBM bit controls whether the EBI is in 32-bit or 16-bit
Data Bus Mode.
0b1
1 = 16-bit Data Bus Mode is used
0 = 32-bit Data Bus Mode is used