Home
STEVAL-PCC009V1, universal USB to serial
Contents
1. AMO04430v1 Zad 0 6c 9dd S d 8c r4 vad dd 9c Gc cad Ldd vc c Odd YJdWYL ELOd CC L LO LLOd Oc 6L 010d OlWd 8l LL 6Vd 9Vd DL SL ONS ES 69d vl tl 89d 49d a LL 99d g NOD A OL 6 ONS 24004 SLOd 8 Z vlad 979 ldd 9 G cladd Lladd V 0LOd 6dd 4 L 8dd Zr NIdO 2IH3N39 Glad 0 66 vlad elad 8c Z cL ad Llad 9c SC olad 63d F c 83d vad CC WA dd c3d 06 6l Lad 2 03d 8L JL Sid ven HO WU Wd SLO ZLYVSN dNYM Ovd 9L GL MO ZLYVSN vvd NOO A g CL ONS 24004 XY ZLYVSN PHO ZWIL EVd Ch LL XL 2LYVWSN EH WIL evd 949 ONE UL 6 ONS VHO vINIL 68d 8 H EHO PIL 98d Ani S WANS Lozi sad VOS LOZI 48d x TOS LOZI 98d ONG 4 L 23 33 Doc ID 15899 Rev 1 UM0726 UUSCI demonstration schematic part 2 Schematic and bill of materials Figure 39 AM06941v1 Y Co Pics 195 zazi Oldd dV 6 vas zazi L LI
2. 2 3 Using the UART SCI interface 2 3 1 EIS let e SEENEN 2 3 2 SCI header settings 3 WorkinginDFUmode Appendik A Schematic andbillof materials 3 1 SCNEMaliC wa 3 2 Bil of materials Revision history 2 33 Doc ID 15899 Rev 1 UM0726 UM0726 List of figures List of figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure 15 Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 Figure 21 Figure 22 Figure 23 Figure 24 Figure 25 Figure 26 Figure 27 Figure 28 Figure 29 Figure 30 Figure 31 Figure 32 Figure 33 Figure 34 Figure 35 Figure 36 Figure 37 Figure 38 Figure 39 Figure 40 Figure 41 Figure 42 Installationwindow 5 LICENSE WINGOW EEN 5 Desunaliopol AUAWA LWA ad arae ne I eae ey INE UN eae eae a 6 Jee de e Ongo EE 6 Insel EE 7 STEVAL PCCOO9V1 UUSCI demonstrationboard 7 Je JUMO 62445450064 E EE EE ees EE eg 8 Enumerationresult 9 Universal dongle GUI sass dai iet eciam EE ee 9 BoardisnotconnectedtoPC 1
3. er UMO0726 Y User manual STEVAL PCCOO9V1 universal USB to serial communication interface UUSCI based on the STM32x Introduction This user manual explains the functions of the STM32 based universal USB to serial communication interface UUSCI The objective of this manual is to demonstrate the functions present in the UUSCI demonstration board and how they can be utilized The UUSCI is a tool which has a 10 pin interface In this interface there is a provision for connecting a device which can communicate using IC SPI and UART Therefore the UUSCI tool allows the user to connect a serial communication based device to the PC While at the same time it allows the user to control some GPIOs available in the 10 pin interface and set them in input output modes as per application requirements In the UUSCI demonstration board the STM32 microcontroller is used as the interface between the PC and the end device Due to intelligence available in the STM32 device IFC SPI and UART are multiplexed in the same 10 pin interface leading to reduced board size and allowing more complex use Power to the board is provided from a USB mini B type connector The DLL files of the PC graphical user interface GUI are provided with this tool and the user can use these files to construct their own customized PC GUI as per requirements Therefore the UUSCI tool provides an option for the end user to focus solely on its application development as the
4. Do not use the Licensed Software until You have read and agreed to the e the terms of the icense agree Print C do not accept the terms of the license agreement Instatizimeld c Beck Een AM04378v1 Doc ID 15899 Rev 1 5 33 d Getting started UM0726 e Step 3 please select the folder in which to install the software By default it installs the software in the following path C STMicroelectronics Universal Dongle GUI Figure 3 Destination folder Universal Dongle GUI InstallShield Wizard Choose Destination Location Select folder where setup will install files Install Universal Dongle GUI to CAST Microelectronics Universal Dongle GUI AM04379v1 e Step 4 after selecting the folder and clicking the Next button installation of the software starts Figure A Installation ongoing Universal Dongle GUI InstallShield Wizard Setup Status The InstallShield Wizard is installing Universal Dongle GUI AM04380v1 KI 6 33 Doc ID 15899 Rev 1 UNO 26 Getting started e Step 5 when installation is complete click Finish Figure 5 Installation Universal Dongle GUI InstallShield Wizard InstallShield Wizard Complete The InstalS veld Wizard has successfully installed Universal Dongle GUI Click Finish to exit the wizard AM04386v1 1 4 Hardware installation Figure 6 shows a snapshot of the UUSCI demonstration board Figure 6 STEVAL PCCO009V1 UUSCI demonstrati
5. complexity of the microcontroller is taken care of by the tool itself therefore increasing its efficiency and time to market The UUSCI tool supports two PC GUIs B Universal dongle PC GUI this PC GUI allows the interfacing of the SPI GC and UART interface and the controlling of the communication parameters with the help of the GUI itself m DFU mode PC GUI this PC GUI allows the changing of the firmware if required by the user to suit its applications All the other pins in the UUSCI demonstration board are available in the forms of jumpers which can be programmed by changing the firmware in DFU mode Therefore the UUSCI is a complete tool that rapidly allows the prototyping development of applications June 2010 Doc ID 15899 Rev 1 1 33 www st com Contents Contents 1 Gettingstarted 1 1 system requirements 1 2 Package contents 1 3 Software installation 1 4 Hardware installation 1 4 1 Power supply 1 4 2 Jumper connector settings 2 Running the demonstration board 2 1 Using the I2C interface 2 1 1 GPIO settings 2 1 2 I2C header settings 2 2 Using the SPI interface 2 2 1 GPIO settings 2 2 2 SPI header settings
6. control lines chip select or status line such as interrupt line Therefore you must accordingly set the GPIOs only in this way This can be done be clicking the DC pin interface as shown in Figure 16 Figure 16 l C pin interface in PC GUI 2C Pin Format op cPo1 engl epps VDD GPIO2 GPIO4 GPIO6 ie Pin 10 AM04408v1 You can only set the GPIOs mentioned I C lines and power lines are fixed To check the settings of a GPIO click on that GPIO Once clicked a setting window opens as shown in Figure 17 Figure 17 GPIO settings window GPIO One Setting Wi MEC xj Mode Select Input Made Moma Interrupt E doe Sg Dutput Made Provides the information recatcka Ihe controls the user will use AMO04409v1 By selecting the option in the GPIO setting window you can set the GPIO in different modes such as simple input mode input with interrupt or push pull output mode Also in the I C interface there is an option in GPIO5 and GPIO6 to use these GPIOs as the PWM clock signal If you select the GPIO in normal input mode the GPIO1 window opens as in Figure 17 If you click the Read button you see the GPIO 1 value as 0 or 1 Doc ID 15899 Rev 1 ky UM0726 Running the demonstration board Figure 18 GPIO mode in normal input r GPIO One Head Value Read AM04410v1 If the GPIO in normal input mode with interrupt is selected the GPIO1 window o
7. you can select the register address length from O to 4 bytes O byte length is used for random read and write operation and then fill the values accordingly to read and write from the slave device After every read or write operation the GUI updates the status in the status section e g status communication complete bus free so that you can check the status of SPI communication taking place between the UUSCI demonstration board and the SPI slave daughter board Therefore this interface allows the connection of any SPI interface based slave device Doc ID 15899 Rev 1 17 33 Running the demonstration board UM0726 2 3 Using the UART SCI interface To connect the UART SCI interface firstly select Asynchronous from the operation menu as shown in Figure 29 Figure 29 Selection of asynchronous interface ES 121331 470 2 O5 01 DO DO DO OO OC 00 DET CE oo T2112 358 San ON OOO OO DO LEALE E ng iz os in on ao ob o n 0 O0 OG AMO04421v1 Once the asynchronous interface is selected an additional menu for asynchronous interface opens in the GUI which allows the selection of the SCI or UART interface as shown in Figure 30 Figure 30 Selection of the SCI UART interface 1055 43 14 1212001476 amp 2 01 02 05 01 00 00 00 00 00 00 00 00 00 b 2 t2 0 61 00 0 GO 00 06 00 00 00 00 121836 21 82 05 01 01 00 00 00 00 00 0 00 00 121712 AM04422v1 If you click the SCI interface option a window for SCI interface co
8. 0 Board Is Connected Ce REENEN 10 Selection of synchronous interface 10 Selection of I2C SPI interface EIA eee ee eee 11 I2C interface window 11 J2 interpretation for the I2C interface 12 l2C pin interface in PC GUI 12 GPIO Seling WINdOW EE 12 GPIO mode in normal input 13 GPIO 1 setting in normal input with interrupt 13 GPIO 1 setting in push pull output mode 13 GPIO 5settinginPWMmode 14 Setting of IC parameters 14 l2C Read Write window 15 SPI interface WiINdOW 1 ee ee ete eee 15 J2 interpretation for the SPlinterface 16 SPl pin interface in the PC GUI 16 Setting or SPEparatmielers iuad ssa sx EE RR ds bur rd E seeks 17 SPI Read Write window 17 Selection of asynchronousinterface 18 Selection of the SCI UART interface 18 SCI interlace WINGOW MCD L TT 19 J2 interpretation for the SClinter
9. 10S coz 0ldd Cla lt PON Om Sis er ATZLVA8E BX3 CN any anyo Pare 1 619 819 eae EE NOD A A CLVA8E EXA4 PN NOO A 9 NLA9D9IVQS3 Sd vHO EIWU 18d P i E gq tHO EWL 08d QNS Sg LEE QNS dq vds zozi L d 9 L 8d 10S eor oldd vn dE oj o z 6vETLS TESZ GarO 9 8d PU EWL L8d 6 ADI M Y vHO em bad SC HO EWL 08d DL E HO ew 08d TT en zvon E 8d vas zazi ad e e l vas coe L d S lt 9 e 95s sn o lo 8G DS zazi 0L8d JOS zazi Oldd lt ole JOON O u O lt JOON O Zu 2 w I gt PO bo anyo I gt PO bo 2 10 99 89 19 dud Bd AMO06943v1 Af CLVAS8E HX3 N 25 33 Doc ID 15899 Rev 1 UM0726 Schematic and bill of materials UUSCI demonstration schematic part 4 Figure 41 Ajddns Jamod Leed ZHAGT 24004 CCO ON NIA LNOA LNOA LNOA LNOA ON QNO eoepejul OVE MOL INS Y SI HVS3M 9dec 99 18sn SLZLMLSZ v G LO S JUL 7 NO 0c 13533 MOL vi Vd 8l LSYLN Vad DL OGL 8d 40 Ser Vi MOL Fivd cl SNL lYd OL IdL SiVd lSMIN tdd yA Na AM06944v1 Doc ID 1
10. 5899 Rev 1 26 33 Schematic and bill of materials UUSCI demonstration schematic part 5 Figure 42 UM0726 AMO6968v1 DIS ASON ooepnojul boyeuy ZINI ZLOQV 79d LINI ZLOQV 10d ONG 4 ANDY 1001 ELNI ZLOQY dd L OLNI ZLOQV 09d NO NN vey EWLA9D Wasa NNOO 90TVNV OSIN HdS 9vd MOS LIdS SVd ELNI ZLOQV Ed UL ISON LIdS ZVd aN9Y 93d 8 SO GSOXDIN TINI ZLOQV 79d 9 LINI ZLOQV Led Y OLNI ZLOQV 09d 4 6 Z G L WNG L 27 33 Doc ID 15899 Rev 1 a 3 2 Table 1 Bill of materials BOM Cateaor Reference gory designator U1 DNM ST devices U1 U5 U10 DNM ST devices L eH 66894 CI 90d Crystal and oscillator Connectors and jumpers GE Non ST devices U2 U9 U4 U8 U3 U6 U7 DNM Q1 DNM 1 2 Y2 Y J J1 DNIM J3 5 J Component description ESDALC6V1M3 LD1117D33TR Crystal 8 000 MHZ SER 49US Crystal 32 768 kHZ 12 5PF CYL CON10A 90 CON10A 90 JTAG connector 90 Mini USB B Type Package SOT883 SO 8 QFN16 LQFP100 SOT 666 uQFN16 uQFN16 SOT 23 11 35 x 4 5 mm crystal Through hole Header 2x5 pin 2 54 mm x 2 54 mm pitch Header 2x5 pin 2 54 mm x 2 54 mm pitch Header 2x10 pin 2 54 mm x 2 54 mm pitch Mini USB B Type Manufactu
11. D zl OO OO OO WW d PRPCSEREREBAECSAS PROPRE LG zn do pour desen S3559 Elow mmeg ZO E dig 9338 Bzg E Inl SIS OI p IS ZH 89 Z HJN Wa Olo zo O II LA DI D oL gt EAE eH 4001 0LOOd Lu UOInoes 1e 0J1U09049I A Doc ID 15899 Rev 1 24 33 Schematic and bill of materials UM0726 UUSCI demonstration schematic part 3 Figure 40 ooenejul snouoJuo9u AS 9INLA9OIVQS3 8d SSN zlds zld Y i 8d ISOW zidS SIS 8 QNO ST LE OND 8d 30S ZidS L8d 9 Bd OSIN zldS PLS 8n ATCLVA8E 8X3 ON ATZZVA8E 8X3 Je SQ vHO EWL Lad S 4 vHO NIL Lad Qe 8d Sch ZildS Zi8d 9 SSN ZldS CL d 9 evezis aa OS d i8d I 4 MOS zldS tL d 8d vas zazi had g T vas zazi L d CNS z lt lt z OORO L ATZLVASE SX3 8d SSN ZidS clad 6 AI E Y SEN ZldS L d aq H9 CIL 08d S Y HO SWIL Odd 8d ISON ZldS Sad DT Aug 3o LE ISON ZidS Sad 8d ISOW ZidS Sad 9 ISON ZldS Sad Kam It 255 0 zwon Le EA 8d OSIW zldS plad I 4 OSIN ZldS vrad 8d OS OS L8d c 9 T NOS eldS L8d dd 10S zazi 0L8d 8 D OS zazi Odd o Oe SIT d Ora oin VOINOO IdS po o gd vHO EWL tad OL 6 8d HO EWL 08d 24004 gd SSN ZidS zZi d 9 1 gd ISOW zidS Sad 8d OSIN ZidS vlad OSIN ZldS vlad 8d OS dg ldd 9 S 8d OSIN ZidS bldd NODA Y ONS lt E 8d vas zozi dd Z L 8d
12. D0805 Any SMD0805 Any SMD0805 Any SMD0805 SMD0805 gt ny ny SMD1206 Any SMD1206 Any SMD1206 Any Manufacturer s ordering code orderable part number Digi Key Any Digi Key Any Digi Key Digi Key Digi Key Digi Key Digi Key Digi Key Digi Key Digi Key Digi Key Digi Key Digi Key Digi Key Supplier ordering code 609 2223 ND 609 2227 ND P8079SCT ND 160 1176 1 ND 399 1108 2 ND 709 1172 1 ND PCC2452TR ND PCC2452TR ND PCC2417CT ND 399 1159 1 ND 399 1155 1 ND PCC2234TR ND PCC2297CT ND PCC2297CT ND S 1J9 EUIJ JO lq pue oneuiauos 9cZ0INn Table 1 BOM continued d Reference Component designator description Inductors L1 Replaced with Inductor multi layer 02 10 uH X RES 100 kQ 1 8W 5 2d 9o 0805 R20 R23 R24 RES 100 kQ 1 8W 5 DNM 0806 R3 R4 R6 HR9 RES 0 0 O 1 8W R11 R12 0805 SMD RES 0 0 Q 1 8 W R2 R8 DNM 0805 SMD R5 R19 i Yo Resistors 0805 Category R10 R14 R15 R16 R18 R26 R27 RES 1 5 KQ 1 8W 5 0 ohm mounted 0805 ON RES 500 21 8 W 5 Bee lU 0805 SMD RES 300 21 8 W 5 L eH 66894 AI 90d KO Package SMD Inductor SMD0805 SMD0806 SMD0805 SMD0805 SMD0805 SMD0805 SMD0805 SMDO0805 SMD0805 SMD0805 Any Any Any Any Any Any Any Any Any Any Any Manufacturer s ordering code orderable part number Digi Key Digi K
13. S AUOOL du00 du00 du 004 du00 SAA UVU UU U0 UU UUW VU 00100 0 GLO vio CU ZLO LLO FPN A LN NTL FE a EE ENE O1 4 O INI e AJ c diMHloo e iejmic Oo GE d ssool222g 2 1001 EAE EAE ololelolz ze d LLOOg f I IO U O gj QN x 4H zum d 0 k Glidd EE SEI ONOV o g U UUUUUUuUUUUUUUUUUUDU U 2401 anO O 0 U U mI mI ImImImmimoogooo2 5o0027 019 69 ODU 00 NN gt ONR NONA OUO omboh ze o eg zVd _ _ _ zi Q Yd I XL_ZLYVSN_ HO ZNIL ZYd SIM ZLYVSN ZHO ZWIL Yd SSN_ZldS_Zldd IS de 3 rs Ec SLO clHVSD dNAM OYd 4 A HNO MOS ZidS CL d CS CC vad BRAM EAE EES vl dd J3HA OSIN zldS L d ER era 438A Los ni ISON Zids Glad YS 0c ON 8dd VSSA 8dd 22 eda ena L9 ev 6dd 95 orda zod L I INI ZLOGV CO CAE OL Oldd ZS liad ioa Z ZINI ZLOQV ZO LL Od 89 zidd 9r LINI ZLOQV Lid LO 65 clad 099 8 8 L3S3H LOd 09 zigo isun Lot OLNI cLOQV 09d 4dzz z vlad t9 cidd Pl 1ISJH dd MS Slad aa 1no 2so A ZMS 19d v9 ZEWLS x cl NI OSO 80d S ad GO god SR 60d g SSA rr LAG ge wg 69d 99 avd ino zeoso iod L I QNO E 8vd 19 6Yd NI SES 6 INO 2 9SO GY A 6vd 99 od ol3dAVl iod L NI_2 9SO Jdzz K 69 H H3dWVl LOd LL Vd IVA waasn 0Z 9 CAE ZLWd 93d ddasn V cig cad LS 93d SAL iVd C4 3N pad LE Gad amp 5 vad Z SSA ONS Eer 3d EAE SZ z3d 3d 8 D lt lt l zad NI c 9SO0 00000 Quo UUUUUUUU SEET EE mozso Je ROOANOANWAUTONWA OO
14. anual to work in functional mode User manual to work in DFU mode Help file on how to use the DLL file 4 33 Doc ID 15899 Rev 1 Lyr UNO 26 Getting started 1 3 Software installation To install the PC GUI software follow the steps mentioned below please download the PC GUI software setup for the universal dongle version 1 3 from the ST com website The zip folder includes the setup e Step as soon as the user clicks the setup exe icon the following window opens Figure 1 Installation window Universal Dongle GUI InstallShield Wizard Welcome to the InstallShield Wizard for Universal Dongle GUI The InstallShield Wizard wall update the installed version 1 00 000 of Universal Dongle GUI to version 1 1 0 To continue click Next AM04377v1 e Step 2 read the license file and click the Yes button if you accept the license Figure2 License window Universal Dongle GUI InstallShield Wizard License Agreement Please read the following license agreement carefully ky 1 SOFTWARE LICENSE AGREEMENT This Software License Agreement Agreement is displayed for You to read prior to downloading and using the Licensed Software If you choose not to agree with these provisions do not download or install the enclosed Licensed Software and the related documentation and design tools By using the Licensed Software You are agreeing to be bound by the terms and conditions of this Agreement
15. apability 16 33 Doc ID 15899 Rev 1 Si UM0726 2 2 2 d Running the demonstration board SPI header settings Once you have completed the GPIO settings the daughter board can be connected to the UUSCI demonstration board assuming that the correct settings of the daughter board control and status lines have been made Before it s possible to use SPI communication some parameters must firstly be defined as shown in Figure 27 Figure 27 Setting of SPI parameters Daisy Chain Baud Rate Presc 32 We Head Buffer Write Buffer Address Length Address Length o e Register Address Uu Register Address Dk Length Length Head Us ge P Get Status AM04419v1 These parameters include the selection of CPHA CPOL and baud rate prescaler selection by default the most significant bit is put first Once the selection is made click the Write button This sets the SPI interface and now the system is ready to read or write the data from the SPI interface based daughter board connected to the UUSCI demonstration board As soon as this is done the control settings part freezes and the Write button becomes the Reset button the purpose of which is to reset the SPI settings The Read and Write window opens as shown in Figure 28 Figure 28 SPI Read Write window Osiy Chan f2 d Baud Rate Frese d Z AM04420v1 Depending on the slave device
16. ard to the UUSCI demonstration board assuming that the correct settings of the daughter board control and status lines have been made To impose the settings for the SCI interface click on the Port Setting button as shown in Figure 34 Figure 34 Setting of SCI parameters SCI Settings Pot Setting Head Bulfer Witte Buffer Addesslengh o Address Length Register Address Ox Register Address Ox Length Length AM04426v1 There is another window open in port settings which includes parameters like the bit rate parity bits stop bits and hardware flow control required as shown in Figure 35 Figure 35 Port setting window ES Port Setting Bits Per Second Data Per Bits Parity Stop Bits Flow Control None Default Set Cancel AM04427v1 Once the selection is made the Set button must be clicked As soon as this is done and you exit from the port settings window the control settings part freezes and the Port Setting button becomes the Reset button the purpose of which is to reset the SCI settings The Read and Write window opens as shown in Figure 36 a 20 33 Doc ID 15899 Rev 1 UM0726 d Figure 36 SCI Read Write window r SC Settings r Head Buffer E EE UN I Length Running the demonstration board W nte Butter Ad
17. dress Length Register Address Ox Length wie Get Status AM04428v1 Depending on the slave device you can select the register address length from O to 4 bytes O byte length is used for random read and write operation and then fill the values to read and write from the slave device After every read or write operation the GUI updates the status in the status section e g status communication complete bus free so that you can check the status of SCI communication taking place between the UUSCI demonstration board and the SCI slave daughter board Therefore this interface allows the connection of any SCI interface based slave device Doc ID 15899 Rev 1 21 33 Working in DFU mode UM0726 3 22 33 Working in DFU mode To work in DFU mode please short pin 9 and 11 of J4 by connecting the 2 pin jumper mounted on J4 Then press the reset button on the board DFU Setup is available for download at the ST com website Scroll down to software PC DFUSE on the webpage and download the zip folder The folder includes the setup After installing the setup you can plug in the board When the PC asks for the driver browse to the path of the driver The driver is available in the installed software path in the PC at Program Files ST Microclectronics DFUSe Driver The user manual for the DFU GUI is also available in the same link As a result you should find the demonstration board enumerated as device firmware upgrad
18. e and it appears as device firmware upgrade in the device manager window as shown in Figure 37 If this message does not appear please contact technical support Figure 37 Enumeration in DFU mode 2 Device Manager File Action View Help Here 9 e BSE Keyboards Mice and other pointing devices E Monitors HEB Network adapters Ports COM amp LPT _ Communications Port COM1 3 Communications Port COM2 Communications Port COM2 ECP Printer Port LPT1 SB Processors Sound video and game controllers System devices Universal Serial Bus controllers Intel r 82801DB DBM LISB 2 0 Enhanced Host Controller 24CD Intekr 82801DB DBM USB Universal Host Controller 24C2 Intekr 82801DB DBM USB Universal Host Controller 24C4 J Link driver STM Device in DFU Mode USB Root Hub USB Root Hub LISB Root Hub AM04429v1 a Doc ID 15899 Rev 1 Schematic and bill of materials UM0726 Appendix A Schematic and bill of materials Schematic 3 1 UUSCI demonstration schematic part 1 Figure 38 J9BLOJUI pJeoq uoisuagjx3 9IN LA901VQS3 3d E S Lad ONG 9 4 ONG SLY ZLYVSN CHO ZWIL Yd L SLO ZLYVSN dNYM OVd Zn 9N LA90IVQS3 03d V MO ZLYVSN vVd ND E 9 L S i QND XH ZLYVSN PHO ZWIL Vd 9 L XL ZLYWSN HO WIL Zvd 9n NidO0 OlH3N39
19. ey Digi Key Digi Key Digi Key Digi Key Any Digi Key Supplier ordering code RHM100KATR ND RMCF1 100RTR Z U RMCF1 100RTR RMCF1 101MJRTR ND P10KADTR ND P1 5KACT ND 311 300ARTR ND Z U SI LLOJEU JO lq pue oneuiauos 9cZ0INn c L L ed 66851 CI 90d Table 1 BOM continued Resistors Reference Component M ne Package designator description jumper Res array 4 7 KQ RN4 RN6 STRM 4RES SMD SMD0805 RN5 RNS Res array 4 7 kQ DNM 8TRM 4RES SMD SE BN7 Res array 10 KO 5 Yo SMD0805 4 res Manufacturer s ordering code orderable part number Supplier ordering code S 1J9 EUIJ JO lq pue oneuiauos 9cZ0INn Revision history UM0726 Revision history Table 2 Document revision history mm aem O NN 09 Jun 2010 Initial release 32 33 Doc ID 15899 Rev 1 ky UM0726 Please Read Carefully Information in this document is provided solely in connection with ST products STMicroelectronics NV and its subsidiaries ST reserve the right to make changes corrections modifications or improvements to this document and the products and services described herein at any time without notice All ST products are sold pursuant to ST s terms and conditions of sale Purchasers are solely responsible for the choice selection and use of the ST products and services described herein and ST assumes no liability whatsoever relating to the choice select
20. face 19 SCl pin interface in the PC oU 19 Setting of SCI parameters 20 FOR seling WIDndOW ien A rts trine bee ae SSS ESS EaEES NEE ee aes 20 SCI Read Write window 21 EnumerationinDFUmode 22 UUSCI demonstration schematic part 1 23 UUSCI demonstration schematic part 21 24 UUSCI demonstration schematic part 3 25 UUSCI demonstration schematic part 4 26 UUSCI demonstration schematic part 5 27 Doc ID 15899 Rev 1 3 33 Getting started UM0726 1 Getting started 1 1 System requirements In order to use the UUSCI demonstration board with a Windows operating system a recent version such as Windows 2000 or Windows XP must be installed on the PC The version of the Windows OS installed on your PC may be determined by clicking on the System icon in the control panel 1 2 Package contents The UUSCI demonstration board includes the following items Hardware content One demonstration board Bill of materials Schematic e Software content PC GUI software to be used along with the demonstration board DFU software DLL files for the PC SPI and UART interface Source code including DFU Documentation User m
21. ing message appears Figure 11 Board is connected to PC X Boardis connected to pc AMO04403v1 Once this is done the PC GUI is properly connected to the demonstration board and ready to be used 2 1 Using the FC interface To connect the 1 C interface synchronous must first be selected from the operation menu as shown in Figure 12 Figure 12 Selection of synchronous interface AMO04404v1 KI 10 33 Doc ID 15899 Rev 1 UM0726 d Running the demonstration board Once the synchronous interface is selected an additional menu for the synchronous interface is open in the GUI which allows you to choose between the EC and SPI interface as shown in Figure 12 Figure 13 Selection of I C SPI interface AM04405v1 Now click the PC interface option and a window for I C interface control opens as shown in Figure 14 Figure 14 EC interface window AM04406v1 The PC GUI is now ready to be used for testing I C based slave devices To use any DC based slave the connection for the J2 jumper must be set as shown in Figure 15 Doc ID 15899 Rev 1 11 33 Running the demonstration board UM0726 12 33 Figure 15 J2 interpretation for the KC interface l2C GFPIO1 HHC GPlIO2 I2C GPIO3 l2C GPlO4 I2C_GPIOS C LZ GPlIO6 AM04407v1 GPIO settings Before making the connection to the J2 check the proper settings of the GPIOs which are to be used along with the I C interface These may be
22. ion or use of the ST products and services described herein No license express or implied by estoppel or otherwise to any intellectual property rights is granted under this document If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE ST PRODUCTS ARE NOT RECOMMENDED AUTHORIZED OR WARRANTED FOR USE IN MILITARY AIR CRAFT SPACE LIFE SAVING OR LIFE SUSTAINING APPLICATIONS NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY DEATH OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE ST PRODUCTS WHICH ARE NOT SPECIFIED AS AUTOMOTIVE GRADE MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER S OWN RISK Resale of ST products with prov
23. isions different from the statements and or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever any liability of ST ST and the ST logo are trademarks or registered trademarks of ST in various countries Information in this document supersedes and replaces all information previously supplied The ST logo is a registered trademark of STMicroelectronics All other names are the property of their respective owners 2010 STMicroelectronics All rights reserved STMicroelectronics group of companies Australia Belgium Brazil Canada China Czech Republic Finland France Germany Hong Kong India Israel Italy Japan Malaysia Malta Morocco Philippines Singapore Spain Sweden Switzerland United Kingdom United States of America www st com KY Doc ID 15899 Rev 1 33 33
24. ntrol opens as shown in Figure 31 a 18 33 Doc ID 15899 Rev 1 UM0726 2 3 1 d Running the demonstration board Figure 31 SCI interface window GPIO Seting uer el oe ur wrs see cmo SP0 ore war el ves Lost crs C emo emos menu amp 2 01 fC 05 01 00 00 00 06 00 00 00 00 00 RET 00 01 00 00 00 00 00 00 00 82 05 01 01 00 00 00 00 09 00 00 00 AMO04423v1 Now the PC GUI is ready to be used for testing SCl based devices To use any SCl based slave device the connection for the J2 jumper must be set as shown in Figure 32 Figure 32 J2 interpretation for the SCI interface UART RX AM04424v1 GPIO settings Before making the connection to the J2 check the proper settings of the GPIOs which are to be used along with the SCI interface These may be control lines chip select or status line such as interrupt line Therefore you must accordingly set the GPIOs only in this way This can be done be clicking the SCI pin interface as shown in Figure 33 Figure 33 SCI pin interface in the PC GUI UART RTS UART CTS J epp AM04425v1 Please follow the instructions given in Section 2 1 1 for checking the GPIO settings Please note that in this case only GPIO 3 and GPIO 4 have the PWM clock generation capability Doc ID 15899 Rev 1 19 33 Running the demonstration board UM0726 2 3 2 SCI header settings Once you have completed the GPIO settings you can connect the daughter bo
25. on board 20 Pn JTAG Connector Generic 30 Pin Connector Not Mounted Ja ee ee Pin UE E M NEM HEET Connector Er E we han E un Interface Button Generic 30 Pin Connector Not 10 Pin Analog Mounted a AM043898v1 Doc ID 15899 Rev 1 7 33 d Getting started UM0726 1 4 1 1 4 2 8 33 Power supply The demonstration board is directly powered by the USB mini B type connector bus powered Jumper connector settings e J2 J2 is the 10 pin connector available as the default interface for the UUSCI demonstration board There are 8 GPIOs GND and VDD lines available as shown in Figure 7 Figure 7 J2 jumper AM043899v1 e Ji J4 and J7 only the footprint of this connector is available The user can use these jumpers as per application These are not part of the default settings but they can be used by modifying the firmware using the DFU mode e J this is the standard 20 pin JTAG connector available in the demonstration board This can be used to test the demonstration board in debug mode using any JTAG based debugger for the STM32 device Doc ID 15899 Rev 1 ky UM0726 2 d Running the demonstration board Running the demonstration board To run the demonstration board please connect it to the PC with the USB mini B type cable As a result the demonstration board should be enumerated as universal serial bus controllers and appears as universal dongle demons
26. pens as in Figure 19 In addition to the input mode interface there is an LED shown which is green if there is an interrupt condition and red if there is an interrupt Condition Figure 19 GPIO 1 setting in normal input with interrupt GPIO One Read Value Interrupt EE Head O AM04411v1 If you select the GPIO in push pull output mode the GPIO1 window opens as in Figure 20 Put O or 1 and click the Write button to set the GPIO low and high respectively Figure 20 GPIO 1 setting in push pull output mode GPIO One Out Value mg Write AMO04412v1 As previously mentioned GPIO 5 and GPIO 6 can also be set in PWM mode If you make the selection in the GPIO 5 setting window in PWM mode it appears as in Figure 21 Here you can put the PWM frequency maximum value tested is around 10 MHz and also the duty cycle to generate different kinds of clocks Doc ID 15899 Rev 1 13 33 Running the demonstration board UM0726 Figure 21 GPIO 5 setting in PWM mode APIO Five HAM Freq DutyCyele AM04413v1 2 1 2 I C header settings Once you have completed the GPIO settings you can connect the daughter board to the UUSCI demonstration board assuming that the correct settings of the daughter board control and status lines have been made Before using the IC communication some parameters must firstly be defined as shown in Figure 22 Figure 22 Setting of I C parameters Control Parameter
27. ration board and the I C slave daughter board Therefore this interface allows the connection and testing of any DC interface based slave device 2 2 Using the SPI interface To connect the SPI interface please follow the steps mentioned in Section 2 2 and then instead of the IZC interface select the SPI interface The window that opens is shown in Figure 24 Figure 24 SPI interface Window SI Be US UT HE UG UC GC CC QC MAI KA B2 D5 OF t Od OG OO G6 GO OO OO D AM04416v1 Now the PC GUI is ready to be used for testing SPl based slave devices But before you can use it the connection for the J2 jumper must be set as shown in Figure 25 d Doc ID 15899 Rev 1 15 33 Running the demonstration board UM0726 Figure 25 J2 interpretation for the SPI interface SPI GPIO1 SPI GFIO2 SPI GER AM04417v1 2 2 1 GPIO settings Before making the connection to the J2 jumper check the proper settings of the GPIOs which are to be used along with the SPI interface These may be control lines chip select or status line such as interrupt line Therefore you must accordingly set the GPIOs only in this way This can be done be clicking the SPl pin interface as shown in Figure 26 Figure 26 SPl pin interface in the PC GUI epp Pin 10 AM04418v1 Please follow the instructions given in Section 2 1 1 for checking the GPIO settings Please note that in this case only GPIO3 and GPIO 4 have PWM clock generation c
28. rer s ordering code orderable part number ESDALC6V 1M3 LD1117D33TR STMicroelectronics ST2349QTR STMicroelectronics STM32F103VBT6 USBLC6 2P6 ESDALC6V 1M6 ESDALC6V 1M6 2STH1215 STMicroelectronics STMicroelectronics STMicroelectronics STMicroelectronics STMicroelectronics STMicroelectronics Any Any Any Any Any Any Digi Key Digi Key Digi Key Digi Key Digi Key Samtec Digi Key SI LLOJEU JO lq pue oneuiauos Supplier ordering code 535 9864 1 ND 535 9032 ND 59177 ND 59177 ND 59180 ND H2959CT ND 9cZ0INn 6Z L 9H 66894 CI 90d Ay Table 1 BOM continued Category Connectors and jumpers Capacitors Reference Component designator description J6 Power selection jumper J4 J7 DNM 30 pin connector DFU mode selection J7a pin to short pin 9 and pin 11 of J4 BEE D1 LED red clear 0805 SMD C1 C2 10 pF C4 C5 22 pF C3 C11 C12 C13 Gap 10 uF 50 V C14 C15 C16 C22 C26 C27 C17 CERAMIC X7R 0805 C6 C7 C17 C18 C25 DNM C9 C21 10 uF CAP 1 0 uF 50 V 08 019 DNM CERAMIC F 1206 a C24 DNM 4 7 uF CAP 10 pF 50 V CERAMIC X7R 0805 Package Jumper 1x3 pin 2 54 mm pitch any Header 2x15 pin 2 54 Jom mm x 2 54 mm Pitch y Jumper 1x2 pin 2 54 Any mm right angle pitch uSD card connector 6 mm X 6 mm push An button through hole y 3 mm SMD LED Any SMD0805 ny SMD0805 Any SM
29. s Read Data WIRED Jata Address Length o x Address Length o zl Register Address Ox Register Address of ooo No of Bytes No of Bytes a need wt FE Get Status AMO04414v1 These parameters include the selection of the IC address types 7 bit or 10 bit the ke slave device address and the DC speed Once the selection is made click the Write button This sets the 1 C interface and now the system is ready to read or write the data from the DC slave device connected to the UUSCI demonstration board As soon as this is done the control settings part freezes and the Write button becomes the Reset button the purpose of which is to reset the GC settings The Read and Write window opens as shown in Figure 23 a 14 33 Doc ID 15899 Rev 1 UNO 26 Running the demonstration board Figure 23 PC Read Write window Control Parameters Address Type 7 Bi I2C Address Oe jbo See GC Speed 50 7 Head Data MWe Data AM04415v1 Depending on the slave device you can select the register address length from O to 4 bytes 0 byte length is used for random read and write operation and then fill the values accordingly to read and write from the slave device After every read or write operation the GUI updates the status in the status section e g status communication complete bus free so that you can check the status of DC communication taking place between the UUSCI demonst
30. tration board in the device manager window as shown in Figure 8 If this message does not appear please contact technical support Figure 8 Enumeration result Fie Action View Help aili nia NS Network adapters BY Ports COM amp LPT Processors 9 AER Smart card readers e EI Sound video and game controllers E System devices E Liniversal Serial Bus controllers Intel R 82801FB FBM USB Universal Host Controller 2658 Intel R 82801FB FBM USB Universal Host Controller 2659 Intel R 82801FB FBM USB Universal Host Controller 265A Intel R 82801FB FBM USB Universal Host Controller 265B Intel R 82801FB FBM USB2 Enhanced Host Controller 265C J Link driver USB Composite Device USB Root Hub USB Root Hub LISB Root Hub USB Root Hub LISB Root Hub AM04400v1 When starting the universal dongle GUI on the PC a graphical interface Figure 9 for controlling the demonstration board is seen This PC software is used to issue various commands and to control data transfer Figure 9 Universal dongle GUI A Deir CUI AM04401v1 You can check whether the board is connected or not by clicking the connection check button If the board is not connected then you see the following message Doc ID 15899 Rev 1 9 33 Running the demonstration board UM0726 Figure 10 Board is not connected to PC Status x LD Board is not Connected Please check Connections AMO04402v1 If the board is connected the follow
Download Pdf Manuals
Related Search
Related Contents
コーポレートレポート2006(冊子版)全ページ `.`1 - Poder Judicial del Estado de Tabasco Samsung PS-42P2S User Manual DIRECTOR 8.5 PART II: INTRO TO INTERACTIVITY WITH EDK II DSC File Specification Copyright © All rights reserved.
Failed to retrieve file