Advertisement

Quick Links

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FM0+ S6E1C-Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Cypress 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 A critical component is any component of a device or system whose failure to perform can be reasonably expected to cause the failure of the device or system, or to affect its safety or effectiveness. Cypress is not liable, in whole or in part, and Company shall and hereby does release Cypress from any claim, damage, or other liability arising from or related to all Unintended Uses of Cypress products.
  • Page 3: Table Of Contents

    Tool Options ................................ 28 Example Projects ..............................31 Flash Programming ............................. 43 Appendix ..................................48 Schematic ................................48 Bill of Materials ..............................52 Revision History ................................... 55 Document Revision History ............................55 FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 4: Introduction

    Introduction Thank you for your interest in the FM0+ S6E1C-Series Starter Kit. This kit enables customers to evaluate and develop projects using the FM0+ device family. FM0+ is a portfolio of ultra-low power ARM® Cortex®-M0+ MCUs. It is designed for low-power and cost-sensitive applications such as white goods, sensors, meters, HMI systems, power tools and internet of things (IoT) battery powered or energy harvesting wearable devices.
  • Page 5: Board Details

    Introduction Inspect the contents of the kit; if you find any part missing, contact your nearest Cypress sales office for help: www.cypress.com/support. 1.2 Board Details Figure 1-2: FM0+ S6E1C-Series Starter Kit Markup Arduino Interface (CN7-CN10) 11. Multicon connector (CN12, CN13) User button 12.
  • Page 6: Jumper And Connector

     Hardware chapter describes the major features of the FM0+ S6E1C-Series Starter Kit and functionalities such as CMSIS-DAP debugger, Ethernet, USB, stereo codec, memories and sensors. ...
  • Page 7: Additional Learning Resources

     FM0+ Peripheral Manuals 1.6 Technical Support For assistance, visit Cypress Support or contact customer support at +1(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...
  • Page 8: Installation And Test Operation

    Installation and Test Operation This chapter describes the steps to install the software tools and drivers on a PC for using the FM0+ S6E1C-Series Starter Kit. After a successful installation, user can run the test code which is pre-programmed in the device.
  • Page 9 Select the folder in which you want to install this package or use the default folder. When you click Next, the FM0+ S6E1C-Series Starter Kit installer automatically installs the required software, if it is not present on your PC. Following are the required softwares and drivers: ...
  • Page 10 Click Finish to complete the kit installation. Note: Be sure to select the check boxes Extract Example Projects and Extract FM PDL 2.0. FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 11: Un-Install Software

    2.2 Un-install Software The software can be uninstalled using one of the following methods:  Go to Start ->All Programs ->Cypress ->Cypress Update Manager and select the Uninstall button that corresponds to the kit software.  Go to Start ->Control Panel ->Programs and Features for Windows 7 or Add/Remove Programs for Windows XP;...
  • Page 12: Test Operation

    Installation and Test Operation 2.3 Test Operation The FM0+ S6E1C-Series Starter Kit has been pre-programmed with a test demo code, which helps to test all of the on-board features. The Motorola-S format file, tp_fm0-64l-s6e1c3.srec, is provided in the following directory and can be programmed on the MCU by using the FLASH USB DIRECT Programmer.
  • Page 13 For example, key in 2 and press the Enter key on the PC keyboard. The color of the RGB LED will change from red to green to blue. Figure 2-8: RGB LED Test FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 14 1 and press the Enter key, the main routine will shift the system clock to sub clock, and then shift back to main clock. It displays OK if the sub clock runs at 32.768 KHz, otherwise it will display Fail. Figure 2-10: Sub Clock Test FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 15 Potentiometer Test: This procedure tests the potentiometer. Key in 4 and press the Enter key. The ADC value will be displayed on the terminal. Turn the potentiometer (RP1), the ADC value will change accordingly. Figure 2-13: Potentiometer Test FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 16 Key in 7 and press the Enter key, you can hear your voice from the microphone on the headphone. Figure 2-16: Microphone Test Note: Connect a headset with a 4-conductor phone plug (American Headset Jack) to the CN1. FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 17: Hardware

    Hardware This chapter describes the features and 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 Hardware Features ...
  • Page 18: Hardware Details

    (SPI), I2S, I2C (slave only) and UART. 3.3.2 User Button and LED The FM0+ S6E1C-Series Starter Kit features a user button and an RGB LED. The switch and the LED are connected to the S6E1C3 MCU via pins mentioned in Table 3-1.
  • Page 19 Hardware 3.3.3 Arduino Compatible Interface 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 Arduino compatible shields. Figure 3-2 shows the pins.
  • Page 20 P00/WKUP4 P42/TIOA2_0 SPI -- #CS P4D/SOT7_1 SPI -- MOSI P4E/SIN7_1/INT06_2 SPI -- MISO P4C/SCK7_1/TIOB3_0 SPI -- CLK P0B/TIOB6_1/WKUP6 P0C/TIOA6_1/WKUP7 P22/AN07/TIOB7_1 P23/AN06/SCK0_1/TIOA7_1 P15/AN05/SOT0_1/SCS11_1 P11/AN01/SIN1_1/INT02_1/WKUP1 P12/AN02/SOT1_1 AN2/I2C--SDA P13/AN03/SCK1_1/RTCCO_1/SUBOUT_1 AN3/I2C--SCL INITX RESET RESET FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 21 Pin No. Port Function MI2SCK4_1 Bit clock out MI2SDO4_1 Audio data out MI2SDI4_1 Audio data in MI2SWS4_1 Word select output pin MI2SMCK4_1 Mast clock I/O pin Figure 3-3: Stereo Codec Circuit FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 22 EMI emissions. Table 3-4: NOR Flash Interface Pin No. Port Function P50/SIN3_1/INT00_0 SPI data in P51/SOT3_1/INT01_0 SPI data out P52/SCK3_1/INT02_0 SPI clock out P53/TIOA1_2/INT07_2 Chip Select Figure 3-4: NOR Flash Circuit FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 23 Pin24 SCK7_1 CN12_2 Pin25 SOT7_1 MOSI CN12_3 CN12_4 CN12_5 Pin21 INT13_1 INT13_1 CN12_6 Pin20 INT12_1 INT12_1 CN12_7 Pin26 SIN7_1 MISO CN12_8 Pin39 CN12_9 CN13_2 CN12_10 CN13_1 Figure 3-5: Multicon Interface FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 24 Hardware 3.3.7 Potentiometer The FM0+ S6E1C-Series Starter kit provides a potentiometer. Its resistance value 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 device. In the FM0+ S6E1C-Series Starter Kit, the USB port is configured as a USB device and is connected to CN4, a micro USB type B connector.
  • Page 25 Hardware 3.3.9 CMSIS-DAP The FM0+ S6E1C-Series Starter Kit features an on-board CMSIS-DAP module to enable programming and debugging of the FM0+ S6E1C3 MCU. The CMSIS-DAP firmware solution supports full JTAG configuration and two-wire Serial Wire Debug (SWD) interface. On this kit the CMSIS-DAP supports SWD only as the FM0+ S6E1C3 MCU has just the SWD interface.
  • Page 26 Hardware 3.3.10 JTAG The FM0+ S6E1C-Series Starter Kit provides an interface, CN2, to connect an external programmer and debugger for programming and debugging the FM0+ S6E1C3 MCU. CN2 is a standard ARM 0.05’’ 10-pin Cortex debug header. Figure 3-9: 10-pin JTAG Interface 3.3.11 Multiplex Pins...
  • Page 27 S6E1C3 MCU consumes. Open the jumper jp11 and connect an ammeter at the terminals of J5 as shown in Figure 3-11. Figure 3-11: Current Measurement The user can recover the connection of 3V3 wire by closing J5 with a jumper after current measurement. FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 28: Software Development

    Software Development 4.1 Tool Options The FM0+ S6E1C-Series device is supported by several third party tools/IDEs, and the user can choose his preferred tool for development. Any one of below listed IDEs can used for opening and building the example projects packaged with this kit: ...
  • Page 29 Click the Run icon to run the program once it was downloaded successfully. Click the Stop icon to stop the program when you want. For more information about the IAR Embedded Workbench IDE, please click Help. FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 30 Launch Keil µVision IDE v5.16a (or later). Click ProjectOpen Project and select the workspace file s6e1c3_dac.uvprojx from <User_Directory>: FM0+ S6E1C-Series Starter Kit_Ver01 \Firmware \Demo Projects\s6e1c3_adc\ARM. Click the Build icon to build this project. FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 31: Example Projects

    For more information about the Keil µVision IDE, 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_Directory>:\FM0+ S6E1C-Series Starter Kit_Ver01\Firmware...
  • Page 32 MCU will enter sleep mode after blinking the green LED five times. It can be woken up by pressing SW2. After wakeup, the green LED will turn on. Refer to Sleep Mode for the details. FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 33 No specific hardware connections are required for this project. All connections are hardwired on the board. 4.2.1.3 Verify Output 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 or Keil uVision IDE from the following directory: <User_Directory>:...
  • Page 34 S6E1C3 device. The program configures DSTC to move the data from a source array (au32SourceData) to a destination array (au32DestinationData), and then compares the content of the arrays to verify the data. FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 35 4.2.2.3 Verify Output  Open the project in IAR Embedded Workbench Power the FM0+ S6E1C-Series Starter board from CN3 using USB cable, refer  Figure 2-4. Open the project file in IAR Embedded Workbench from the following directory ...
  • Page 36 Software Development  Open the project in Keil uVision IDE Power the FM0+ S6E1C-Series Starter board from CN3 using USB cable, refer  Figure 2-4. Open the project filein Keil uVision IDE from the following directory on your PC: ...
  • Page 37 4.2.3.3 Verify Output  Open the project in IAR Embedded Workbench Power the FM0+ S6E1C-Series Starter board from CN3 using USB cable, refer  Figure 2-4. Open the project file in IAR Embedded Workbench from the following directory ...
  • Page 38 MFS0 as UART mode to communicate with the CMSIS-DAP. The CMSIS-DAP serves as the bridge between the MCU and PC. 4.2.4.2 Hardware Connection No specific hardware connections are required for this project. All connections are hardwired on the board. FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 39 Software Development 4.2.4.3 Verify Output 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 or Keil uVision IDE from the following directory: IAR project: <User_Directory>: FM0+ S6E1C-Series Starter...
  • Page 40 No specific hardware connections are required for this project. All connections are hardwired on the board. 4.2.5.3 Verify Output 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 or Keil uVision IDE from the following directory: <User_Directory>:...
  • Page 41 SW2 switch. After wakeup, the green LED will turn on. 4.2.6.2 Hardware Connection No specific hardware connections are required for this project. All connections are hardwired on the board. FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 42 Software Development 4.2.6.3 Verify Output 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 or Keil µVision IDE from the following directory on your PC: IAR project: <User_Directory>:...
  • Page 43: Flash Programming

    4.3.1 Programming the S6E1C3 Using FLASH USB DIRECT Programmer FLASH USB DIRECT Programmer gets installed on your PC as part the Kit installer. Make sure the jumpers on the FM0+ S6E1C-Series Starter board are placed according to the below table.
  • Page 44 Check the COM Port number in the Windows Device Manager. Enter the Virtual COM Port listed in the Ports of Device Manager in COM box. 10. Click the Full Operation (D+E+B+P) button to start programming. FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 45 Follow the steps below to update the firmware, if needed. Make sure the jumpers on the FM0+ S6E1C-Series Starter board are placed according to the below table: Table 4-5: Programming Jumper Settings using FLASH USB DIRECT Programmer...
  • Page 46 Check the COM Port number in the Windows Device Manager. Launch the FLASH USB DIRECT Programmer from Windows Start Menu > All Programs > Cypress > FLASH USB DIRECT Programmer > USBDirect Select “Target MCU” to MB9AF312K. Select the Motorola-S format file or Intel-HEX format file to be programmed to FLASH memory in the MCU.
  • Page 47 Note: Please click on Help for any issues or errors encountered during programming. 4.3.3 Programming the S6E1C3 Using the FLASH MCU Programmer The FLASH MCU Programmer is not supported on the S6E1C3 Starter Kit board. FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 48: Appendix

    A. Appendix Schematic Figure A-1. MCU FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 49 Appendix Figure A-2. CMSIS-DAP & USB FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 50 Appendix Figure A-3: Stereo Codec FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 51 Appendix Figure A-4: Interfaces FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 52: Bill Of Materials

    2.54mm,6Pin Arduino header AIMO 2285-0106ANGO01 1225-1210ANG0S1150 CN12 2.54mm,2*5Pin 2*5 pin headers, 2.54mm AIMO LL43-GS08 Socktety diode Vishay LL43-GS08 DL4148 Recifier diode DL4148 Ferrite bead, FB1, FB2, FB3 MPZ1608S101AT MPZ1608S101AT 3A,100R@100MHz,TDK FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 53 R47, R49 100R Resistor YAGEO RC0603FR-07100RL R16, R44, R55 Resistor YAGEO RC0603FR-071KL R17, R31, R38 Resistor YAGEO RC0603FR-072KL R18, R32 1.5k Resistor YAGEO RC0603FR-071K5L R19, R20, R33, Resistor YAGEO RC0603FR-0727RL FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 54 32-Mbit CMOS 3.0 Volt Flash S25FL132K0XMFI011 Cypress S25FL132K0XMFI011 Memory, SOP-8 Crystal Oscillator 4.0MHz,50ppm Wisdom QRS-4M00A5020B ,4.0000MHz, 49s Crystal Oscillator 8.000MHz,50ppm Wisdom QRS-8M00A5020B ,8.0000MHz,49s 32.768KHz Crystal Oscillator Wisdom QRA-32768A20125B 2-layers,1.6mm,FR-4;84*60m ROHS rubber 6.0*3.0 mm ,black FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...
  • Page 55: Revision History

    Updated Programming the S6E1C3 Using FLASH USB DIRECT Programmer (Updated description). Updated Programming CMSIS-DAP (MB9AF312K) Using FLASH USB DIRECT Programmer (Updated description). Added Programming the S6E1C3 Using the FLASH MCU Programmer. FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C...

Table of Contents