background image

 

SoM-A5D36 User Manual

 

Revision 1.30 © 2015 

 

- 12 - 

2.4.6

 

SPI 

The ATSAMA5D36 processor provides two SPI (Serial Peripheral Interface) channels,  SPI0 and SPI1, for 
communicating with peripheral devices. The SPI0 bus is connected internally to the serial flash, which uses 
SPI0_NPCS0  (SPI0_NPCS0  is  not  brought  out  to  the  card  fingers).  Table  8  below  lists  the  lines  for  SPI 
channel 0. Table 9 below lists the lines for the SPI channel 1.  These pins have shared functions and can 
be accessed through the GPIO header on the SoM-200 carrier board.   Note SPI Chip Selects (CS) for both 
Linux & WinCE do not require a specific SPI_CS and as such can use any GPIO allowing additional chip 
selects if a custom carrier is used.

 

Table 8: SPI Channel 0 

SODIMM 

Pin# 

SoM 

Pin Name 

Processor 

Pin Name(s) 

Port Line 

Description 

22 

SPI_MI 

SPI0_MISO 

PD10 

SPI0 serial data in 

23 

SPI_MO 

SPI0_MOSI 

PD11 

SPI0 serial data out 

24 

SPI_SCK 

SPI0_SPCK 

PD12 

SPI0 serial clock out 

25 

SPI_CS0 

SPI0_NCS1/CANRX0 

PD14 

SPI0 slave select line 0 

26 

SPI_CS1 

SPI0_NCS2/CANTX0 

PD15 

SPI0 slave select line 1 

27 

SPI_CS2 

SPI0_NCS3 

PD16 

SPI0 slave select line 2 

28 

SPI_CS3 

SPI0_NCS4/PWMFI2 

PC28 

SPI0 slave select line 3 

 

Table 9: SPI Channel 1 

SODIMM 

Pin# 

SoM 

Pin Name 

Processor 

Pin Name(s) 

Port Line 

Description 

126 

GPIO12 

SPI1_MISO 

PC22 

SPI1 serial data in 

127 

GPIO13 

SPI1_MOSI 

PC23 

SPI1 serial data out 

128 

GPIO14 

SPI1_SPCK 

PC24 

SPI1 serial clock out 

134 

GPIO15 

SPI1_NCS0 

PC25 

SPI1 slave select line 0 

40 

USB_OTG_ID 

SPI1_NCS1 

PC26 

SPI1 slave select line 1 

10 

USB_OTG_VBUS 

SPI1_NCS2 

PC27 

SPI1 slave select line 2 

 

 

 

 

 

Содержание SoM-A5D36

Страница 1: ...SoM A5D36 User Manual April 2019 Revision 1 30 Copyright 2015 EMAC Inc 2390 EMAC Way Carbondale Illinois 62902 Phone 618 529 4525 Fax 618 457 0110 http www emacinc com...

Страница 2: ...Wire I2C 9 2 4 4Ethernet 10 2 4 5USB 11 2 4 6SPI 12 2 4 7MCI Multimedia Card 13 2 4 8Serial Ports 14 2 4 9I2S 15 2 4 10 CAN 15 2 4 11 GPIO 16 2 4 12 Interrupts 17 2 4 13 ADC 17 2 4 14 Timer Counters...

Страница 3: ...arrier 23 3 3 1Power 23 3 3 2Analog Reference 24 3 3 3Battery Backup 24 3 3 4Shutdown Logic Pins 24 4 Software 25 4 1 Das U Boot 25 4 2 Embedded Linux 25 4 2 1Linux with Xenomai Real Time Extensions 2...

Страница 4: ...age If EMAC Inc products are used in any of the aforementioned unintended or unauthorized applications Purchaser shall indemnify and hold EMAC Inc and its employees and officers harmless against all c...

Страница 5: ...x A5 ATSAMA5D36 536MHz Processor 10 100 1000 BaseT Ethernet with on board PHY RMII Interface for additional 10 100 BaseT PHY 6 Serial ports one with full handshake and 3 with RTS CTS handshake 2 USB 2...

Страница 6: ...nal Watchdog Timer MAX6747 Digital I O 32 General Purpose I Os with 16 mA drive when used as an output Analog I O 6 channel 12 bit Analog to Digital converter ADC Power Power Management Controller all...

Страница 7: ...and control lines Mechanical and Environmental Dimensions SODIMM form factor with the length dimension extended 2 66 x 2 384 SODIMM TYPE 200 Pin DDR1 not compatible with DDR2 Power Supply Voltage 3 3...

Страница 8: ...28 seconds or faster to prevent the Watchdog from timing out and resetting the module If you are using the watchdog to force a system reset you may need up to 1 56 seconds of inactivity before the Wa...

Страница 9: ...WRDN N A Processor Shutdown Output 149 WR NWE N A Write Signal 150 RD NRD N A Read Signal 151 RST_IN NRST Processor Reset 152 RST_OUT RST_OUT Processor Reset 153 WAIT NWAIT PE30 Shutdown Control 154 F...

Страница 10: ...JTAG_RTCK NC Dynamic Clock Sync 2 4 3 One Wire I2C The SoM 200 specification calls for a two wire I2C port The SoM A5D36 does not have a native hardware One Wire port but does provide general purpose...

Страница 11: ...n 14 GIG D TXRXD_P GIG Ethernet D pin 13 GIG C TXRXC_N GIG Ethernet C pin 15 GIG C TXRXC_P GIG Ethernet C pin 16 Ethernet_Rx GIG B TXRXB_N Low differential Ethernet receive line 18 Ethernet_Rx GIG B T...

Страница 12: ...als There is a GPIO line that can be utilized to enable USB power if necessary This is SoM pin 125 GPIO11 and is not required if power will always be on Remember the USB Data lines are differential pa...

Страница 13: ...a custom carrier is used Table 8 SPI Channel 0 SODIMM Pin SoM Pin Name Processor Pin Name s Port Line Description 22 SPI_MI SPI0_MISO PD10 SPI0 serial data in 23 SPI_MO SPI0_MOSI PD11 SPI0 serial data...

Страница 14: ...only be used if you are not concerned about compatibility with existing and future SoMs MCI2 is accessed through the SoM A5D36 s GPIO section Table 10 MMC SD Card Interface SODIMM Pin SoM Pin Name Pr...

Страница 15: ...Name Processor Pin Name s Port Line SoM Description 95 COMA_TXD TXD1 PB29 COMA transmit GPIO 96 COMA_RXD RXD1 PB28 COMA receive GPIO 97 COMA_CTS CTS1 PB26 COMA CTS GPIO 98 COMA_RTS RTS1 PB27 COMA RTS...

Страница 16: ...ODIMM Pin SoM Pin Name Processor Pin Name s Port Line Description 86 AudioA_SCLK TK0 PC16 I2S Serial Clock 87 AudioA_LRCLK Frame TF0 PC17 I2S Left Right Clock 88 AudioA_MCLK I2S Master Clock 89 AudioA...

Страница 17: ...igured to take advantage of several of the functions of the SoM A5D36 s internal silicon All of the internal A D ports are brought out here as well as all of the available IRQs the second SPI and the...

Страница 18: ...en of these channels are available through the edge connector The first four lines are used for a typical resistive 4 wire touchscreen The ATSAMA5D36 does support 5 wire touchscreens In addition to th...

Страница 19: ...O section of the SoM and the rest are available as alternate pin functions Table 21 Timers Counters SODIMM Pin SoM Pin Name Processor Pin Name s Description 99 COMA_DTR TIOA3 PC0 Timer 3 IO A 100 COMA...

Страница 20: ...DAT6 PA6 LCD BLUE6 64 LCD_BLUE7 LCDDAT7 PA7 LCD BLUE7 65 LCD_GREEN0 LCDDAT8 PA8 LCD GREEN0 66 LCD_GREEN1 LCDDAT9 PA9 LCD GREEN1 67 LCD_GREEN2 LCDDAT10 PA10 LCD GREEN2 68 LCD_GREEN3 LCDDAT11 PA11 LCD G...

Страница 21: ...fore storing in memory through DMA The interface can accommodate both 8 and 12 bit sensors Table 23 Image Sensor Interface SODIMM Pin SoM Pin Name Processor Pin Name s Description 73 LCD_RED0 ISI_D0 L...

Страница 22: ...ides power to the internal analog circuitry of the processor It can be typically connected to 3 3V LC filtering for this power signal is provided on module 2 6 Boot Options The SoM specification provi...

Страница 23: ...high end microcontroller performance with low power requirements 3 1 Off the Shelf Carriers Many SoM A5D36 applications can make use of EMAC s off the shelf carriers These carriers provide power to th...

Страница 24: ...r be sure to use a 200 pin DDR1 SODIMM socket instead of the more common DDR2 socket The DDR2 socket is keyed in such a way as to prevent the SoM from being inserted into it The part number for a comp...

Страница 25: ...backup voltage comes from the VSTBY SoM pin and should be connected to 3 3 volts The RTC will draw approximately 8 A when the processor is not powered by the 3 3V supply Be aware that the Static curre...

Страница 26: ...provides it to any OS loaded after that point 4 2 Embedded Linux EMAC Open Embedded Linux EMAC OE Linux is an open source Linux distribution for use in embedded systems The EMAC OE Linux Build is bas...

Страница 27: ...t Creator Qt Creator is a cross platform IDE Integrated Development Environment tailored to the needs of Qt developers but works well for Headless applications as well EMAC provides sample code as pro...

Отзывы: