![background image](http://html1.mh-extra.com/html/cypress/fm0-s6e1c-series/fm0-s6e1c-series_manual_2706168033.webp)
Software Development
FM0+ S6E1C-Series Starter Kit Guide, Doc. # 002-10542 Rev. *C
33
4.2.1 AD Converter
4.2.1.1 Project Description
This project demonstrates the Analog to Digital conversion of the S6E1C3 device. This project
enables the ADC channel AN00 to measure the voltage across potentiometer. The measured
voltage converted into decimal format and sent out using UART0.
4.2.1.2 Hardware Connection
No specific hardware connections are required for this project. All connections are hardwired on
the board.
4.2.1.3 Verify Output
1. Power the FM0+ S6E1C-Series Starter board from CN3 using USB cable, refer to
2. Open the project file in IAR Embedded Workbench or Keil uVision IDE from the following
directory:
IAR project:
<User_Directory>:
\
FM0+ S6E1C-Series Starter
Kit_Ver01
\Firmware\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 the code to S6E1C3 device.
11
s6e1c3_sw_wdt
Title: Software Watchdog
Description: This project demonstrates the operation of the S6E1C3 watchdog by
considering two different situations with the watchdog enabled: a) when the watchdog is fed
and b) when the watchdog is not fed. If the watchdog is enabled and is fed in time, the
program will run properly, and the RGB LED will blink green. If the watchdog is enabled and
not fed in time, the device will reset, and the green LED will remain continuously on.
Refer to
12
s6e1c3_wc
Title: Watch Timer
Description: This project demonstrates the Watch Timer function of the S6E1C3 device. The
Watch Timer generates an interrupt every second. In the interrupt service routine, the PB2
will drive the green LED to blink.
Содержание FM0+ S6E1C-Series
Страница 48: ...FM0 S6E1C Series Starter Kit Guide Doc 002 10542 Rev C 48 A Appendix A 1 Schematic Figure A 1 MCU...
Страница 49: ...Appendix FM0 S6E1C Series Starter Kit Guide Doc 002 10542 Rev C 49 Figure A 2 CMSIS DAP USB...
Страница 50: ...Appendix FM0 S6E1C Series Starter Kit Guide Doc 002 10542 Rev C 50 Figure A 3 Stereo Codec...
Страница 51: ...Appendix FM0 S6E1C Series Starter Kit Guide Doc 002 10542 Rev C 51 Figure A 4 Interfaces...