background image

 
 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FM0+ S6E1C-Series 

Starter Kit Guide 

 

Doc. # 002-10542 Rev. *C 

 

 

 

Cypress Semiconductor 

198 Champion Court 

San Jose, CA 95134-1709 

Phone (USA): 800.858.1810 

Phone (Intnl): +1 408.943.2600 

www.cypress.com 

 

Summary of Contents for FM0+ S6E1C-Series

Page 1: ...FM0 S6E1C Series Starter Kit Guide Doc 002 10542 Rev C Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 Phone USA 800 858 1810 Phone Intnl 1 408 943 2600 www cypress com...

Page 2: ...Y SOFTWARE INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE Cypress reserves the right to make changes to this document without further notic...

Page 3: ...upport 7 1 7 Acronyms 7 2 Installation and Test Operation 8 2 1 Install Software 8 2 2 Un install Software 11 2 3 Test Operation 12 3 Hardware 17 3 1 System Block Diagram 17 3 2 Hardware Features 17 3...

Page 4: ...the S6E1B Series and the S6E1C Series This kit uses a device from the S6E1C Series The S6E1C Series microcontroller is based on the ARM Cortex M0 processor with on chip flash memory This series has pe...

Page 5: ...N7 CN10 2 User button 3 MB9AF312K programmer and debugger CMSIS DAP 4 Serial programming mode select J3 5 Power supply resource select J4 6 USB device connector CN4 7 Potentiometer 8 MB9AF312K program...

Page 6: ...2 Connector Description Connector Description CN1 Headphone and microphone jack CN2 10 pin JTAG interface CN3 USB port of CMSIS DAP CN4 USB port of FM0 MCU CN7 CN8 CN9 CN10 Arduino compatible headers...

Page 7: ...800 541 4736 Ext 2 in the USA or 1 408 943 2600 Ext 2 International 1 7 Acronyms Table 1 3 Acronyms Used in this Document Acronym Description ADC Analog to Digital Converter CMSIS DAP Debug Access Por...

Page 8: ...them from the Internet FM0 S6E1C Series Starter Kit Only Package This executable file installs only the kit contents which include kit code examples hardware files and user documents This package can...

Page 9: ...Select the folder in which you want to install this package or use the default folder 5 When you click Next the FM0 S6E1C Series Starter Kit installer automatically installs the required software if...

Page 10: ...ms in the license agreement to continue with installation Then click Next 8 When the installation begins a list of packages appears on the installation page A green check mark appears next to each pac...

Page 11: ...Documents Cypress FM_PDL_2 0 1 And the kit example projects will be extracted to this directory C Users User Name My Documents Cypress FM0 S6E1C Series Starter Kit_Ver01 In the rest of the document t...

Page 12: ...T Programmer User_Directory FM0 S6E1C Series Starter Kit_Ver01 Firmware Demo Projects Test_Demo_Code 2 3 1 Run the Test Demo Follow the instructions to run the test code 1 Ensure the jumpers J1 and J2...

Page 13: ...nnect to the board Figure 2 6 Select the Baud Rate 5 Press the Enter key on your keyboard to run the test procedure Key in the option number and press the Enter key to run the test Figure 2 7 Test Pro...

Page 14: ...the results There are eight test procedures and a brief description of each test procedure is given below UART CMSIS DAP Port Test This procedure will test the UART communication between CMSIS DAP an...

Page 15: ...11 RGB LED Test SW2 Key Test This procedure tests the switch SW2 Key in 3 and press the Enter key the test routine will detect the press and release status of the SW2 switch Figure 2 12 SW2 Key Test P...

Page 16: ...l display Fail Figure 2 14 NOR Flash Test Headphone Test This procedure tests the headphone channel of the stereo codec Key in 6 and press the Enter key a pre determined calling bell sound will be hea...

Page 17: ...hardware details of the FM0 S6E1C Series Starter Kit 3 1 System Block Diagram Figure 3 1 shows the system block diagram of the FM0 S6E1C Series Starter Kit Figure 3 1 System Block Diagram 3 2 Hardwar...

Page 18: ...6E1C3 MCU features a wide variety of peripherals such as timers 12 bit SAR ADC and communication interfaces like USB host and device CSIO SPI I2S I2C slave only and UART 3 3 2 User Button and LED The...

Page 19: ...The FM0 S6E1C Series Starter Kit provides footprint compatibility with the Arduino interface These headers expand the possibility for users to develop more applications based on this kit and different...

Page 20: ...CCO_2 SUBOUT_2 IC1_CIN_0 D3 PWM 10 P35 SCS62_1 TIOB5_1 INT08_1 D4 IO 12 P3B TIOA1_1 IC1_DATA_0 D5 PWM 13 P3C TIOA2_1 IC1_RST_0 D6 PWM 23 P43 ADTG_7 TIOA3_0 D7 IO 54 P02 WKUP5 D8 IO 52 P00 WKUP4 D9 IO...

Page 21: ...data transmission The I2C address for configuring the stereo codec is 0x1A On the analog side the codec has headphone microphone line in and line out channel On this kit only headphone and microphone...

Page 22: ...nd output single I O or SIO as well as optional two bit Dual I O or DIO and four bit Quad I O or QIO serial protocols This multiple width interface is called SPI Multi I O or MIO The 33R resistors are...

Page 23: ...0 connect to an additional connector CN13 to provide another connection point Pin 24 Pin 25 Pin 26 are multiplexed pins which are connected to CN12 by default via wire jumpers jp3 jp4 and jp5 See Mult...

Page 24: ...alue ranges from 0 to 10k The middle terminal is connected to the ADC channel AN00 Pin40 Figure 3 6 Potentiometer 3 3 8 USB Interface The FM0 S6E1C3 MCU has a USB channel that can work as a host or a...

Page 25: ...has just the SWD interface The CMSIS DAP module can also power the FM0 S6E1C Series Starter kit via the CN3 connector when pin 1 and pin 2 of Jumper J4 are shorted Pin 45 is a multiplexed pin it is co...

Page 26: ...le with 0603 footprint It is easy to close them by soldering a 0R 0603 resistor on it Table 3 6 shows the wire jumper information Table 3 6 Wire Jumpers for Multiplex Pins Wire Jumper Function jp1 def...

Page 27: ...ively The jumper J5 is in parallel with jp11 Figure 3 10 Power Supply Connection The power supply connection shown above enables customer to measure the current that FM0 S6E1C3 MCU consumes Open the j...

Page 28: ...e vendor s website A full license may be required to build or debug some of the example projects For detailed information on using the tools see the documentation in the Help section of the tool chain...

Page 29: ...AP in run mode J2 Open Sets S6E1C3 in run mode J4 Pin 1 to Pin 2 Power from USB port of CMSIS DAP CN3 5 Connect the USB cable to CN3 port 6 Observe that the Power LED LED3 is glowing green 7 Click the...

Page 30: ...in this directory Keil_Install_Directory ARM flash If the flash loader file is not available copy from following location to Keil install directory mentioned above User_Directory FM0 S6E1C Series Star...

Page 31: ...DE please click Help 4 2 Example Projects The FM0 S6E1C Series Starter Kit includes twelve example projects to help the user get a quick start with the S6E1C3 device They are in this directory User_Di...

Page 32: ...ED LED4 will change the color from red to green to blue 6 s6e1c3_flash Title Flash Write Description This project demonstrates the flash writing operation of the S6E1C3 device A specific set of four v...

Page 33: ...re Demo Projects s6e1c3_adc IAR s6e1c3_adc eww Keil project User_Directory FM0 S6E1C Series Starter Kit_Ver01 Firmware Demo Projects s6e1c3_adc ARM s6e1c3_adc uvprojx 3 Build the project and download...

Page 34: ...will be displayed in Serial Port Viewer window Figure 4 2 ADC value 6 Turn the potentiometer RP1 the ADC value will change 4 2 2 Descriptor System Data Transfer Controller DSTC 4 2 2 1 Project Descri...

Page 35: ...en the project file in IAR Embedded Workbench from the following directory on your PC IAR project User_Directory FM0 S6E1C Series Starter Kit_Ver01 Firmware Demo Projects s6e1c3_dstc IAR s6e1c3_dstc e...

Page 36: ...project User_Directory FM0 S6E1C Series Starter Kit_Ver01 Firmware Demo Projects s6e1c3_dstc ARM s6e1c3_dstc uvprojx Build the project and download the code to the S6E1C3 device Open Watch1 window fr...

Page 37: ...Embedded Workbench Power the FM0 S6E1C Series Starter board from CN3 using USB cable refer to Figure 2 4 Open the project file in IAR Embedded Workbench from the following directory on your PC IAR pro...

Page 38: ...View Memory Windows Enter 0x00017FF0 in the Address table and press the Enter key on your PC Run the program for a while 10s Stop the program and check the content of 0x00017FF0 in flash 4 2 4 UART Co...

Page 39: ...Demo Projects s6e1c3_mfs_uart IAR s6e1c3_mfs_uart eww Keil project User_Directory FM0 S6E1C Series Starter Kit_Ver01 Firmware Demo Projects s6e1c3_mfs_uart ARM s6e1c3_mfs_uart uvprojx 3 Build the pro...

Page 40: ...59 01 Wednesday 4 2 5 2 Hardware Connection No specific hardware connections are required for this project All connections are hardwired on the board 4 2 5 3 Verify Output 1 Power the FM0 S6E1C Series...

Page 41: ...dar data will be displayed in Serial Port Viewer window Figure 4 7 Calendar 4 2 6 Sleep Mode 4 2 6 1 Project Description This project demonstrates the sleep mode operation of the S6E1C3 device The MCU...

Page 42: ...ate the operation of the S6E1C3 watchdog The project will demonstrate the impact of two different situations with watchdog enabled when the watchdog is fed and when the watchdog is not fed If the watc...

Page 43: ...mming Jumper Settings using FLASH USB DRIECT Programmer Jumper Position Description J1 Open Sets MB9AF312K CMSIS DAP in run mode J2 Closed Sets S6E1C3 in programming mode J3 Pin 2 to Pin 3 Sets USB pr...

Page 44: ...tarter Kit Guide Doc 002 10542 Rev C 44 8 Check the COM Port number in the Windows Device Manager 9 Enter the Virtual COM Port listed in the Ports of Device Manager in COM box 10 Click the Full Operat...

Page 45: ...n the MB9AF312K already It is not required for the user to re program firmware again Follow the steps below to update the firmware if needed 1 Make sure the jumpers on the FM0 S6E1C Series Starter boa...

Page 46: ...SB DIRECT Programmer USBDirect 6 Select Target MCU to MB9AF312K 7 Select the Motorola S format file or Intel HEX format file to be programmed to FLASH memory in the MCU The Hex file is included in the...

Page 47: ...IS DAP microcontroller by removing and reconnecting the USB cable and click OK Note Please click on Help for any issues or errors encountered during programming 4 3 3 Programming the S6E1C3 Using the...

Page 48: ...FM0 S6E1C Series Starter Kit Guide Doc 002 10542 Rev C 48 A Appendix A 1 Schematic Figure A 1 MCU...

Page 49: ...Appendix FM0 S6E1C Series Starter Kit Guide Doc 002 10542 Rev C 49 Figure A 2 CMSIS DAP USB...

Page 50: ...Appendix FM0 S6E1C Series Starter Kit Guide Doc 002 10542 Rev C 50 Figure A 3 Stereo Codec...

Page 51: ...Appendix FM0 S6E1C Series Starter Kit Guide Doc 002 10542 Rev C 51 Figure A 4 Interfaces...

Page 52: ...polarity YAGEO CC0603JPNPO9BN120 8 1 C26 10nF 50V Capacitor without polarity YAGEO CC0603KRX7R9BB103 9 2 C39 C40 22uF 10V Tan capacitor AVX TAJA226K010RNJ 10 1 C44 100pF 50V Capacitor without polarity...

Page 53: ...S530 A5 T R8 29 1 LED4 CLV1A FKB CJ1M1F 1BB7R4S3 RGB LED SMD 4pin Cree CLV1A FKB CJ1M1F1B B7R4S3 30 2 Q1 Q2 MMC8550 PNP transistor MCC MMS8550 H TP 31 7 R1 R2 R3 R8 R56 R59 R60 33R Resistor YAGEO RC06...

Page 54: ...T C4SA 01 3 5 6 5mm SMT 2Pin Push button HARO K2 1101ST C4SA 01 51 1 U1 WM8731SEDS V Stereo CODEC 28SSOP Wolfson ROHS Wolfson WM8731SEDS V 52 1 U2 S6E1C32D0AGV2000 0 0 5mm LQFP64 Spansion Cypress S6E1...

Page 55: ...in all instances across the document Updated Installation and Test Operation Updated Test Operation Updated Test Procedure Explanation Updated description Updated Hardware Updated Hardware Details Up...

Reviews: