7-20
MC9328MX1 Reference Manual
MOTOROLA
AHB to IP Bus Interface (AIPI)
7.3.4 Special Consideration for Non-Natural Size Access
A programmer must exercise care when accessing peripherals using access other than their natural size. An
example of such access includes byte access to a 32-bits peripheral and word access to 8-bit peripheral.
The examples in the previous section clearly illustrate the difference in byte accessing a 32-bits peripheral
in both big and little endian modes. An instruction such as:
STRB
r1,
[r2, #0x1]
is accessing using byte lane[15:8] in little endian, while byte lane[23:16] is accessed using big endian
mode. Therefore, if a programmer is using byte access to set up control information in 32-bit register,
extreme care must be taken to ensure the desired byte is written during the desired endian mode.
Table 7-16. Core and 32-bit Peripheral Register Content (Little Endian)
Address
Peripheral Registers
0
33
44
88
44
4
55
66
77
88
Address
Core Registers
r3
00
00
00
44
r4
00
00
00
88
r5
00
00
33
44
r6
55
66
77
88
Table 7-17. Core and 32-bit Peripheral Register Content (Big Endian)
Address
Peripheral Registers
0
44
88
33
44
4
55
66
77
88
Address
Core Registers
r3
00
00
00
44
r4
00
00
00
88
r5
00
00
33
44
r6
55
66
77
88
Summary of Contents for DragonBall MC9328MX1
Page 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Page 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Page 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Page 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Page 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Page 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Page 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Page 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Page 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Page 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Page 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Page 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Page 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Page 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Page 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Page 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Page 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Page 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Page 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...