background image

 

Appendix 

 

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

53 

 

Figure A-5. SDRAM (NOT MOUNTED) 

 

 

 

RN7

22

1

2

7

8

3

4

6

5

C39

0.1uF

R49

22R

RN13

22

1

2

7

8

3

4

6

5

U6

HY 57V281620HC

NC1

36

NC2

40

CKE

37

CLK

38

CS

19

RAS

18

CAS

17

WE

16

LDQM

15

UDQM

39

A0

23

A1

24

A2

25

A3

26

A4

29

A5

30

A6

31

A7

32

A8

33

A9

34

A10/AP

22

A11

35

BA0

20

BA1

21

DQ0

2

DQ1

4

DQ2

5

DQ3

7

DQ4

8

DQ5

10

DQ6

11

DQ7

13

DQ8

42

DQ9

44

DQ10

45

DQ11

47

DQ12

48

DQ13

50

DQ14

51

DQ15

53

VD

D

14

VD

D

1

VD

D

27

VD

D

Q

9

VD

D

Q

3

VD

D

Q

43

VD

D

Q

49

VSS

54

VSS

41

VSS

28

VSSQ

6

VSSQ

12

VSSQ

46

VSSQ

52

C36

0.1uF

RN12

22

1

2

7

8

3

4

6

5

R51

10K

C34

0.1uF

RN10

22

1

2

7

8

3

4

6

5

R50

22R

C62

10pF

PIN4

PIN3

PIN2

PIN7

PIN6

PIN5

PIN9

PIN8

PIN12

PIN11

PIN10

PIN15

PIN14

PIN13

PIN17

PIN16

PIN25

PIN24

PIN23

PIN28

PIN27

PIN26

PIN34

PIN29

PIN49

PIN48

PIN47

PIN63

PIN62

PIN50

PIN65

PIN64

PIN74

PIN69

PIN66

PIN35

PIN93

PIN92

VCC_SDRAM

VCC_3V3

VCC_SDRAM

VCC_SDRAM

VCC_SDRAM

SDRAM_CLK

SDRAM_UDQM

MDQM1_0

SDRAM_CKE

SDRAM_CS

SDRAM_DQ0
SDRAM_DQ1
SDRAM_DQ2
SDRAM_DQ3

SDRAM_DQ5

SDRAM_DQ4

SDRAM_DQ6
SDRAM_DQ7

SDRAM_DQ9

SDRAM_DQ8

SDRAM_DQ10
SDRAM_DQ11

SDRAM_DQ13

SDRAM_DQ12

SDRAM_DQ14
SDRAM_DQ15

SDRAM_CKE
SDRAM_CLK

SDRAM_CS
SDRAM_RAS
SDRAM_CAS
SDRAM_WE
SDRAM_LDQM
SDRAM_UDQM

SDRAM_A0
SDRAM_A1
SDRAM_A2

SDRAM_A4

SDRAM_A3

SDRAM_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_RAS

SDRAM_CAS

SDRAM_WE

MADATA00_0

MADATA03_0

MADATA02_0

MADATA01_0

MADATA05_0

MADATA04_0

MADATA08_0

MADATA07_0

MADATA06_0

MADATA11_0

MADATA10_0

MADATA09_0

MADATA13_0

MADATA12_0

MADATA15_0

MADATA14_0

MCKE_0

MCLK_0

MCASX_0

MRASX_0

MAD02_0

MAD01_0

MAD00_0

MDWEX_0

MAD04_0

MAD03_0

MAD06_0

MAD05_0

MAD07_0

MAD09_0
MAD10_0
MAD11_0

MAD08_0

MAD15_0

MAD14_0

MDQM1_0
MDQM0_0
MCSX8_0

SDRAM_DQ0

SDRAM_DQ3

SDRAM_DQ2

SDRAM_DQ1

SDRAM_DQ5

SDRAM_DQ4

SDRAM_DQ8

SDRAM_DQ7

SDRAM_DQ6

SDRAM_DQ11

SDRAM_DQ10

SDRAM_DQ9

SDRAM_DQ13

SDRAM_DQ12

SDRAM_BA0

SDRAM_CS

NOT M OUNTED

SDRAM_DQ15

SDRAM_DQ14

SDRAM_A10/AP

SDRAM_BA1

MADATA00_0

MADATA01_0

MADATA02_0

MADATA03_0

MADATA04_0

MADATA05_0

MADATA06_0

MADATA07_0

MADATA08_0

MADATA09_0

MADATA10_0

MADATA11_0

MADATA12_0

SDRAM_CLK

MADATA13_0

MADATA14_0

SDRAM_CKE

MADATA15_0

MAD00_0

MAD01_0

Tit le

Size

Docum ent   Num ber

Rev

Dat e:

Sheet

of

SDRAM

V10

FM4-120L-S6E2HG

Cypress

Author: VL

6

9

Tuesday , August 25, 2015

A4

MAD02_0

MAD03_0

MAD04_0

MAD05_0

MAD06_0

MAD07_0

MAD08_0

MAD09_0

MAD11_0

MAD10_0

MDWEX_0

MCLK_0

MCKE_0

MRASX_0

MCASX_0

MAD14_0

MAD15_0

MCSX8_0

MDQM0_0

RN11

22

1

2

7

8

3

4

6

5

RN5

22

1

2

7

8

3

4

6

5

RN9

22

1

2

7

8

3

4

6

5

R84

10K

RN8

22

1

2

7

8

3

4

6

5

RN6

22

1

2

7

8

3

4

6

5

C38

0.1uF

C41

0.1uF

C37

0.1uF

FB3

180R@100M

C35

0.1uF

Содержание FM4 S6E2H Series

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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_...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: