Home

iW-SDIO-UART Bridge Demo Board User Manual

image

Contents

1. 2 3 7 Power adapter jack Fixed voltage versions TPS75233Q and TPS75215Q are used which provides 3 3 V and 1 5V from the power input of 5V 2 4 Pin outs of iW SDIO UART Bridge The pin outs of iW SDIO UART Bridge is as shown in the table below Table 1 Pin outs of iW SDIO UART Bridge iW SDIO UART Bridge A3P250 PQPF 208 FPGA PINS PIN numbers sys_rst_n_i sd_clk_1 uart_ri_i sys_clk_i sd_cmd_io uart_dsr_1 uart_Stx_o 1Wave Systems Technologies Pvt Ltd Page 9 of 20 8 X AVE iW SDIO UART Bridge Demo Board User Manual Embedding Intelligence R 1 2 iW SDIO UART Bridge A3P250 PQPF 208 FPGA PINS PIN numbers uart_cts_1 sd_data_io O uart_dtr_o sd_data_io 3 sae 2 5 Pin outs of GPIO Table 2 Pin outs of GPIO GPIO PINS A3P250 PQPF 208 FPGA PIN numbers GPIO1I GPIO2 GPIO3 GPIO4 GPIOS5 GPIO6 GPIO7 GPIO8 GPIO10 GPIO14 GPIOI5 GPIOI6 GPIO17 eo m 1Wave Systems Technologies Pvt Ltd Page 10 of 20 8 y AVE iW SDIO UART Bridge Demo Board User Manual Embedding Intelligence R 1 2 GPIO PINS A3P250 PQPF 208 FPGA PIN numbers GPIO18 GPIO19 eow m GPIO21 GPIO22 GPIO23 2 6 Pin outs of Test LEDs Table 3 Pin outs of LEDs LEDPINS A3P250 PQPF 208 FPGA PIN numbers 1Wave Systems Technologies Pvt Ltd Page 11 of 20 e X AVE iW SDIO UART Bridge Demo Board User Manual Embedding Intelligence R 1 2 3 Quick Start
2. 3 1 Software Installation 1 Copying SDIO drivers provided in to the Laptop which is running Ubuntu 8 10 OS e Copy the drivers provided in to a memory stick e Insert the memory stick in USB slot of the Laptop with Ubuntu After insertion a USB device will appear on the Ubuntu Desktop screen On clicking on that device will show all the contents of memory stick Copy the driver sdio_uart ko file application sdio_rw out file and script sdio sh file and paste in to home ubuntu folder In Ubuntu Desktop go to Places gt Home Folder Or it can be copied using command line Open terminal in the Ubuntu which can be found in following path Applications gt Accessories gt Terminal Enter the below given commands sudo cp media disk sdio_uart ko home ubuntu sudo cp media disk sdio_rw out home ubuntu sudo cp media disk sdio sh home ubuntu e Unmount the memory stick which can be done by right clicking on the removable disk and select unmount volume and remove it from the laptop 2 Installation of the SDIO UART driver e Open terminal in the Ubuntu which can be found in following path from the Ubuntu desktop Applications gt Accessories gt Terminal e Execute the sdio sh script in the linux terminal window using the following commands cd home ubuntu sudo sdio sh This will install the SDIO UART driver This can be verified by giving lsmod command The driver installation verification is as shown
3. 230400 but baudrate setting in the GtkTerm and sdio_rw out application need to pass desired baudrate as argument should same a test test laptop home aptop honesS sudo sdio_rw out hone cap txt 9600 o GtkTerm File Configuration Control signals View jnomejtest Folders Files J l txt af a tot Desktop dbg txt Documents gt_settings png Examples mec_settings png Music minicom log Pictures Aue leira tat b i oe iy i j Documents g New Folder Rename File yg Delete File Selection home test dbg txt E cancel Rx Figure 8 File transfer in GtkTerm The captured file cap txt saved in home folder In Ubuntu Desktop go to Places gt Home Folder gt cap txt can be compared with the original file dbg txt using text file comparison software or manually for verification 6 Testing Write operation Write refers to data dump to dev ttySDIOO device sdio uart e Character Write Keep the GtkTerm settings made before Simple character write operation can be tested by giving following command in the Ubuntu terminal sudo echo abcd gt dev ttySDIOO 1Wave Systems Technologies Pvt Ltd Page 18 of 20 WV AVE iW SDIO UART Bridge Demo Board User Manual Embedding Intelligence R 1 2 File Edit View Terminal Tabs Help ubuntu ubuntu sudo echo abcd gt devsttySDI00 ubuntu ubuntu ile Configuration Control signals View Help
4. cancel Figure 5 GtkTerm Settings 3 3 Demo board Testing Procedure 1 SDIO driver sdio_uart ko is installed in to the Laptop which is running with Ubuntu Installation steps are given in the section 3 1 Connect the RS 232 serial cable to the Demo board and other end is connected to the USB port of Laptop using USB to Serial converter cable and GtkTerm settings are made as given in section 3 2 Power ON the Demo board by connecting 5V power supply to the power jack of the Demo board Make sure that the power LEDs D6 D7 and D8 should glow in the demo board Insert the Demo board in to the Laptop Running with Ubuntu OS SDIO slot While Inserting in the SD MMC slot Laptop LED should glow Make sure that card insertion LED D5 and power LEDs D6 D7 and D8 are glowing in the demo board The prints can be checked in terminal window by giving dmesg command The terminal print is shown in the figure below mmc0 new SDIO card at address 0001 1Wave Systems Technologies Pvt Ltd Page 15 of 20 8 X AVE iW SDIO UART Bridge Demo Board User Manual Embedding Intelligence R 1 2 3 Applications Places System eco testatest laptop File Edit View Terminal Tabs Help test test laptop B test test laptop home test test laptop hones dmesg 14254 916337 mro queuing CIS tuple Ox0Oc length O 14254 924764 mro queuing CIS tuple OxOc length O 14254 927328 mnrO new SDIO card at address 0001 t
5. devjttyUSBO 9600 8 N 1 DIR RIS CTS CO DSR RI Figure 9 Character write This command will dump the characters in to dev ttySDIOO device The dumped data will appear on the GtkTerm Before giving this command make sure that GtkTerm is set to default baudrate 9600bps e File Write Do following settings in the GtkTerm as given in section 3 2 Write to the sdio device is done by giving following command cd home ubuntu sudo sdio_rw out home cap txt 9600 1 Where cap txt is the any text file present in the home ubuntu folder 1Wave Systems Technologies Pvt Ltd Page 19 of 20 e X AVE iW SDIO UART Bridge Demo Board User Manual Embedding Intelligence R 1 2 test laptop test test laptop home st test laptop honeS sudo sdio_rw out hone cap txt 9600 1 st test laptop hones File Configuration Control signals View Figure 10 File capture in GtkTerm Once data dumped in dev ttySDIOO device will appear in the GtkTerm window This can be tested for different baudrates up to a maximum of 230400bps But baudrate setting in the GtkTerm and sdio_rw out application should be same 1Wave Systems Technologies Pvt Ltd Page 20 of 20
6. 8 N AVE iW SDIO UART Bridge Demo Board User Manual Embedding Intelligence R 1 2 iW SDIO UART Bridge Demo Board User Manual 1Wave Systems Technologies Pvt Ltd Page 1 of 20 Wave Embedding Intelligence 1 Table of Contents INTRODUCTION 1 1 PURPOSE LZ SCOPE 1 3 OVERVIEW 1 4 DEMO BOARD AND ACCESSORIES 1 5 SOFTWARE REQUIREMENTS 1 6 PLATFORM HIGHLIGHTS IW SDIO UART BRIDGE DEMO BOARD 2al COMPLETE DEMO SETUP 22 DEMO BOARD BLOCK DIAGRAM 25 DESCRIPTION 2 3 1 SDIO interface 2 3 2 Oscillator 2 3 3 UART interface 2 3 4 USB interface 2 3 5 JTAG connector 2 3 6 Expansion connectors 2 3 7 Power adapter jack 2 4 PIN OUTS OF IW SDIO UART BRIDGE 2D PIN OUTS OF GPIO 2 6 PIN OUTS OF TEST LEDS QUICK START 3 1 SOFTWARE INSTALLATION 3 2 GTKTERM SETTINGS 3 3 DEMO BOARD TESTING PROCEDURE 1Wave Systems Technologies Pvt Ltd Page 2 of 20 iW SDIO UART Bridge Demo Board User Manual R 1 2 OOO OO WMA oo ooN N ANNA AH A pb d pd N m Mn B N e X AVE iW SDIO UART Bridge Demo Board User Manual Embedding Intelligence R 1 2 List of Figures Figure 1 Detailed view of iW SDIO UART Bridge demo Board ce eeececcceeeeeeeeeeeeeeeeeeeeeeees 4 Figure 2 1W SDIO UART Bridge demo board Setup cc cesecssecceeecceeeeeseeeeecceeeeaaeeeseeeeeees 7 Figure 3 Block diagram of 1W SDIO UART Bridge demo board cceecceeeeeeeeceeeeeeeeeeeeeees 8 Figure 4 SDIO UART
7. Laptop with SDIO slot and having linux Ubuntu 8 10 OS e SDIO UART device driver sdio_uart ko file e Serial port application such as GtkTerm or any other serial port application e Serial port application to test the demo board sdio_rw out file 1 6 Platform highlights iW SDIO UART Bridge demo board consists of the following General o Actel ProASIC3 A3P250 PQFP 208 o 18 432 MHz Clock crystal oscillator o UART transceiver MAX3241 o USB transceiver USB1T20 o 4power LED outputs and 4 test LED outputs Connectors and interfaces o SDIO interface o Power adapter jack J5 1Wave Systems Technologies Pvt Ltd Page 5 of 20 e X AVE iW SDIO UART Bridge Demo Board User Manual Embedding Intelligence R 1 2 o Flashpro3 Cable JTAG connector o RS 232 serial port o USB connector o FPGA I O signals through Expansion Connectors 1Wave Systems Technologies Pvt Ltd Page 6 of 20 a 1 X AVE iW SDIO UART Bridge Demo Board User Manual Embedding Intelligence R 1 2 2 iW SDIO UART Bridge Demo board 2 1 Complete demo setup a ai Figure 2 iW SDIO UART Bridge demo board setup 1Wave Systems Technologies Pvt Ltd Page 7 of 20 a 1 X AVE iW SDIO UART Bridge Demo Board User Manual Embedding Intelligence R 1 2 2 2 Demo Board Block diagram SDIO UART UART Interface Transceiver Connector Ne FPGA USB USB Connector A3P250 Transceiver Connector Power Expansion adapter jack Connectors Oscillator Fig
8. driver installation 20 0 ccessseeesssseseeeececcecceceeeeeeaaaaeeaessseseeeeeeeeeeeeeeees 13 TSU oe Cai BOM CU 8 A E E N A A EA E 15 Fere o Oren eG RU elt onlo Leeann ne A S 16 EUS 7 OA ACU eC A aos E E A E E A E AE E 17 PI SMe s Filetransior im CKT M errer r E E PE E 18 Ficu EAC WEO aces ngs oat pe hee pe cence EE EEEE ENEE EE EE EE E EN E 19 Figure 10 File capture 1n Gtk Term 2 0 0 ccccccccnssesesseseseeeeeeeceeeeeeceeeeeaaaaaaeeseseeeeeeeeeeeeeeeeeeeaaas 20 List of Tables Table 1 Pin outs of iW SDIO UART Bridge xccosish icctinarenichadeandanceteeilastacatersiaaadimeencctiaes 9 Table 2 Pin outs of GPIO eve svedes ceases aecccnecececousneteenvenese ta velneceate ces caaneaudelentactenczeueleuccosecesseasenekeenues 10 Ae oP UT OMNES ol LEDS eoira aii ub hte aasescacniadeud bormtadetens Meaaieniees 11 1Wave Systems Technologies Pvt Ltd Page 3 of 20 a 1 X AVE iW SDIO UART Bridge Demo Board User Manual Embedding Intelligence R 1 2 1 Introduction 1 1 Purpose The purpose of this document is to explain the procedure to power on and setting up the working environment of iW SDIO UART Bridge demo board 1 2 Scope This document describes the Hardware connection procedure to power on inserting SDIO UART Bridge on the SD MMC slot and establishes serial communication with PC Laptop This document also helps to perform the tests to verify the working of iW SDIO UART Bridge 1 3 Overview Test LEDs Bd ee ee GPIO con
9. est test laptop honrs Figure 6 Card insertion log In case this print is not received on the terminal indicates that Demo board insertion is not proper or software installation is not proper In that case demo board is removed and re inserted again after resetting it Resetting is done by removing the power supply connected to the Demo board and connecting it again 5 Testing Read Operation This test can be a simple character read operation or may be a file read operation The driver installation will create node dev ttySDIOO this is a handle for the sdio uart device Here read operation refers to reading from dev ttySDIOO node That is data will flow from Demo board Serial port which 1s connected to USB port of same laptop using USB Serial cable to the SDIO slave device e Character Read Open a terminal window in Ubuntu In Ubuntu desktop go to Applications gt Accessories gt Terminal and give following command followed by enter key sudo cat dev ttySDIOO 1Wave Systems Technologies Pvt Ltd Page 16 of 20 IW AVE iW SDIO UART Bridge Demo Board User Manual Embedding Intelligence R 1 2 This command will dump the incoming data from dev ttySDIO device Sdio uart device on the terminal window TM1 Open a GtkTerm in the Laptop and follow the settings as mentioned in section 3 2 File Configuration Control signals View Help file Edit View Terminal Jabs Help ween UDUNtUGUbUNtU sud
10. in Figure 3 1Wave Systems Technologies Pvt Ltd Page 12 of 20 Wave Embedding Intelligence iW SDIO UART Bridge Demo Board User Manual R 1 2 File Edit View Terminal Tabs Help ubuntu Gubuntu lsmod Module Size Used by io uart 19268 0 i mmc block 17924 0 be sdhci pci 15360 0 sdhci 23940 1 sdhci pci F ee mmc core 58268 2 St er ee eit ext2 _ __ Y e _ 8 nls iso8859 1 12032 0 vfat 18816 0 fat 57376 1 vfat usb storage 81728 0 Libusual 27156 1 usb storage binfmt misc 16904 1 i915 38144 2 drm 86056 3 i915 ipv6 263972 10 af packet 25728 2 bridge 56980 0 stp 10628 1 bridge bnep 20480 2 sco 18308 2 rfcomm 44432 0 L2cap 30464 6 bnep rfcomm bluetooth 61924 6 bnep sco rfcomm l2cap ppdev 15620 0 parport pc 39204 lp 17156 0 parport 42604 3 ppdev parport pc lp acpi cpufreq 15500 1 cpufreq userspace 11396 90 cpufreq stats 13188 0 Figure 4 SDIO UART driver installation 3 GtkTerm Installation Provide internet connection to the Laptop In Ubuntu Desktop Open Systems gt Administration gt Synaptic Package Manager It will open Synaptic Package Manager window Open Settings gt Repositories in the Synaptic Package Manager window It will open Software Sources window Enable all the options under Downloadable from the internet in Ubuntu Software Tab Enable all the options under Ubuntu Updates in Updates Tab and then give OK Go to Edit gt Reload Package I
11. nectors PAAR ee by de be Je De aed FW ovr eas RS232 Serial port Interface SDIO Interface Clock crystal oscillator USB port n Interface PROASIC3 A3P250 PQPF 208 Power adapter jack J5 JTAG connector Power LEDs Figure 1 Detailed view of iW SDIO UART Bridge demo Board iW SDIO slave demo board can be used to evaluate SDIO to UART bridge SDIO to USB bridge or SDIO to any custom logic interface through expansion pins The demo board also enables any designers seeking a development platform to validate their bridge cores This versatility provides an ability to work with the SDIO bus and act as a useful bridge for target devices which require access to standard buses like UART USB etc The demo board comes preconfigured with an 1W SDIO UART Bridge hardware reference design 1Wave Systems Technologies Pvt Ltd Page 4 of 20 e X AVE iW SDIO UART Bridge Demo Board User Manual Embedding Intelligence R 1 2 Currently SDIO to UART bridge have been tested and proven using this demo board in Linux platform The SDIO interface supported by the bridging applications enables a low cost and small size implementation A typical application includes a communication link between SDIO interface and devices like UART USB PHS Bluetooth and W1 F1 etc 1 4 Demo Board and accessories o 1W SDIO UART Bridge demo board o DC 5V Power supply o USB to serial converter cable 1 5 Software Requirements e A
12. nformation in Synaptic Package Manager window It will update all the downloadable package information Exit the Synaptic Package Manager window Go to Applications gt Accessories gt Terminal in Ubuntu Desktop Give following command to install gtkterm in the Terminal sudo apt get install gtkterm Installation can be verified by giving sudo gtkterm command in the terminal 1Wave Systems Technologies Pvt Ltd Page 13 of 20 e X AVE iW SDIO UART Bridge Demo Board User Manual R 1 2 Embedding Intelligence 3 2 GtkTerm Settings GtkTerm Settings are done in the Laptop runnning with Ubuntu This application is used for the Demo board serial data transfer testing e Open a terminal window in the Ubuntu which is found in the following path Applications gt Accessories gt Terminal Give following command in the terminal sudo gtkterm This will launch GtkTerm application e Do following settings in the GtkTerm Open Configuration gt Port in the GtkTerm Port dev ttyUSBO Speed 9600 Bits 8 Parity None Stop bits 1 Flow control None 1Wave Systems Technologies Pvt Ltd Page 14 of 20 8 N AVE iW SDIO UART Bridge Demo Board User Manual Embedding Intelligence R 1 2 Sejal port Port Speed devittyusE0 v 9600 Bits Stopbits Flow control 8 ww 1 j none ASCII fle transfer End of line delay milliseconds Wait for this special character before passing to next line E
13. o cat dev ttyspI00 A iWave Systems Technologies Pvt Ltd E JevttyUSBO 9600 8 N 1 Figure 7 Character read Data input to the Demo board serial port is given by entering the characters followed by enter key in the GtkTerm application since Demo board serial cable is connected to the Laptop using USB Serial cable The characters will appear in the Ubuntu terminal window TM1 After completion of test cat command is killed by pressing CTRL C keys in TM1 e File Read This is tested by sending the file from GtkTerm and capturing that in the terminal window in Ubuntu In the Ubuntu Terminal window TM1 execute command given below followed by enter key which will dump the incoming data in sdio device to a file cap txt cd home ubuntu sudo sdio_rw out home cap txt 9600 0 In GtkTerm go to File gt Send Raw File Then select any text file to transfer on clicking OK will trigger the transfer 1Wave Systems Technologies Pvt Ltd Page 17 of 20 a X AVE iW SDIO UART Bridge Demo Board User Manual Embedding Intelligence R 1 2 Figure 7 given below showing procedure of sending dbg txt file to the Demo module After entering the command quickly file transfer should be started in the GtkTerm otherwise application sdio_rw out will be closed automatically In application sdio_rw out 9600 is the baudrate and 0 is for read operation This read operation can be tested for higher baudrates up to max
14. ure 3 Block diagram of iW SDIO UART Bridge demo board 2 3 Description 2 3 1 SDIO interface Physical bus interface takes care of the Command and data bus interface It supports CRC checking and generation for both Command and data SDIO FunctionO registers and other registers are supported 2 3 2 Oscillator Clock crystal oscillates at 18 432MHz 2 3 3 UART interface The UART Universal Asynchronous Receiver Transmitter provides serial communication capabilities which allow communication with modem or other external devices like another computer using a serial cable via UART transceiver MAX3241 and RS232 protocol It is capable of transmitting and receiving serial data up to 1Mbit s data rates 1Wave Systems Technologies Pvt Ltd Page 8 of 20 8 X AVE iW SDIO UART Bridge Demo Board User Manual Embedding Intelligence R 1 2 2 3 4 USB interface USB was designed to allow many peripherals to be connected using a single standardized interface socket USB is intended to replace many legacy varieties of serial and parallel ports USB transceiver USB1T20 is capable of transmitting and receiving serial data at both full speed 12Mbit s and low speed 1 5Mbit s data rates 2 3 5 JTAG connector Flashpro3 JTAG chain interface connected on this JTAG connector is used to program the FPGA by loading the programming files STAPL PDB 2 3 6 Expansion connectors GPIO Headers 16x2 are used for debugging on board FPGA signals

Download Pdf Manuals

image

Related Search

Related Contents

Pioneer HTZ777DVD Home Theater System User Manual    「安全上のご注意」 をよくお読みの上、 正しく施工してください。  Cornelius PR150 User's Manual  Manual de Usuario  PDF Instruction Manual - Electromatic Equipment Co., Inc  Vantec NexStar MX NST-400MX-SR  INSTALLATION MANUAL  775215 - Bricoman  Manuale installatore - Installer guide Manuel installateur  

Copyright © All rights reserved.
Failed to retrieve file