Arm® Corstone™ SSE
-300 with Cortex®-
M55 and Ethos™
-U55 :
Example Subsystem for MPS3 - Application Note AN547
DAI 0547C
Issue C
4 Programmers Model
Copyright
©
2020, 2021 Arm Limited (or its affiliates). All rights reserved.
Non-Confidential
Page 29 of 64
4.6
AHB GPIO
The SMM uses four CMSDK AHB GPIO blocks, each providing 16 bits of I/O. These are connected to the two
Arduino compatible headers shield 0 and 1 as follows:
Shield
GPIO
SH0_IO [15:0]
GPIO0[15:0]
SH0_IO [17:16]
GPIO2[1:0]
SH1_IO [15:0]
GPIO1[15:0]
SH1_IO [17:16]
GPIO2[3:2]
Table 4-1 : GPIO Mapping
The GPIO alternative function lines select whether peripherals or GPIOs are available on each pin. See
for mappings.
4.7
SPI
The SMM implements three PL022 SPI modules:
•
One general purpose SPI module (SPI ADC) is used for communication with an onboard ADC. The analog
pins of the Shield headers are connected to the input channels of the ADC.
•
Two general purpose SPI modules connect to the Shield headers and provide an SPI interface on each header.
These are alt-functions on the GPIO ports. See
for mappings.
4.8
SBCon (I
2
C)
The SMM implements five SBCon serial modules:
•
One SBCon module for use by the Color LCD touch interface.
•
One SBCon module to configure the audio controller.
•
Two general purpose SBCon modules that connect to Shield0 and Shield1 and provide an I
2
C interface on
each header. These are alt-functions on the GPIO ports. See
•
One SBCon module is used to read EEPROM from DDR4 SODIMM.
The selftest software provided with the MPS3 includes example code for the color LCD module control and audio
interfaces.
The following table lists the control registers for the two-wire SBCon in offset order from the base memory
address. For example, the Touchscreen SBCon non-secure base address is 0x4920_0000 and the secure base
address is 0x5920_0000.
Address
Name
Access Description
0x000
SB_CONTROL
Read
Read serial control
bits:
Bit [0] is SCL
Bit [1] is SDA
0x000
SB_CONTROLS
Write
Set serial control bits:
Bit [0] is SCL
Bit [1] is SDA
0x004
SB_CONTROLC
Write
Clear serial control
bits:
Bit [0] is SCL
Bit [1] is SDA
Table 4-2 SBCon Register Map