Home ·

# SAM9xx5Config QML Type

Contains configuration values for a SAM9xx5 device. More...

Import Statement: | import SAMBA.Device.SAM9xx5 3.7

- List of all members, including inherited members

## Properties

- extram : alias
- nandflash : alias
- sdmmc : alias
- serial : alias
- serialflash : alias

## Detailed Description

By default, no configuration values are set.

## Serial Console Configuration

The following serial console configurations are supported:

Instance | Peripheral | I/O Set | TX Pin
--- | --- | --- | ---
0 | DBGU | 1 | PA10A
1 | UART0 | 1 | PC8C
2 | UART1 | 1 | PC16C
3 | USART0 | 1 | PA0A
4 | USART1 | 1 | PA5A
5 | USART2 | 1 | PA7A
6 | USART3 | 1 | PC22B

## External RAM

The following external RAM configurations are supported:

Preset | Type | Model | Size
--- | --- | --- | ---
0 | DDR2 | MT47H128M8 | 4x128MB
1 | DDR2 | MT47H64M16 | 128MB
2 | DDR2 | MT47H128M16 | 2x256MB
8 | DDR2 | W971G16SG | 128MB
9 | DDR2 | W972GG6KB | 2*256MB

## SD/MMC Configuration

The following SD/MMC configurations are supported:

Instance | Peripheral | I/O Set | Bus Width
--- | --- | --- | ---
0 | HSMCI0 | 1 | 1-bit, 4-bit
1 | HSMCI1 | 1 | 1-bit, 4-bit

The SD/MMC applet on SAM9xx5 does not support voltage switching, so the voltage configuration property is ignored.

### Pin List for SD/MMC Instance 0 (I/O Set 1)

Pin | Use
--- | ---
PA17A | Clock
PA16A | Command
PA15A | Data 0 (bus width: 1-bit, 4-bit)
PA18A | Data 1 (bus width: 4-bit)
PA19A | Data 2 (bus width: 4-bit)
PA20A | Data 3 (bus width: 4-bit)

### Pin List for SD/MMC Instance 1 (I/O Set 1)

Pin | Use
--- | ---
PA13B | Clock
PA12B | Command
PA11B | Data 0 (bus width: 1-bit, 4-bit)
PA2B | Data 1 (bus width: 4-bit)
PA3B | Data 2 (bus width: 4-bit)
PA4B | Data 3 (bus width: 4-bit)

## SPI Serial Flash Configuration

The following SPI Serial Flash configurations are supported:

Instance | Peripheral | I/O Set | Chip Selects
--- | --- | --- | ---
0 | SPI0 | 1 | 0, 1, 2, 3
1 | SPI1 | 1 | 0, 1, 2, 3

### Pin List for SPI Serial Flash Instance 0 (I/O Set 1)

Pin | Use
--- | ---
PA11A | MISO
PA12A | MOSI
PA13A | SPCK
PA14A | NPCS0
PA7B | NPCS1
PA1B | NPCS2
PB3B | NPCS3

### Pin List for SPI Serial Flash Instance 1 (I/O Set 1)

Pin | Use
--- | ---
PA21B | MISO
PA22B | MOSI
PA23B | SPCK
PA8B | NPCS0
PA0B | NPCS1
PA31B | NPCS2
PA30B | NPCS3

## NAND Flash Configuration

The following NAND Flash configurations are supported:

I/O Set | Bus Width
--- | ---
1 | 8-bit, 16-bit

### Pin List for NAND Flash (I/O Set 1)

Pin | Use | Bus Width
--- | --- | ---
PD0A | NANDOE | 8-bit, 16-bit
PD1A | NANDWE | 8-bit, 16-bit
PD4A | NCS3 | 8-bit, 16-bit
PD2A | NANDALE | 8-bit, 16-bit
PD3A | NANDCLE | 8-bit, 16-bit
PD6A | D16 | 8-bit, 16-bit
PD7A | D17 | 8-bit, 16-bit
PD8A | D18 | 8-bit, 16-bit
PD9A | D19 | 8-bit, 16-bit
PD10A | D20 | 8-bit, 16-bit
PD11A | D21 | 8-bit, 16-bit
PD12A | D22 | 8-bit, 16-bit
PD13A | D23 | 8-bit, 16-bit
PD14A | D24 | 16-bit
PD15A | D25 | 16-bit
PD16A | D26 | 16-bit
PD17A | D27 | 16-bit
PD18A | D28 | 16-bit
PD19A | D29 | 16-bit
PD20A | D30 | 16-bit
PD21A | D31 | 16-bit

For I/O Set 1, the NAND Flash applet enables NFD0_ON_D16 in Bus Matrix CCFG_EBICSA register. This maps SMC D16-D31 pins to NAND D0-D15.

## Property Documentation

extram : alias

Configuration for external RAM applet

See ExtRamConfig for a list of configurable properties.

nandflash : alias

Configuration for NAND Flash applet

See NANDFlashConfig for a list of configurable properties.

sdmmc : alias

Configuration for SD/MMC applet

See SDMMCConfig for a list of configurable properties.

serial : alias

Configuration for applet serial console output

See SerialConfig for a list of configurable properties.

serialflash : alias

Configuration for SPI Serial Flash applet

See SerialFlashConfig for a list of configurable properties.