首页 Tiny210 User Manual

Tiny210 User Manual

举报
开通vip

Tiny210 User Manual V1.0 CoreWind Technology Co.,Limited Tiny210Tiny210Tiny210Tiny210 UserUserUserUsermanualmanualmanualmanual www.minidevs.comwww.minidevs.comwww.minidevs.comwww.minidevs.com 1 Tiny210Tiny210Tiny210Tiny210 UserUserUserUser manualmanualmanualmanual Ver 1.0 -...

Tiny210 User Manual
V1.0 CoreWind Technology Co.,Limited Tiny210Tiny210Tiny210Tiny210 UserUserUserUsermanualmanualmanualmanual www.minidevs.comwww.minidevs.comwww.minidevs.comwww.minidevs.com 1 Tiny210Tiny210Tiny210Tiny210 UserUserUserUser manualmanualmanualmanual Ver 1.0 -------------------------------------------------------------------------- Date: 2012 -2-2 www.minidevs.com V1.0 CoreWind Technology Co.,Limited Tiny210Tiny210Tiny210Tiny210 UserUserUserUsermanualmanualmanualmanual www.minidevs.comwww.minidevs.comwww.minidevs.comwww.minidevs.com 2 ContentContentContentContent Chapter I Overview........................................................................................................................... 4 1.1 OverView.............................................................................................................................4 1.2 Hardware Features...............................................................................................................5 1.3 CPU board interface............................................................................................................ 7 1.4 Mother board interface........................................................................................................ 7 Chaper II Hardwarew Specification.................................................................................................. 8 2.1 Power...................................................................................................................................9 2.2 Serial Port............................................................................................................................ 9 2.3 USB interface.................................................................................................................... 10 2.4 Network Interface...................................................................................................... 11 2.5 RS485 Interface......................................................................................................... 11 2.6 CCDAV Camera Interface.........................................................................................11 2.7 Audio Interface.................................................................................................................. 12 2.8 TV-Out Interface................................................................................................................12 2.9 User Key............................................................................................................................13 2.10 LCD interface.................................................................................................................. 13 2.11 ADC Input........................................................................................................................14 2.15 PWM Buzzer................................................................................................................... 15 2.16 Infrared Receiver............................................................................................................. 15 2.17 I2C-EEPROM..................................................................................................................15 2.18 SD card............................................................................................................................ 15 2.19 SDIO-II/SD-WiFi interface............................................................................................. 16 2.20 CMOS camera interface.................................................................................................. 16 2.21 HDMI interface............................................................................................................... 17 Chapter III Android system development........................................................................................18 3.1 Build environment............................................................................................................. 18 3.2 Source code Prepared........................................................................................................ 18 3.3 Configure and Compile Linux Kernel............................................................................... 19 3.4 Create Android...................................................................................................................19 3.5 Create or Run File System.................................................................................................20 Chapter IVAndroid Application Programming Guide.................................................................... 21 4.1 Install the Application Programming environment............................................................21 4.1.1 Step 1: download and install JDK(Java SE Development Kit)...............................21 4.1.2 Step 2: download and install Android SDK............................................................22 4.1.3 Step 3: download and install Android2.3 Package................................................. 23 4.1.4 Step 4: install Eclipse development environment...................................................24 4.1.5 Step 5: install Android Development Tools............................................................ 25 4.1.6 Step 6: Configure the Eclipse................................................................................. 25 4.1.7 Create Android AVD...............................................................................................26 V1.0 CoreWind Technology Co.,Limited Tiny210Tiny210Tiny210Tiny210 UserUserUserUsermanualmanualmanualmanual www.minidevs.comwww.minidevs.comwww.minidevs.comwww.minidevs.com 3 4.1.9 Creat HelloTiny210 project.................................................................................... 27 4.1.10 Run HelloTiny210Application Program in AVD................................................. 28 4.1.11 Step 8: Create the Debugging environment for Tiny210...................................... 29 4.2 Program access to hardware in Andorid............................................................................ 34 4.2.1 How to use the library (libfriendlyarm-hardware.so)?......................................... 34 4.2.2 library(libfriendlyarm-hardware.so) API introduce................................................ 36 4.2.3 API Demo introduce............................................................................................... 40 V1.0 CoreWind Technology Co.,Limited Tiny210Tiny210Tiny210Tiny210 UserUserUserUsermanualmanualmanualmanual www.minidevs.comwww.minidevs.comwww.minidevs.comwww.minidevs.com 4 ChapterChapterChapterChapter IIII OverviewOverviewOverviewOverview 1.11.11.11.1 OverViewOverViewOverViewOverView The Tiny210 Single Board Computer is a high-performance controller board introduced. It is designed based on the S5PV210 microcontroller, 512MByte DDR2 RAM, 1GByte Nand Flash, RTC, Audio and net on board. It has integrated RS232, USB, Ethernet, Audio In/Out, Keyboard, LCD, HDMI, TV out, camera in, SDIO WiFi Module, SD card and more other functions on board. So many hardware resources provided by the expansion board, it becomes a solid reference board for customer design. We also offers a complete software development package to customers. The board supports linux 2.6.35, Android2.3 operating system and is provided with complete basic drivers which enable a quick channel to evaluate the Samsung S5PV210 processor and customize application software. It would be an ideal development platform for multimedia and communication applications. V1.0 CoreWind Technology Co.,Limited Tiny210Tiny210Tiny210Tiny210 UserUserUserUsermanualmanualmanualmanual www.minidevs.comwww.minidevs.comwww.minidevs.comwww.minidevs.com 5 1.21.21.21.2 HardwareHardwareHardwareHardware FeaturesFeaturesFeaturesFeatures The Tiny210 Single Board Computer is based on S3C6410 processor. This board is characterized as follows: Tiny210Tiny210Tiny210Tiny210 CPUCPUCPUCPU boardboardboardboard Tiny210 CPU board is a high-performance Cortex A8 core board. It uses Samsung S5PV210 as the main processor, running at up to 1GHz. Integrated PowerVR SGX540 S5PV210 internal high-performance graphics engine, support for 3D graphics run smoothly, and can be smooth to play 1080P video of the large size. Mainly using the tiny210 double-pin 2.0mm pitch, leads to the CPU the most common functional pin, and seeks to Tiny6410 core board three rows of pin-compatible (P1, P2, and the CON2); also features the S5PV210 chips, respectively, leads to the standard miniHDMI interface, and 1.0mm pitch SMD CON1 Block (51Pin), as shown above. Tiny210 onboard 512M DDR2 memory, and can smoothly run advanced operating system, Android, Linux and WinCE6. It is ideal for the development of high-end Internet of Things, advertising, multimedia terminal, smart home, high-end surveillance system, video game control panel device. CPUCPUCPUCPU boardboardboardboard HarewareHarewareHarewareHareware � CPUCPUCPUCPU: 1 GHz Samsung S5PV210 with PowerVR SGX540 graphics engine � DDR2DDR2DDR2DDR2 RAMRAMRAMRAM: 512MB DDR2 RAM, 32bit data bus, 200MHz � FLASH:FLASH:FLASH:FLASH: SLC NAND Flash: 256MB/1GB Multi-IOMulti-IOMulti-IOMulti-IO � 2 x 60 Pin 2.0mm space DIP connector � 1 x 51 Pin 1.0mm space SMD connector � 1 x 30 Pin 2.0mm space DIP connector onononon BoardBoardBoardBoard sourcesourcesourcesource � HDMI interface � 4 x User Leds(Green) � 1 x Power Led(Red) V1.0 CoreWind Technology Co.,Limited Tiny210Tiny210Tiny210Tiny210 UserUserUserUsermanualmanualmanualmanual www.minidevs.comwww.minidevs.comwww.minidevs.comwww.minidevs.com 6 � Supply Voltage from 2V to 6V MechanicalMechanicalMechanicalMechanical: Dimension: 64x 50x 11mm SoftwareSoftwareSoftwareSoftware: Android 4.0, Android 2.3, Linux 2.6.35, Qtopia-2.2.0/Qt-4.4.3/Qt-4.7 Tiny210Tiny210Tiny210Tiny210 MotherMotherMotherMother boardboardboardboard • 1. Integrated USB 2.0 Hub: Extended 4 USB host ports, three of them as the standard side port, and one was lead by SCON interface • 2. AV CCD Camera In: Integrated TVP5150 video chip: 2 AV input port (RCA), can be directly connected using a CCD camera • 3. RS485: 1 RS485 interface • 4. Serial Port: 4 serial port, two of them have been converted to RS232, and leads through the DB9 Block (COM0, COM1), through the CON1, 2, 3, 4, Block leads to TTL level • 5. keys: 8 key • 6. RJ45 Ethernet port: using DM9000AEP, 10/100M adaptive • 7. Audio input and output: using the WM8960 professional audio chip, containing Class D amplifier on-board microphone, and supports HDMI audio and video synchronization output • 8. USB Slave: 1 Road, the USB 2.0 specification • 9. Infrared receiver: 1 • 10. ADC input: 6 ADC input • 11. Buzzer: 1, control by the PWM0 • 12. EEPROM: AT24C08 (256 Byte) for I2C test • 13. LCD Interface: 2 LCD interface, both 40 Pin 0.5mm Pitch Chip Block, support 3.5 "-19" full color TFT display LCD • 14. SDIO interface: used to connect the SD WiFi module and other • 15. CMOS Camera interface: used to connect CMOS camera • 16. RTC clock: with a backup battery (according to different regions or time periods, mailing may remove the battery) • 17. PCB layer: 2 • 18. PCB size: 180 x 130mm, can be easily fixed all kinds of LCD modules, especially the 7-inch LCD module • 19. Power supply: DC-5V V1.0 CoreWind Technology Co.,Limited Tiny210Tiny210Tiny210Tiny210 UserUserUserUsermanualmanualmanualmanual www.minidevs.comwww.minidevs.comwww.minidevs.comwww.minidevs.com 7 1.31.31.31.3 CPUCPUCPUCPU boardboardboardboard interfaceinterfaceinterfaceinterface 1.41.41.41.4 MotherMotherMotherMother boardboardboardboard interfaceinterfaceinterfaceinterface V1.0 CoreWind Technology Co.,Limited Tiny210Tiny210Tiny210Tiny210 UserUserUserUsermanualmanualmanualmanual www.minidevs.comwww.minidevs.comwww.minidevs.comwww.minidevs.com 8 ChaperChaperChaperChaper IIIIIIII HardwarewHardwarewHardwarewHardwarew SpecificationSpecificationSpecificationSpecification This section provides a definition of the pin-outs and cables to be used with all of the connectors and headers on the board. V1.0 CoreWind Technology Co.,Limited Tiny210Tiny210Tiny210Tiny210 UserUserUserUsermanualmanualmanualmanual www.minidevs.comwww.minidevs.comwww.minidevs.comwww.minidevs.com 9 2.12.12.12.1 PowerPowerPowerPower The Tiny210 is powered by an external 5V power supply. It has two power inlets: CN1 is for 5V power adapter and the white CON13 is a 4 pin socket used to connect an external power supply when the board is embedded in a closed box. CON13 No. Pin define 1 VDD5V 2 GND 3 GND 4 VDDIN The Power CN1 interface and size is as follow: 2.22.22.22.2 SerialSerialSerialSerial PortPortPortPort S5PV210 has 4 serial ports: UART0, 1, 2 and 3. UART0 and 1 are 5 wire serial ports and the other two are 3 wire serial ports. On this board, UART0 and UART1 is converted via RS232 to COM0 and COM1 and can communicate with a PC via a serial port cable. The rest 4 ports are connected to CPU via CON1-4. They are presented as below: V1.0 CoreWind Technology Co.,Limited Tiny210Tiny210Tiny210Tiny210 UserUserUserUsermanualmanualmanualmanual www.minidevs.comwww.minidevs.comwww.minidevs.comwww.minidevs.com 10 CON2 Pin Define (TTL) CON1, 3,4 Pin Define (TTL) COM0 Pin Define (Rs232) 1 RTSn 1 NC 1 NC 2 CTSn 2 NC 2 RSRXD 3 TXD 3 TXD 3 RSTXD 4 RXD 4 RXD 4 NC 5 5V 5 5V 5 GND 6 GND 6 GND 6 NC 7 NC 8 NC 9 NC COM1 Pin Define(Rs232) 1 NC 2 RSRXD 3 RSTXD 4 NC 5 GND 6 NC 7 RSCTSn 8 RSRTSn 9 NC 2.32.32.32.3 USBUSBUSBUSB interfaceinterfaceinterfaceinterface The Tiny210 board has two kindUSB interfaces. One is a USB host 2.0 which is the same as a USB interface on a PC and can connect to a USB camera, keyboard, mouse, flash drive and other USB devices, it have 3 USB Host. The other is an OTG mini USB 2.0 which is usually used to download programs to a target board. When the board runs Android it can use for ADB debug function. V1.0 CoreWind Technology Co.,Limited Tiny210Tiny210Tiny210Tiny210 UserUserUserUsermanualmanualmanualmanual www.minidevs.comwww.minidevs.comwww.minidevs.comwww.minidevs.com 11 Mini USB interface: Miniusb Pin Define 5 GND 4 OTGID 3 D+ 2 D- 1 Vbus USB Host: Miniusb Pin Define 4 5V 3 D- 2 D+ 1 GND 2.42.42.42.4 NetworkNetworkNetworkNetwork InterfaceInterfaceInterfaceInterface The Tiny210 incorporates a DM9000 chip and can communicate with 10/100M networks. The RJ45 connector includes coupling filters and does not need transformers. With a common network cable, you can connect a router or switch to the Tiny210. 2.52.52.52.5 RS485RS485RS485RS485 InterfaceInterfaceInterfaceInterface It have a RS485 interface, it is CON14. . 2.62.62.62.6 CCDCCDCCDCCDAVAVAVAV CameraCameraCameraCamera InterfaceInterfaceInterfaceInterface The board expand CCDAV Camera interface with TVP5150 chips, support CCD camera V1.0 CoreWind Technology Co.,Limited Tiny210Tiny210Tiny210Tiny210 UserUserUserUsermanualmanualmanualmanual www.minidevs.comwww.minidevs.comwww.minidevs.comwww.minidevs.com 12 2.72.72.72.7 AudioAudioAudioAudio InterfaceInterfaceInterfaceInterface The S5PV210 supports I2S/PCM/AC97. The Tiny210 has an I2S0 interface which uses WM8960 as the CODEC chip. The audio output is a 3.5 mm spaced green plug, and WM8960 support D class power amplifier, so Tiny210 also expand the Speaker socket (CON7), the user can directly connected to 8 Ω 1 W speakers. The input is an on-board microphone. To get better audio quality please move the microphone as close as possible to the audio source when recording. 2.82.82.82.8 TV-OutTV-OutTV-OutTV-Out InterfaceInterfaceInterfaceInterface The S5PV210 has one TV output. The Tiny210 magnifies the output of DACOUT0, users can connect the board to a TV via an AV cable. Note: when connecting DACOUT0 to a TV users need to switch the TV to the CVBS mode. V1.0 CoreWind Technology Co.,Limited Tiny210Tiny210Tiny210Tiny210 UserUserUserUsermanualmanualmanualmanual www.minidevs.comwww.minidevs.comwww.minidevs.comwww.minidevs.com 13 2.92.92.92.9 UserUserUserUser KeyKeyKeyKey The Tiny210 has 8 test keys. They all are CPU interrupt input signals and will be triggered at a low level voltage. They can also be multiplexed to GPIO and other function interfaces. To multiplex them users can extend them through CON12. These 8 keys are defined as follows: KEY K1 K2 K3 K4 K5 K6 K7 K8 Interrupt EINT16 EINT17 EINT18 EINT19 EINT24 EINT25 EINT26 EINT27 GPIO GPH2_0 GPH2_1 GPH2_2 GPH2_3 GPH3_0 GPH3_1 GPH3_2 GPH3_3 2.102.102.102.10 LCDLCDLCDLCD interfaceinterfaceinterfaceinterface For users'convenience we incorporate two LCD interfaces on the board: LCD1 and LCD2. LCD1 is a 1.0mm spaced 41 pin connector and compatible with Mini2440 LCD; The LCD connector has most of the commonly used control signals (line sweeping, clock, enable/disable) and complete RGB data signals (RGB output is 8:8:8 and can support LCDs up to 1.6M pixels). It has a PWM output and a reset signal (nRESET). LCD_PWR is the backlight switch signal. Notice: Because the use of 1-wired touchscreen, LCD1 does not include four-wire resistive touch pin from CPU, but the addition of I2C and interrupt pins (see LCD1-37,, 38,39,40), this is designed to will be able to use capacitive touch screen. LCD2 will include a more extensive CPU pins, or detail table below the schematic. V1.0 CoreWind Technology Co.,Limited Tiny210Tiny210Tiny210Tiny210 UserUserUserUsermanualmanualmanualmanual www.minidevs.comwww.minidevs.comwww.minidevs.comwww.minidevs.com 14 LCD1&LCD2 Pin defines LCD1&LCD2 Pin defines 1 VDD_5V 2 VDD_5V 3 VD0 4 VD1 5 VD2 6 VD3 7 VD4 8 VD5 9 VD6 10 VD7 11 GND 12 VD8 13 VD9 14 VD10 15 VD11 16 VD12 17 VD13 18 VD14 19 VD15 20 GND 21 VD16 22 VD17 23 VD18 24 VD19 25 VD20 26 VD21 27 VD22 28 VD23 29 GND 30 PWM1/GPD0_1 31 XEINT10/GPH1_2 32 nRSTOUT 33 VDEN 34 VSYNC 35 HSYNC 36 VCLK 37 I2CSCL2 38 XEINT14/GPH1_6 39 I2CSDA2 40 XEINT15/GPH1_7 41 GND 2.112.112.112.11 ADCADCADCADC InputInputInputInput The Tiny210 has 6 A/D conversion channels, According to different purposes, scattered in various interfaces: AIN0 is connected to the adjustable resistor W1; AIN1, 4, 5, 6 and 7 are extended via CON6's . The S5PV210’s AD conversion can be configured to 10-bit/12-bit. V1.0 CoreWind Technology Co.,Limited Tiny210Tiny210Tiny210Tiny210 UserUserUserUsermanualmanualmanualmanual www.minidevs.comwww.minidevs.comwww.minidevs.comwww.minidevs.com 15 2.152.152.152.15 PWMPWMPWMPWMBuzzerBuzzerBuzzerBuzzer The on-board SPEAKER is controlled by PWM0, the diagram is shown below. PWM0 corresponds to GPD0_0 which can be configured as PWM output via software or used as a GPIO. 2.162.162.162.16 InfraredInfraredInfraredInfrared ReceiverReceiverReceiverReceiver The Tiny210 has an infrared receiver. Its type is IRM3638 (or others compatible). It connects to EINT9(GPH1_1). 2.172.172.172.17 I2C-EEPROMI2C-EEPROMI2C-EEPROMI2C-EEPROM The Tiny210 has an EEPROMAT24C08 connected to CPU's I2C. It has 256 bytes memory and is mainly for testing I2C bus. 2.182.182.182.18 SDSDSDSD cardcardcardcard The S5pV210 has four SDIO interfaces. SDIO0 is commonly used for SD cards. V1.0 CoreWind Technology Co.,Limited Tiny210Tiny210Tiny210Tiny210 UserUserUserUsermanualmanualmanualmanual www.minidevs.comwww.minidevs.comwww.minidevs.comwww.minidevs.com 16 2.192.192.192.19 SDIO-II/SD-WiFiSDIO-II/SD-WiFiSDIO-II/SD-WiFiSDIO-II/SD-WiFi interfaceinterfaceinterfaceinterface The SDIO4 of the S2PV210 is extended via CON9. It is a 2.0 mm spaced 20 pin connector and includes an SPI, an I2C and 4 GPIOs. CON9 Pin define CON9 Pin define 1 VDD_3.3V 2 GND 3 4 5 I2CSCL0 6 I2CSDA0 7
本文档为【Tiny210 User Manual】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_041321
暂无简介~
格式:pdf
大小:5MB
软件:PDF阅读器
页数:0
分类:互联网
上传时间:2012-08-02
浏览量:7