SBC-SAM9G20 User manual www.armdevs.com SBC-SAM9G20 User manual Ver 1.0 Date: 2010-10-20 CoreWind Technology : +86-755-29638421 Email : market@armdevs.com Web : www.armdevs.com...
Page 2
SBC-SAM9G20 User manual www.armdevs.com Change History Date Description V1.0 2010-10-20 The initial released Version V2.0 2011-4-1 Rename the CW9G20 to SBC-SAM9G20 V2.1 2011-5-10 Support character LCD by GPIO extended...
Chapter 4 Software Description ........... 19 4.1 Overview................19 4.2 Data Storage on SBC-SAM9G20 ........19 4.2 SBC-SAM9G20 Linux Burning and application test..... 19 Chapter 5 Linux System Development......... 20 5.1 Install the Cross Compiler Tools ........20 5.1.1 Uncompress the tools..........20 5.1.2 Add Path in your environment file......
Systems. A SBC (Single Board Computer) is a small embedded module that contains the core of a microprocessor system. The SBC-SAM9G20 is the ideal processor engine for your next design. All of the ARM processor core functionality is included on this board including: Flash, Memory, Serial Ports, Ethernet, CAN bus, USB Host, USB Device, I2S, SPI, A/D, RTC, digital I/O lines, and more.
Real-time clock and watch-dog timer • Digital I/O 1.3 SBC-SAM9G20 Kit Deliverables The SBC-SAM9G20 Single Board Computer comes with all of the necessary hardware and software to quickly develop applications. The kit includes the following: • One SBC-SAM9G20 Board • One Serial cable •...
Page 7
SBC-SAM9G20 User manual www.armdevs.com • Forum When you have some questions, you can search the Forum, maybe you can find the right method to solve the board problem, Or you can ask your questions in the Forum. The Forum website: http://www.at91sam.org/forum...
2.1 Assembly and Connections In order to use the SBC-SAM9G20 the user must first assemble and connect the peripherals to the SBC-SAM9G20, as described in the following procedure. 1. Place the SBC-SAM9G20 on a static free surface.
SBC-SAM9G20 User manual www.armdevs.com Chapter 3 HardWare The following image shows where some of the hardware components are located. 3.1 SBC-SAM9G20 OverView System • CPU: Atmel AT91SAM9G20 (ARM926EJ core with MMU capable of 400MHz operation) • RAM: 64Mbyte SDRAM •...
Page 10
Temperature: -10°C to 70° C • Power supply: 12V 3.2 AT91SAM9G20(U7) The SBC-SAM9G20 Single Board Computer uses the Atmel AT91SAM9G20 as the core processor on this development board. The top-level features of AT91SAM9G20 processor are the following: • ARM926EJ-S RISC Core Processor...
More detailed information regarding the AT91SAM9G20 processor can be found at www.atmel.com 3.3 SDRAM(U1,U2) The AT91SAM9G20 features a unified memory address model where all memory devices are accessed over a common address and data bus. The SBC-SAM9G20 supports 64MB SDRAM. SDRAM chip name: MT48LC32M16A2P 3.4 FLASH(U9) The SBC-SAM9G20 is shipped with 256 Mbytes of NAND FLASH memory.
SBC-SAM9G20 User manual www.armdevs.com 3.7 RS232 Serial Ports(COM1, J23) Both Universal Asynchronous Receivers/Transmitters (UARTs) are level shifted to RS-232 levels. The COM1 is the debug USART port of the AT91SAM9G20, that reaches the external world through a male DB9 connector.
CAN_H CAN_L 3.10 NET(J22) The SBC-SAM9G20 Single Board Computer is shipped with support for a complete Ethernet interface. The AT91SAM9G20 contains a MAC subsystem that is compliant with the ISO/TEC 802.3 topology for a single shared medium with several stations.
SBC-SAM9G20 User manual www.armdevs.com 3.11 USB(J7,J9) The SBC-SAM9G20 Single Board Computer is shipped with 2 USB host port(J7) on standard USB type-A double deck connector. The SBC-SAM9G20 Single Board Computer is shipped with one USB device port J9. The USB device port signal assignment is listed in the following table.
Page 15
SBC-SAM9G20 User manual www.armdevs.com multiplexed functions and default usage on the SBC-SAM9G20 Single Board Computer. J3(GPIO, IIC interface) I/O Line Peripheral A Peripheral B Function PA25 GPIO PA29 GPIO PA26 GPIO PA22 GPIO PA27 GPIO PB21 GPIO PA28 GPIO PA23...
ADC interface ADC interface ADC interface 3.15 Watchdog The SBC-SAM9G20 uses the AT91SAM9G20 on-chip Watchdog, it will output reset signal if it can not generate external clock,so it can be used to reset system when system hang. 3.16 RTC The SBC-SAM9G20 uses the external RTC chips DS3231SN with battery hook-up to provide accurate time keeping.
Page 18
SBC-SAM9G20 User manual www.armdevs.com D22 Power LED...
4.1 Overview This chapter provides information regarding the software that is shipped with the SBC-SAM9G20 Board. The software included with the board is U-boot boot loader, Linux kernel 2.6.30, and root file system. The applications included provide access to all hardware functions on the SBC-SAM9G20 board.
SBC-SAM9G20 User manual www.armdevs.com Chapter 5 Linux System Development 5.1 Install the Cross Compiler Tools 5.1.1 Uncompress the tools opy the arm-2007q1-10-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 /opt/codesourcery folder (arm-2007q1-10-arm-none-linux-gnueabi-i686-pc-linux- position: CD:/linux/tools) gnu.tar.bz2 # sudo mkdir /opt/codesourcery/ # sudo tar xvjf arm-2007q1-10-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 -C /opt/ codesourcery/...
SBC-SAM9G20 User manual www.armdevs.com # cd board/CW9G20/nandflash/ # make If there is no error, nandflash_at91sam9g20ek.bin should have been generated with a file size of about 130~150Kbyte. you can get it in bootloader/s3c-u-boot-1.3.4/board/CW9G20/nandflash/folder. 5.2.2 Boot-loader compile copy the file u-boot-1.3.4.tar.bz2 From CD to ubuntu system in PC.
Page 22
SBC-SAM9G20 User manual www.armdevs.com The file “rfs_CW9G20.tar.gz” was the filesystem, and we can edit it and then compress rfs_CW9G20.tar.gz position: CD\Linux\code\filesystem Run the follow command to uncompress it and make it. Step 1. Uncompress the file # mkdir root_qtopia # cd root_qtopia # cp -a /media/cdrom/Linux/code/filesystem/rfs_CW9G20.tar.gz...
Page 23
SBC-SAM9G20 User manual www.armdevs.com SPI config Device Drivers ---> [*] SPI support ---> <*> Atmel SPI Controller <*> User mode SPI device driver support I2C config Device Drivers ---> <*> I2C support ---> <*> I2C device interface [*] Autoselect pertinent helper modules <*>...
Page 24
SBC-SAM9G20 User manual www.armdevs.com...
Need help?
Do you have a question about the SBC-SAM9G20 and is the answer not in the manual?
Questions and answers