background image

 

FM4 S6E2H-Series Starter Kit Guide, Doc. No. 002-11387 Rev. ** 

49 

A.  Appendix 

 

 

A.1 

Schematic 

Figure A-1. MCU 

 

 

 

VCC_MCU

PIN2

PIN4

PIN3

PIN7

PIN6

PIN5

PIN10

PIN9

PIN8

PIN12

PIN11

PIN15

PIN14

PIN13

PIN17

PIN16

PIN20

PIN19

PIN18

PIN23

PIN22

LED_G

PIN21

NMIX

PIN25

PIN24

PIN28

PIN27

PIN26

PIN29

C20

4.7uF

C

J10

Jumper2

1

2

C21

220pF

C23

10uF

C22

100nF

R8

0R

VCC_MCU

AVRL

R1

1K

PIN33

PIN32

PIN36

PIN35

PIN34

PIN38 RESET

PIN37

PIN40 X1A

PIN39 X0A

PIN43 VBAT

PIN42 VWAKEUP

PIN41

PIN44

C

PIN48

PIN50

PIN49

PIN53

PIN52

PIN51

R12

0R

PIN56

PIN55

PIN54

PIN57 MD0

PIN59 X1

PIN58 X0

LED1
RED

AVCC

PIN89

AN18

PIN83

PIN64

PIN68

PIN77

PIN85

PIN62

PIN78

PIN74

PIN63

PIN86

AVCC

PIN84

ADC

PIN82

LED_R

PIN67

PIN81

PIN80

PIN79

AVRH

PIN66

PIN65

PIN69

PIN76

PIN75

PIN93

PIN92

PIN95

PIN94

PIN98

PIN97

PIN96

PIN101

PIN100

PIN99

PIN103

PIN102

PIN105

PIN104

PIN106

PIN110

PIN109

PIN108

INT

PIN112

PIN111

PIN115

PIN114

PIN113

PIN118

PIN116

NMIX

PIN117

PIN119

X1

X0

X0A

O SCI LLATO R

D4

1N4148

VBAT

VCC_MCU

PIN47

J21
Jumper3

1

2

3

LED

_B

MD1

PIN87

PIN87

PIN88

PIN88

PI
N

56

PIN86

PIN88

PIN87

C5

220pF

C8

10uF

C6

100nF

VCC_MCU

AVSS

X1A

R13
0R

R14
0R

X1A

J10:

Program Module: Open

User Module: Closed

Tit le

Size

Docum ent   Num ber

Rev

Dat e:

Sheet

of

MCU

V10

FM4-120L-S6E2HG

Cypress

Author: VL

3

9

Tuesday , August 25, 2015

B

VWAKEUP

R20
10K

PIN90

PIN61

AVRL

PIN72

PIN68

PIN89

PIN83

PIN85

PIN62

PIN64

PIN78

PIN74

PIN77

Y 1

4MHz

1

2

3

AVRH

PIN73

PIN84

PIN63

PIN79

PIN82

PIN67

AVSS

PIN71

PIN31

AVCC

PIN70

PIN81

PIN80

PIN69

PIN76

PIN66

PIN75

PIN65

C13

0.1uF

VCC_3V3

PIN1

PIN39_EX
PIN40_EX

LED2

LED-RGB

PIN58_EX
PIN59_EX

MD0

J18

Jumper2

1

2

J17

Jumper2

1

2

MD1

R15
10K

M O DE

R16
10K

VCC_MCU

VCC_MCU

CN1

1
2

D1

1N4148

J22 Jumper2

1

2

PIN58_EX

X0

LED_G

LED_R

LED_B

C9

0.1uF

C12

0.1uF

U1-4

S6E2HG6G0A

VCC

91

P0E/SCS6_1/TIOB5_2/IC13_0/S_CLK_0/MDQM1_0

92

P0D/SCK6_1/TIOA5_2/IC12_0/S_CMD_0/MDQM0_0

93

P0C/SOT6_1/TIOA6_1/IC11_0/S_DATA1_0/MALE_0

94

P0B/SIN6_1/TIOB6_1/INT00_1/IC10_0/S_DATA0_0/MCSX0_0

95

P0A/SIN1_0/INT12_2/FRCK1_0/S_DATA3_0/MCSX1_0

96

P09/TRACED0/AN19/TIOA3_2/SOT1_0/S_DATA2_0/MCSX5_0

97

P08/TRACED1/AN20/TIOB3_2/SCK1_0/MCSX4_0

98

P07/TRACED2/AN21/TIOA0_2/SCK7_0/MCLKOUT_0

99

P06/TRACED3/AN22/TIOB0_2/SOT7_0/MCSX3_0

100

P05/TRACECLK/AN23/ADTG_0/SIN7_0/INT01_1/MCSX2_0

101

P04/TDO/SWO

102

P03/TMS/SWDIO

103

P02/TDI/MCSX6_0

104

P01/TCK/SWCLK

105

P00/TRSTX/MCSX7_0

106

VSS

107

P68/SCK3_0/TIOB7_2/INT00_2

108

P67/SOT3_0/TIOA7_2

109

P66/SIN3_0/ADTG_8/INT11_2

110

P65/TIOB7_0/SCK5_1

111

P64/TIOA7_0/SOT5_1/INT10_2

112

P63/CROUT_1/INT03_0/SIN5_1/RX0_2/S_CD_0/MWEX_0

113

P62/INT04_1/SIN5_0/ADTG_3/TX0_2/S_WP_0/MOEX_0

114

P61/SOT5_0/TIOB2_2/UHCONX0/RTCCO_0/SUBOUT_0

115

P60/SCK5_0/TIOA2_2/NMIX/MRDY _0/WKUP0

116

USBVCC

117

P80/UDM0

118

P81/UDP0

119

VSS

120

VCC_MCU

C3

0.1uF

U1-2

S6E2HG6G0A

VCC

31

P40/TIOA0_0/RTO10_1/INT12_1

32

P41/TIOA1_0/RTO11_1/INT13_1

33

P42/TIOA2_0/RTO12_1/MSDWEX_0

34

P43/TIOA3_0/RTO13_1/ADTG_7/MCSX8_0

35

P44/TIOA4_0/RTO14_1/DA0

36

P45/TIOB0_0/RTO15_1/DA1

37

INITX

38

P46/X0A

39

P47/X1A

40

P48/VREGCTL

41

P49/VWAKEUP

42

VBAT

43

C

44

VSS

45

VCC

46

P4B/TIOB1_0/SCS7_1/MAD03_0

47

P4C/TIOB2_0/SCK7_1/AIN1_2/MAD04_0

48

P4D/TIOB3_0/SOT7_1/INT13_2/BIN1_2/MAD05_0

49

P4E/TIOB4_0/SIN7_1/INT11_1/ZIN1_2/FRCK1_1/MAD06_0/WKUP2

50

P70/TX0_0/TIOA4_2/AIN0_1/IC13_1

51

P71/INT15_1/RX0_0/TIOB4_2/BIN0_1/IC12_1

52

P72/SIN2_0/INT14_2/TIOA6_0/ZIN0_1/IC11_1

53

P73/SOT2_0/INT03_2/TIOB6_0/IC10_1

54

P74/SCK2_0/DTTI1X_1

55

PE0/MD1

56

MD0

57

PE2/X0

58

PE3/X1

59

VSS

60

C10

0.1uF

SW1
SW-B3F

2

3

1

4

J23 Jumper2

1

2

X1

U1-3

S6E2HG6G0A

VCC

61

P10/AN00/SIN1_1/INT02_1/RX1_2/FRCK0_2/MAD07_0

62

P11/AN01/SOT1_1/TX1_2/IC00_2/MAD08_0

63

P12/AN02/SCK1_1/RTCCO_1/SUBOUT_1/IC01_2/MAD09_0

64

P13/AN03/SIN0_1/INT03_1/IC02_2/MAD10_0

65

P14/AN04/SOT0_1/IC03_2/MAD11_0

66

P15/AN05/SCK0_1/MAD12_0

67

P16/AN06/SIN2_2/INT14_1/MAD13_0

68

P17/AN07/SOT2_2/MAD14_0/WKUP3

69

AVCC

70

AVSS

71

AVRL

72

AVRH

73

P18/AN08/SCK2_2/MAD15_0

74

P19/AN09/SIN4_1/INT05_1/IC00_1/MAD16_0

75

P1A/AN10/SOT4_1/IC01_1/MAD17_0

76

P1B/AN11/SCK4_1/IC02_1/MAD18_0

77

P1C/AN12/CTS4_1/IC03_1/MAD19_0

78

P1D/AN13/RTS4_1/DTTI0X_1/MAD20_0

79

P1E/AN14/ADTG_5/FRCK0_1/MAD21_0

80

P1F/TIOB6_2/ADTG_4/RTO05_1

81

P27/TIOA6_2/INT02_2/RTO04_1

82

P26/SCK2_1/RTO03_1/TIOB5_0

83

P25/TX1_0/SOT2_1/RTO02_1/TIOA5_0

84

P24/RX1_0/SIN2_1/INT01_2/RTO01_1

85

P23/AN15/SCK0_0/TIOA7_1/RTO00_1/MAD22_0

86

P22/AN16/SOT0_0/TIOB7_1/ZIN1_1/CROUT_0

87

P21/AN17/SIN0_0/INT06_1/BIN1_1/MAD23_0

88

P20/AN18/INT05_0/AIN1_1/MAD24_0

89

VSS

90

PIN59_EX

VCC_MCU

J24 Jumper2

1

2

PIN39_EX

X0A

PIN46

J25 Jumper2

1

2

PIN40_EX

X1A

U2-2

EXPORT_120

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

SW2
SW-B3F

2

3

1

4

R2
10K

PIN45

SW3
SW-B3F

2

3

1

4

PIN107

C14

NC/12pF

C16

12pF

R3
10K

C15

NC/12pF

C1

0.1uF

C17

12pF

U1-1

S6E2HG6G0A

VCC

1

P50/INT00_0/AIN0_2/CTS4_0/RTO10_0/MADATA00_0

2

P51/INT01_0/BIN0_2/RTS4_0/RTO11_0/MADATA01_0

3

P52/ZIN0_2/SCK4_0/RTO12_0/MADATA02_0

4

P53/SOT4_0/TIOA1_2/RTO13_0/MADATA03_0

5

P54/SIN4_0/INT02_0/TIOB1_2/RTO14_0/MADATA04_0

6

P55/SIN6_0/INT07_2/ADTG_1/RTO15_0/MADATA05_0

7

P56/SOT6_0/INT08_2/DTTI1X_0/MADATA06_0

8

P57/SCK6_0/MADATA07_0

9

P58/SIN4_2/INT04_2/AIN1_0/MADATA08_0

10

P59/SOT4_2/RX1_1/INT07_1/BIN1_0/MADATA09_0

11

P5A/SCK4_2/TX1_1/ZIN1_0/MADATA10_0

12

P5B/CTS4_2/MADATA11_0

13

P30/TIOB0_1/RTS4_2/INT15_2/MADATA12_0/WKUP1

14

P31/TIOB1_1/SIN3_1/INT09_2/MADATA13_0

15

P32/TIOB2_1/SOT3_1/INT10_1/MADATA14_0

16

P33/INT04_0/TIOB3_1/SCK3_1/ADTG_6/MADATA15_0

17

P34/FRCK0_0/TIOB4_1/TX0_1/MNALE_0

18

P35/IC03_0/TIOB5_1/RX0_1/INT08_1/MNCLE_0

19

P36/IC02_0/SIN5_2/INT09_1/MNWEX_0

20

P37/IC01_0/SOT5_2/INT05_2/MNREX_0

21

P38/IC00_0/SCK5_2/INT06_2

22

P39/DTTI0X_0/ADTG_2/RTCCO_2/SUBOUT_2/MSDCLK_0

23

P3A/AIN0_0/RTO00_0/TIOA0_1/MSDCKE_0

24

P3B/BIN0_0/RTO01_0/TIOA1_1/MRASX_0

25

P3C/ZIN0_0/RTO02_0/TIOA2_1/MCASX_0

26

P3D/RTO03_0/TIOA3_1/MAD00_0

27

P3E/RTO04_0/TIOA4_1/MAD01_0

28

P3F/RTO05_0/TIOA5_1/MAD02_0

29

VSS

30

C7

0.1uF

PIN5

PIN4

PIN3

PIN2

PIN9

PIN8

PIN7

PIN6

PIN13

PIN12

PIN11

PIN10

PIN17

PIN16

PIN15

PIN14

PIN21

PIN20

PIN19

PIN18

U2-1

EXPORT_120

1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

PIN25

PIN24

PIN23

PIN22

PIN29

PIN28

PIN27

PIN26

Bat t er y  Connect

+

C4

10uF/16V

U2-4

EXPORT_120

91
92
93
94
95
96
97
98
99

100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120

R9 10M[NC]

R4
10K

C11

0.1uF

U2-3

EXPORT_120

61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90

R17

100R

C18

0.1uF

C2

0.1uF

C19

0.1uF

AVSS

R10

1M

AN18

R11

10K

Y 2

32.768KHz

NM I X

PIN3

PIN2

PIN5

PIN4

PIN8

PIN7

PIN6

PIN11

PIN10

PIN9

PIN13

PIN12

PIN16

PIN15

PIN14

PIN19

PIN18

PIN17

PIN21

PIN20

PIN24

PIN23

PIN22

PIN27

PIN26

PIN25

PIN29

PIN28

PIN32

PIN35

PIN34

PIN33

PIN37

PIN36

PIN38

INT

PIN43

PIN42

PIN41

PIN44

PIN48

PIN47

PIN51

PIN50

PIN49

R81

4R7

I NT

PIN53

PIN52

PIN56

PIN55

PIN54

PIN57

PIN64

PIN63

PIN62

PIN67

PIN66

PIN65

PIN69

PIN68

PIN75

PIN74

PIN77

PIN76

PIN80

PIN79

PIN78

PIN83

PIN82

PIN81

PIN85

PIN84

PIN120

PIN91

PIN86

PIN89

PIN93

PIN92

PIN96

PIN95

PIN94

PIN34

PIN33

PIN32

PIN99

PIN98

PIN97

PIN37

PIN36

PIN35

PIN101

PIN100

PIN40

PIN39

PIN38

PIN104

PIN103

PIN102

PIN106

PIN105

PIN109

PIN108

RESET

PIN41

PIN112

PIN111

PIN110

PIN45

PIN44

PIN43

PIN42

RESET

PIN115

PIN114

PIN113

PIN49

PIN48

PIN47

PIN46

PIN116

PIN53

PIN52

PIN51

PIN50

PIN119

PIN118

PIN57

PIN56

PIN55

PIN54

VCC_MCU

PIN59

PIN58

VCC_MCU

VCC_MCU

VCC_MCU

VCC_MCU

VCC_MCU

VCC_MCU

VCC_MCU

R82

4R7

PIN30

PIN94

PIN93

PIN92

PIN98

PIN97

PIN96

PIN95

PIN102

PIN101

PIN100

PIN99

PIN106

PIN105

PIN104

PIN103

PIN110

PIN109

PIN108

PIN107

PIN114

PIN113

PIN112

PIN111

PIN116

PIN115

PIN119

PIN118

PIN117

LED

PIN60

R7

680R

R6

220R

R5

510R

R78

1K

R79

1K

R80

1K

PO TENTI O M ETER

Summary of Contents for FM4 S6E2H Series

Page 1: ...FM4 S6E2H Series Starter Kit Guide Doc No 002 11387 Rev 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: ...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 notice...

Page 3: ...pport 9 1 7 Acronyms 10 2 Installation and Test Operation 11 2 1 Install Software 11 2 2 Uninstall Software 14 2 3 Test Operation 15 3 Hardware 22 3 1 System Block Diagram 22 3 2 Hardware Features 22...

Page 4: ...ries are highly integrated 32 bit microcontrollers with high performance at a competitive cost This series is based on the ARM Cortex M4 processor including floating point instructions with on chip fl...

Page 5: ...ries Starter Kit contains the following as shown in Figure 1 1 FM4 S6E2H Series Starter board USB Standard A to Micro B cable Quick Start Guide Figure 1 1 Kit Contents Inspect the contents of the kit...

Page 6: ...Introduction FM4 S6E2H Series Starter Kit Guide Doc No 002 11387 Rev 6 1 2 Board Details Figure 1 2 FM4 S6E2H Series Starter Kit Markup...

Page 7: ...DAP J2 9 Programmer and debugger enable jumper J3 10 Programming mode jumper of MB9AF312K J5 11 Jumper to connect SW3 to NMIX J10 12 On board voltage select J15 13 Select power from CMSIS DAP J7 14 S...

Page 8: ...de J6 J7 J8 Power supply source select Select only one power source Closed J6 Powered by peripheral at J16 Closed J7 Powered by CN3 USB port of CMSIS DAP Closed J8 Powered by CN2 20 pin JTAG interface...

Page 9: ...ools and how to create a project based on the Peripheral Driver Library PDL The Appendix provides the kit schematics and the bill of materials BOM 1 5 Additional Learning Resources Cypress provides a...

Page 10: ...ug Access Port GPIO General Purpose Input Output I2C Inter Integrated Circuit IDE Integrated Development Environment LDO Low Drop Out voltage regulator LED Light Emitting Diode INT Interuppt RGB Red G...

Page 11: ...the Internet FM4 S6E2H Series Starter Kit Only This executable file installs only the kit contents which include kit code examples hardware files and user documents This package can be used if all the...

Page 12: ...o install this package or use the default folder and click Next 5 Choose the Typical Custom or Complete installation type select Typical if you do not know which one to select in the Product Installat...

Page 13: ...IS DAP driver 8 When the installation begins a list of packages appears on the installation page A green check mark appears next to each package after successful installation 9 If you are an un regist...

Page 14: ...ill be extracted to this default directory C Users User Name My Documents Cypress FM_PDL_2 0 1 And the example projects will be extracted to this default directory C Users User Name My Documents Cypre...

Page 15: ...4 S6E2H Series Starter Kit_Ver01 Firmware Demo Projects Test_Demo_Code 2 3 1 Run the Test Demo Follow the instructions to run the test demo code 1 Ensure the jumpers J7 J10 and J19 are closed Close Pi...

Page 16: ...press FM Communications Port Figure 2 6 FM Link CMSIS DAP Cypress FM Communications Port 6 Select the baud rate 115200 and click the Disconnect button to connect the board Figure 2 7 Select the Baud R...

Page 17: ...2H Series Starter Kit Guide Doc No 002 11387 Rev 17 8 For example key in 1 to test the Red LED Figure 2 9 Red LED Test 1 9 Press the Enter key to complete the Red LED test The terminal window will dis...

Page 18: ...y the results There are eight test procedures A short description of each test procedure is given below Red LED RGB LED Test This procedure will test whether red LED works normally Key in 1 to run the...

Page 19: ...ue LED will blink Then press the Enter key on the PC to complete the test TESTED will be displayed as shown in Figure 2 13 Figure 2 13 Blue LED Test SW2 User Key Test This procedure is to test switch...

Page 20: ...te the test It will display OK Figure 2 15 SW3 User Key Test Potentiometer Test This procedure tests the potentiometer Key in 6 and Turn Pot clockwise anti clockwise appear in the serial port viewer w...

Page 21: ...Card is not found in the slot the console will display Fail Figure 2 17 SD Card Test Sub Clock Test This procedure will test whether the sub clock is at 32 768 KHz or not Key in 8 and press the Enter...

Page 22: ...ter Kit 3 1 System Block Diagram Figure 3 1 shows the block diagram of the FM4 S6E2H Series Starter Kit Figure 3 1 System Block Diagram 3 2 Hardware Features Cypress FM4 S6E2HG MCU On board ICE CMSIS...

Page 23: ...3 2 User Button and LED The FM4 S6E2H Series Starter Kit features two user buttons and a 3 color LED The LED and switches are connected to the S6E2HG MCU device via pins listed in Table 3 1 Table 3 1...

Page 24: ...ce connected with the SDIO macro of the S6E2HG device This SD card interface supports full function of the SDIO including data transmission card detection and write protection Figure 3 2 SD Card Circu...

Page 25: ...ower supply 7 CLK I Clock 8 VSS2 power Power supply ground 9 DAT0 I O Data 10 DAT1 I O Data 11 W P O Write protect detect 3 3 4 CMSIS DAP The FM4 S6E2H Series Starter Kit features an on board CMSIS DA...

Page 26: ...gramming the FM4 S6E2HG MCU or for connecting a third party debugging tool CN2 is a standard ARM 0 1 10 2 pin Cortex debug connector Figure 3 5 10 pin JTAG I F 3 3 6 Potentiometer The FM4 S6E2H Series...

Page 27: ...11387 Rev 27 3 3 7 Expansion Port The FM4 S6E2H Series Starter Kit provides two sets of expansion ports which route all the MCU pins The user can access all pins of the S6E2HG device from these ports...

Page 28: ...this kit IAR Embedded Workbench for ARM Keil ARM RealView Microcontroller Development System Download evaluation versions of these tools from the vendor s website A full license may be required to bui...

Page 29: ...4 S6E2H Series Starter Kit Guide Doc No 002 11387 Rev 29 2 Click File Open Workspace and select the workspace file s6e2hg_adc eww from User_Directory FM4 S6E2H Series Starter Kit_Ver01 Firmware Demo P...

Page 30: ...1 Pin2 to Pin3 PE0 drives blue LED 5 Connect the USB cable to the CN3 port 6 Observe that Power LED LED5 is glowing green 7 Click the Download and Debug icon in the tool bar use Shortcut Crtl D or cho...

Page 31: ...xample project in Keil Vision IDE Before doing this please check the availability of the flash loader file of the S6E2HG device S6E2HG4X0A FLM S6E2HG6X0A FLM in this directory Keil_Install_Directory A...

Page 32: ...mode J10 Closed Sets S6E2HG user module J15 Pin1 to Pin2 Sets S6E2HG to 3 3V J19 Closed CMSIS DAP virtual COM connection J20 Pin1 to Pin2 CMSIS DAP virtual COM connection J21 Pin2 to Pin3 PE0 drives...

Page 33: ...to section AD Converter for details 2 s6e2hg_bt_pwm Title Base Timer Description This project demonstrates the base timer operation of the S6E2HG device This project configures a base timer in PWM mod...

Page 34: ...a through UART0 The calendar starts from 2015 9 30 23 59 01 Wednesday The calendar data will be displayed in the Serial Port Viewer window When time reaches 2015 10 01 00 00 00 the Serial Port Viewer...

Page 35: ...uired for this project All connections are hardwired on the board 4 2 1 3 Verify Output 1 Power the FM4 S6E2HG Series Starter board from CN3 using a USB cable refer to Figure 2 5 2 Open the project fi...

Page 36: ...tinationData destination array and then compares the content of the arrays to verify the data 4 2 2 2 Hardware Connection No specific hardware connections are required for this project All connections...

Page 37: ...shown below which means the content of the arrays are the same You can also verify the content of the arrays in the watch window 4 2 2 3 2 Instructions for Keil Vision IDE 1 Power the FM4 S6E2H Serie...

Page 38: ...You can also verify the content of the arrays in the watch window 4 2 3 Flash Write 4 2 3 1 Project Description This project demonstrates the flash writing operation of the S6E2HG device A specific se...

Page 39: ...emory Enter 0x00070000 in the Go to table and press the Enter Key on your PC 5 Run the program for a while 10 seconds 6 Stop the program and check the content of 0x00070000 in flash 4 2 3 3 2 Instruct...

Page 40: ...ardware connections are required for this project All connections are hardwired on the board 4 2 4 3 Verify Output 1 Power the FM4 S6E2H Series Starter board from CN3 using a USB cable refer to Figure...

Page 41: ...11387 Rev 41 Figure 4 3 Select the Baud Rate 6 Click the Toggle Outgoing Data Window button Figure 4 4 Toggle the Outgoing Data Window 7 Key in any characters in the Outgoing Data Window the same char...

Page 42: ...IAR project User_Directory FM4 S6E2H Series Starter Kit_Ver01 Firmware Demo Projects s6e2hg_sleep_mode IAR s6e2hg_sleep_mode eww Keil project User_Directory FM4 S6E2H Series Starter Kit_Ver01 Firmwar...

Page 43: ...2hg_st_wdt uvprojx 3 Build the project and download the code into the S6E2HG device 4 Run the program 5 The RGB LED LED2 will blink green 6 Stop the program comment out the line of Swwdg_Feed in main...

Page 44: ...MSIS DAP virtual COM connection SOT0 to pin 20 of MB9AF312K J21 Pin1 to Pin2 Sets the PE0 pin to MD1 mode 3 Connect the USB cable to the CN3 port 4 Observe that the Power LED LED5 is glowing green 5 L...

Page 45: ...Manager in COM box in the Customize setting window This window appears when the Set Environment button is clicked 11 Click on the Full Operation D E B P button to start programming 12 Reset the S6E2HG...

Page 46: ...K CMSIS DAP for programming and debugging purpose J5 Closed Sets MB9AF312K CMSIS DAP in programmer mode J7 Closed Selects CMSIS DAP as power source J10 Closed Sets S6E2HG in programming mode J15 Pin1...

Page 47: ...ter Kit Guide Doc No 002 11387 Rev 47 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 the COM box 10 Click the Full Oper...

Page 48: ...Doc No 002 11387 Rev 48 11 Reset the CMSIS DAP microcontroller by removing and reconnecting the USB cable and click OK 12 Click OK button in Erase and Program Complete window Note Please click on Help...

Page 49: ...CK0_1 MAD12_0 67 P16 AN06 SIN2_2 INT14_1 MAD13_0 68 P17 AN07 SOT2_2 MAD14_0 WKUP3 69 AVCC 70 AVSS 71 AVRL 72 AVRH 73 P18 AN08 SCK2_2 MAD15_0 74 P19 AN09 SIN4_1 INT05_1 IC00_1 MAD16_0 75 P1A AN10 SOT4_...

Page 50: ...CC 45 P80 UDM0 46 P81 UDP0 47 VSS 48 C30 NC 12pF R29 2K R32 10K C31 NC 12pF PIN103 PIN102 PIN106 PIN105 PIN104 VCC_MCU J20 Jumper3 1 2 3 R18 10K VCC_MCU R83 1M J3 JTAG Module CLOSED DAP Module OPEN VC...

Page 51: ...T0_0 SD_DAT1_0 SD_CLK_0 SD_CMD PIN93 SD_C D PIN113 SD_C D_0 PIN97 SD_DAT2 PIN96 SD_DAT3 SD_DAT3_0 SD_DAT2_0 Ti t l e Si ze D ocum ent N um ber R ev D at e Sheet of Micro SD card interf ace V10 FM4 120...

Page 52: ...43 D7 44 NC23 46 NC24 47 VCC 12 VCC 39 VSS 13 VSS 25 Flash_D5 Flash_D4 Flash_D6 Flash_D3 Flash_D7 Flash_D0 Flash_D1 Flash_D2 R77 NC Flash_RE R76 NC Flash_CLE R75 NC Flash_ALE Flash_WE R74 NC Flash_D5...

Page 53: ...A5 SDRAM_A8 SDRAM_A7 SDRAM_A6 SDRAM_A9 SDRAM_A11 SDRAM_A10 AP SDRAM_BA0 SDRAM_BA1 SDRAM_A0 SDRAM_A3 SDRAM_A2 SDRAM_A1 SDRAM_A4 SDRAM_A7 SDRAM_A6 SDRAM_A5 SDRAM_A8 SDRAM_A11 SDRAM_A9 SDRAM_LDQM SDRAM_R...

Page 54: ...K7 NC J13 NC Jumper2 1 2 J11 J12 Function CLOSED Host OPEN J13 VCC_MCU 5V CLOSED VCC_MCU 3V3 OPEN USB_5V0_IN CN4 USB Micro_B NC G1 G2 G3 G4 1 2 3 4 5 R92 NC R55 6K8 NC R54 10K USB_VCC_DETECT PIN116 NM...

Page 55: ...J15 VCC_MCU 3V3 Closed Pin2 to Pin1 VCC_MCU 5V0 Closed Pin2 to Pin3 TEST PO I N T J16 C onect t o Per i pher al Boar d For 5V Input or 5VOutput or 3V3 Output Peripheral_5V0_IN or OUT VCC_5V0 J16 CON2...

Page 56: ...0 C11 C12 C13 C18 C19 C24 C26 C28 C29 C32 C33 C34 C35 C36 C37 C38 C39 C41 C42 C64 C65 0 1uF Ceramic Capacitor YAGEO CC0603KRX5R8BB104 9 4 C5 C21 220pF Ceramic Capacitor YAGEO CC0603JRNPO9BN221 10 2 C6...

Page 57: ...22RL 30 5 R29 R30 R70 R89 R90 2K Resister YAGEO RC0603FR 072KL 31 1 R31 2K7 Resister YAGEO RC0603FR 072K7L 32 0 R26 R36 R52 R74 R75 R76 R77 R92 NC Resister YAGEO RC0603FR 070RL 33 2 R41 R42 3K3 Resist...

Page 58: ...T Jinling ELTSM 62KR H T R 46 1 U1 S6E2HG6G0A GV20000 MCU 176LQFP 0 5m m pitch Cypress S6E2HG6G0A GV20000 47 1 U4 MB9BF312K MCU 64LQFP 0 5mm pitch Cypress MB9BF312KPMC 48 1 U7 LM1117IMPX 3 3 NOPB Regu...

Page 59: ...2 11387 Rev 59 Revision History Document Revision History Document Title FM4 S6E2H Series Starter Kit Guide Document Number 002 11387 Revision ECN Number Issue Date Origin of Change Description of Cha...

Reviews: