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.
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.
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.
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. ...
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...
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...
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;...
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...
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 ...
(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 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 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...
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 ProjectOpen 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...
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>:...
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...
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...
Need help?
Do you have a question about the FM0+ S6E1C-Series and is the answer not in the manual?
Questions and answers