40
Compact development system rich with on-board peripherals for all-round multimedia development on CY8C5868AXI-LP035 device. for PSoC ® 5LP mikromedia PSoC

mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Compact development system rich with on-board peripherals for all-round

multimedia development on CY8C5868AXI-LP035 device.

for PSoC®5LPmikromedia™

PSoC

Page 2: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

I want to express my thanks to you for being interested in our products and for having

confidence in MikroElektronika.

The primary aim of our company is to design and produce high quality electronic products

and to constantly improve the performance thereof in order to better suit your needs.

The PSoC® and Windows® logos and product names are trademarks of Cypress® and Microsoft® in the U.S.A. and other countries.

TO OUR VALUED CUSTOMERS

Nebojsa Matic

General Manager

Page 3: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 3

Introduction to mikromedia for PSoC® 5LP 4

Package Contains 5

Key Features 6

System Specification 7

1. Power supply 8

Battery power supply 8

USB power supply 8

2. CY8C5868AXI-LP035 microcontroller 10

Key microcontroller features 10

3. Programming the microcontroller 11

Programming with PSoC® Bootloader 12

PSoC® Creator™ Installation Wizard 13

PSoC® Programmer™ Installation wizard 14

PSoC® bootloader quick guide 15

Programming with mikroProg™ 16

4. Reset Button 18

5. Crystal oscillator 20

6. microSD Card Slot 22

7. Touch Screen 24

8. Audio Module 26

9. USB connection 28

10. Accelerometer 30

11. FRAM 32

12. Pads 34

13. Pinout 35

14. Dimensions 36

15. mikromedia accessories 37

Notes 38

Disclaimer 39

Table of Contents

Page 4: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 4

Introduction to mikromedia for PSoC® 5LP

The mikromedia for PSoC® 5LP is a compact

development system with lots of on-board

peripherals which allow development of devices

with multimedia content. The central part of

the system is a 32-bit CY8C5868AXI-LP035

microcontroller. The mikromedia for PSoC® 5LP

features integrated modules such as stereo

MP3 codec, 320x240 TFT touch screen

display, accelerometer, USB connector, audio

connector, MMC/SD card slot, 2Mbit FRAM, two

1x26 connection pads and other. It comes pre-

programmed with a USB HID PSoC® bootloader, but can also be programmed with external

programmers, such as mikroProg™ for PSoC® 5LP

or other external programmers. Mikromedia is

compact and slim which makes it a convenient

platform for mobile devices.

Page 5: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 5

Package Contains

01 02

04 05

03

06

Damage resistant

protective box

mikromedia for PSoC® 5LP

development board

mikromedia for PSoC® 5LP

user’s guideUSB cablemikromedia™ for PSoC® 5LP

schematics and pinout

Two 1x26 male headers

and one 2x5 male headers

Page 6: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 6

Key Features

16

01

02

03

04

05

06

07

08

09

10

11

12

13

14

15

Connection Pads

TFT display 320x240px

USB MINI-B connector

CHARGE indicator LED

Li-Polymer battery connector

3.5mm headphone connector

Power supply regulator

FRAM

RESET button

VS1053 Stereo mp3 coder/decoder

CY8C5868AXI-LP035 microcontroller

Accelerometer

Crystal oscillator

Power indication LED

microSD Card Slot

mikroProg connector

Cortex Debug connector17

01

02

09

Page 7: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 7

03

06

07

08

11

10

12

13

14

15

16

04 05

17

System Specification

power supplyVia USB cable (5V DC)

board dimensions81.2 x 60.5 mm (3.19 x 2.38 inch)

weight~50g (0.11lbs)

power consumption46 mA with erased MCU (when on-board modules are inactive)

Page 8: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 8

1. Power supply

You can power the board using the MINI-B USB cable which comes in the package.

On-board voltage regulators provide

the appropriate voltage levels to each

component on the board. Power LED (GREEN) will indicate the presence of

power supply.

You can also power the board using a Li-Polymer battery, via on-board battery connector. On-board battery

charger circuit MCP73832 enables you to charge the

battery over USB connection. LED diode (RED) will

indicate when the battery is charging. Charging current

is ~250mA and charging voltage is 4.2V DC.

Battery power supply

USB power supply

Figure 1-1: Connecting USB power supply

Figure 1-2: Connecting Li-Polymer battery

Page 9: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 9

VCC-SYS VCC-3.3V

E910uF

E1010uF

R472K2

VCC-BAT

D1PMEG3010ER

R463K9

Charging Current approx. 250mA

R374K7

VCC-3.3V

E7 10uF C41

2.2uF

R35100K

R31100K

VCC-BAT

VSENSE

VCC-SYS

VCC-SYS

VCC-BAT

VCC-USB

R34

10K

R43

10K

R3910K

VCC-3.3V

BAT-STAT

R42

10K

R411K

VCC-3.3V

E810uF

R3810K

VCC-3.3V

R33100K

3

12GND

Vin

Vout

REG1

LD29080DT33

VCC-BAT

123 4

5STATVSSVBAT VDD

PROG

U6

MCP73832

CN4

BATTCONN

LD1

POWER

CHARGE

LD2

C34

2.2uF

VCC-3.3V

R2927K4

E4

10uF

R26100K

VCC-1.8V

R301K

123

5

4

VinGNDEN ADJ

Vout

U5

AP7331-ADJ

M1DMP2160UW

Q4BC846

Q5BC846

VCC-3.3V

12

J2NetTie

GNDGNDA

VCC-USB

C42

FP3FERRITE

12345 GND

IDD+D-VBUS

CN5

USB MINIB

R45100K

HDR1 HDR2

VCC-

3.3V

VCC-

3.3V

VCC-SYSGNDA

1234567891011121314151617181920212223242526

2728293031323334353637383940414243444546474849505152

DAT

A BU

S

Figure 1-3: Power supply schematics

Page 10: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 10

2. CY8C5868AXI-LP035 microcontroller

The mikromedia for PSoC® 5LP development system comes

with the CY8C5868AXI-LP035 microcontroller. This high-

performance 32-bit microcontroller with its integrated analog

and digital modules and in combination with other on-board

modules is ideal for multimedia applications.

Key microcontroller features- 64 MHz, 32-bit ARM® Cortex™-M3 Core;

- 256 KB Flash; 64 KB SRAM;

- 4 dedicated comparators

- 62 I/O pins;

- SPI, I2C, UART, CAN, USB, ADC, DAC;

- Timers, counters, PWMs;

- Internal Oscillators;

- RTCC; etc.

XtalOsc

IMO

Clocking SystemDigital System

Analog System

Power Mgmt. System

RTC Timer

WDT and Wake

ILO

POR and LVD

Sleep Power

1.8 V LDO

SMP

Universal Digital Block Array (24x UDB)

CAN 2.0

4x Timer Counter

PWM

I2C Master/Slave

FS US 2.0

USB PHY

EEPROM SRAM

EMIF FLASH

Cortex M3PU

Interrupt Controller

Cache Controller

PHUB DMA

Memory System CPU System Program & DebugProgram

DebugBoundary SCan

LCD Direct Drive Digital Filter Block

4x SC/CT Blocks Temp.

SensorCapSense

4x DAC 4x CMP

4x AMP

ADCs

GP

IOs

SIO

s

SIO

s

GP

IOs

Page 11: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 11

The microcontroller can be programmed in two ways:

01

02

Over USB HID PSoC® bootloader

Using mikroProg™ for PSoC® 5LP or other external programmers.

3. Programming the microcontroller

Figure 3-1: CY8C5868AXI-LP035

microcontroller

Page 12: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 12

Figure 3-2: Main Window of PSoC® Creator™ software

Programming with PSoC® Bootloader

You can program the microcontroller with the

bootloader which is preprogrammed into the device by

default. To transfer the bootloader file from PC to MCU

you need PSoC® Programmer™ and PSoC® Creator™.

Appropriate software packages can be found on the

links bellow. Before downloading software you need to

register on Cypress’ website.

Upon download, double click each setup file to begin

installation of the PSoC® Programmer and PSoC®

Creator™.

http://www.cypress.com/?rID=38050

http://www.cypress.com/psoccreator/

Page 13: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 13

01

04

02

05

03

06

Start Installation

Accept license agreement

Installation type

Installation in progress

Accept license agreement

Finish installation

PSoC® Creator™ Installation Wizard

Page 14: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 14

01

04

02

05

03

06

Start Installation

Accept license agreement

Setup

Installation in progress

Installation type

Finish installation

PSoC® Programmer™ Installation wizard

Page 15: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 15

Start PSoC® Creator™ and open the appropriate Workspace File for PSoC® Creator™ (.cywrk file):

Figure 3-4: PSoC® bootloader host

PSoC® bootloader quick guide

05

04

06

07

04 Click the blue folder icon and choose the .CYACD file which will be uploaded to MCU memory from the pop-up window.

05 Connect the USB cable, or if already connected press the Reset button on your mikromedia board. USB Human Interface Device will appear in the Ports section of the window.

Click the blue arrow icon within 10s to program the MCU memory, otherwise the existing microcontroller program will execute.

06

07 If everything is done properly the board will automatically reset and your new program will execute.

Figure 3-3: PSoC® bootloader host

02

01

03

01 Double click the Bootloadable component and the Configure window will appear.

02 Click the Dependencies tab to find a reference to the associated bootloader .HEX and .ELF files.

03 Click the Browse button and choose the Bootloader_USBFS.HEX file from the pop-up window. The file can be find in the bootloader example folder. Click the OK button.

Open PSoC® Creator™ Bootloader Host window (Tools > Bootloader Host):

NOTE: Prior to use, bootloader .HEX file needs to be programmed into the mikromedia for PSoC® 5LP’s MCU.

Page 16: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 16

The microcontroller can be programmed with the mikroProg™ for PSoC® 5LP programmer, PSoC® programmer™ software and PSoC® Creator™ software. The mikroProg™ is connected to the

development board via the CN6 connector, Figure 3-5. The

board also contains a Cortex Debug connector (CN3) which can be used with other external programmers.

mikroProg™ for PSoC®

5LP is a fast programmer

and hardware debugger. It’s

a great tool for programming the

Cypress® PSoC® 5LP microcontroller family.

Outstanding performance, easy operation, elegant

design and affordable price are its top features.

Programming with mikroProg™

programmer

Figure 3-5: Connecting mikroProg™ to mikromedia™

Page 17: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 17

Figure 3-6: mikroProg™ connection schematic

C310pF

C210pF

X2

32.768KHz

CY8C5868AXI-LP035

P2[5]1

P2[6]2

P2[7]3

P12[4]4

P12[5]5

P6[4]6

P6[5]7

P6[6]8

P6[7]9

IND11

XRES15

P5[0]16

P5[1]17

P5[2]18

P5[3]19

P1[0]20

P1[1]21

P1[2]22

P1[3]23

P1[4]24

P1[5]25

VSSB10

VBOOST12

VBAT13

VSSD14

P1[7

]28

P12[

6]29

P12[

7]30

P5[4

]31

P5[5

]32

P5[6

]33

P5[7

]34

P15[

6]35

P15[

7]36

NC

40

NC

41

P15[

0]42

P15[

1]43

P3[0

]44

P3[1

]45

P3[2

]46

P3[3

]47

P3[4

]48

P3[5

]49

VDD

IO1

26

VDD

D37

VSSD

38

VCCD

39

VDD

IO3

50

P3[6] 51P3[7] 52P12[0] 53P12[1] 54P15[2] 55P15[3] 56NC 57NC 58NC 59NC 60NC 61NC 62

P12[2] 67P12[3] 68P4[0] 69P4[1] 70P0[0] 71P0[1] 72P0[2] 73P0[3] 74

VCCA 63VSSA 64VDDA 65VSSD 66

VDDIO0 75

P0[4

]76

P0[5

]77

P0[6

]78

P0[7

]79

P4[2

]80

P4[3

]81

P4[4

]82

P4[5

]83

P4[6

]84

P4[7

]85

P6[0

]89

P6[1

]90

P6[2

]91

P6[3

]92

P15[

4]93

P15[

5]94

P2[0

]95

P2[1

]96

P2[2

]97

P2[3

]98

P2[4

]99

VCCD

86VS

SD87

VDD

D88

VDD

IO2

100

P1[6

]27

U1

VCC-3.3V

RESET#

VCCD

VCCD

VDDA

VCCA

XOSCIXOSCO

X1

16MHz

C922pF

C822pF

OSC

IO

SCO

TDO/SWV

TCK/SWDCKTMS/SWDIO

TDI

GNDA

VCC-3.3V

TDO/SWVTCK/SWDCKTMS/SWDIO

TDIRESET#

68109

75

1 23 4

CN3

JTAG/SWD

TDO/SWVTCK/SWDCKTMS/SWDIO

TDIRESET#

VCC-3.3V

1 23 45 67 89 10

CN6VCC-3.3V

E610uF

C13100nF

C14100nF

C15100nF

C16100nF

E110uF

VCC-3.3V VCC-3.3V VCC-3.3V

VCC-3.3V VCC-3.3V

C17100nF

VCC-3.3V

C18100nF

VCC-3.3V

C121uF

VCCD

C11100nF

VCCD

C10100nF

VCCD

VCC-3.3V

VDDAFP1

C7100nF

GNDA

C61uF

GNDA

C51uF

GNDA

VCCA

C4100nF

GNDA

VCCA

Page 18: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 18

Board is equipped with reset button, which is located at the top of the front side (Figure 4-1). Press it to reset the circuit. It will generate

a low voltage level on the microcontroller reset pin (input). In addition, a reset signal can also be sent through pin 27 on side headers

(Figure 4-2).

4. Reset Button

Figure 4-1: Reset button

Page 19: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 19

R110K

VCC-3.3V

C1100nF

R2

1K

RSTRESET#

C310pF

C210pF

X2

32.768KHz

CY8C5868AXI-LP035

P2[5]1

P2[6]2

P2[7]3

P12[4]4

P12[5]5

P6[4]6

P6[5]7

P6[6]8

P6[7]9

IND11

XRES15

P5[0]16

P5[1]17

P5[2]18

P5[3]19

P1[0]20

P1[1]21

P1[2]22

P1[3]23

P1[4]24

P1[5]25

VSSB10

VBOOST12

VBAT13

VSSD14P1

[7]

28

P12[

6]29

P12[

7]30

P5[4

]31

P5[5

]32

P5[6

]33

P5[7

]34

P15[

6]35

P15[

7]36

NC

40

NC

41

P15[

0]42

P15[

1]43

P3[0

]44

P3[1

]45

P3[2

]46

P3[3

]47

P3[4

]48

P3[5

]49

VDD

IO1

26

VDD

D37

VSSD

38

VCCD

39

VDD

IO3

50

P3[6] 51P3[7] 52P12[0] 53P12[1] 54P15[2] 55P15[3] 56NC 57NC 58NC 59NC 60NC 61NC 62

P12[2] 67P12[3] 68P4[0] 69P4[1] 70P0[0] 71P0[1] 72P0[2] 73P0[3] 74

VCCA 63VSSA 64VDDA 65VSSD 66

VDDIO0 75

P0[4

]76

P0[5

]77

P0[6

]78

P0[7

]79

P4[2

]80

P4[3

]81

P4[4

]82

P4[5

]83

P4[6

]84

P4[7

]85

P6[0

]89

P6[1

]90

P6[2

]91

P6[3

]92

P15[

4]93

P15[

5]94

P2[0

]95

P2[1

]96

P2[2

]97

P2[3

]98

P2[4

]99

VCCD

86VS

SD87

VDD

D88

VDD

IO2

100

P1[6

]27

U1

VCC-3.3V

RESET#

VCCD

VCCD

VDDA

VCCA

XOSCIXOSCO

X1

16MHz

C922pF

C822pF

OSC

IO

SCO

T1

GNDA

VCC-3.3V

E610uF

C13100nF

C14100nF

C15100nF

C16100nF

E110uF

VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V

C17100nF

VCC-3.3V

C18100nF

VCC-3.3V

C121uF

VCCD

C11100nF

VCCD

C10100nF

VCCD

VCC-3.3V

VDDAFP1

C7100nF

GNDA

C61uF

GNDA

C51uF

GNDA

VCCA

C4100nF

GNDA

VCCA

RXTX

SDASCL

HDR2

VCC-3.3V

RST 2728293031323334353637383940414243444546474849505152

Figure 4-2: Reset circuit schematic

Page 20: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 20

5. Crystal oscillator

Figure 5-1:External crystal oscillator (X1)

The use of crystal in all other schematics is implied even if it is purposely left out because of the schematic’s clarity.NOTE :

Board is equipped with a 16MHz crystal oscillator (X1) circuit that provides external clock

waveform to the microcontroller OSCO and OSCI pins.

This base frequency is suitable for further clock multipliers

and ideal for generation of necessary USB clock, which ensures

proper operation of bootloader and your custom USB-based applications.

The board also contains a 32.768kHz Crystal oscillator (X2) which provides

external clock for internal RTCC module.

Page 21: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 21

Figure 5-2: Crystal oscillator schematic

C310pF

C210pF

X2

32.768KHz

CY8C5868AXI-LP035

P2[5]1

P2[6]2

P2[7]3

P12[4]4

P12[5]5

P6[4]6

P6[5]7

P6[6]8

P6[7]9

IND11

XRES15

P5[0]16

P5[1]17

P5[2]18

P5[3]19

P1[0]20

P1[1]21

P1[2]22

P1[3]23

P1[4]24

P1[5]25

VSSB10

VBOOST12

VBAT13

VSSD14

P1[7

]28

P12[

6]29

P12[

7]30

P5[4

]31

P5[5

]32

P5[6

]33

P5[7

]34

P15[

6]35

P15[

7]36

NC

40

NC

41

P15[

0]42

P15[

1]43

P3[0

]44

P3[1

]45

P3[2

]46

P3[3

]47

P3[4

]48

P3[5

]49

VDD

IO1

26

VDD

D37

VSSD

38

VCCD

39

VDD

IO3

50

P3[6] 51P3[7] 52P12[0] 53P12[1] 54P15[2] 55P15[3] 56NC 57NC 58NC 59NC 60NC 61NC 62

P12[2] 67P12[3] 68P4[0] 69P4[1] 70P0[0] 71P0[1] 72P0[2] 73P0[3] 74

VCCA 63VSSA 64VDDA 65VSSD 66

VDDIO0 75

P0[4

]76

P0[5

]77

P0[6

]78

P0[7

]79

P4[2

]80

P4[3

]81

P4[4

]82

P4[5

]83

P4[6

]84

P4[7

]85

P6[0

]89

P6[1

]90

P6[2

]91

P6[3

]92

P15[

4]93

P15[

5]94

P2[0

]95

P2[1

]96

P2[2

]97

P2[3

]98

P2[4

]99

VCCD

86VS

SD87

VDD

D88

VDD

IO2

100

P1[6

]27

U1

VCC-3.3VVCCD

VCCD

VDDA

VCCA

XOSCIXOSCO

X1

16MHz

C922pF

C822pF

OSC

IO

SCO

GNDA

VCC-3.3V

E610uF

C13100nF

C14100nF

C15100nF

C16100nF

E110uF

VCC-3.3V VCC-3.3V VCC-3.3V

VCC-3.3V VCC-3.3V

C17100nF

VCC-3.3V

C18100nF

VCC-3.3V

C121uF

VCCD

C11100nF

VCCD

C10100nF

VCCD

VCC-3.3V

VDDAFP1

C7100nF

GNDA

C61uF

GNDA

C51uF

GNDA

VCCA

C4100nF

GNDA

VCCA

Page 22: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 22

6. microSD Card Slot

Board contains microSD card slot for using microSD cards in your projects. It enables you to store large amounts of data externally, thus

saving microcontroller’s memory. microSD cards use Serial Peripheral Interface (SPI) for communication with the microcontroller.

Figure 6-1: microSD card slot

Page 23: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 23

C310pF

C210pF

X2

32.768KHz

CY8C5868AXI-LP035

P2[5]1

P2[6]2

P2[7]3

P12[4]4

P12[5]5

P6[4]6

P6[5]7

P6[6]8

P6[7]9

IND11

XRES15

P5[0]16

P5[1]17

P5[2]18

P5[3]19

P1[0]20

P1[1]21

P1[2]22

P1[3]23

P1[4]24

P1[5]25

VSSB10

VBOOST12

VBAT13

VSSD14

P1[7

]28

P12[

6]29

P12[

7]30

P5[4

]31

P5[5

]32

P5[6

]33

P5[7

]34

P15[

6]35

P15[

7]36

NC

40

NC

41

P15[

0]42

P15[

1]43

P3[0

]44

P3[1

]45

P3[2

]46

P3[3

]47

P3[4

]48

P3[5

]49

VDD

IO1

26

VDD

D37

VSSD

38

VCCD

39

VDD

IO3

50

P3[6] 51P3[7] 52P12[0] 53P12[1] 54P15[2] 55P15[3] 56NC 57NC 58NC 59NC 60NC 61NC 62

P12[2] 67P12[3] 68P4[0] 69P4[1] 70P0[0] 71P0[1] 72P0[2] 73P0[3] 74

VCCA 63VSSA 64VDDA 65VSSD 66

VDDIO0 75

P0[4

]76

P0[5

]77

P0[6

]78

P0[7

]79

P4[2

]80

P4[3

]81

P4[4

]82

P4[5

]83

P4[6

]84

P4[7

]85

P6[0

]89

P6[1

]90

P6[2

]91

P6[3

]92

P15[

4]93

P15[

5]94

P2[0

]95

P2[1

]96

P2[2

]97

P2[3

]98

P2[4

]99

VCCD

86VS

SD87

VDD

D88

VDD

IO2

100

P1[6

]27

U1

VCC-3.3VVCCD

VCCD

VDDA

VCCA

XOSCIXOSCO

X1

16MHz

C922pF

C822pF

OSC

IO

SCO

SPI-MISOSPI-MOSI

SD-CD#SD-CS#

SPI-SCK

GNDA

VCC-3.3V

E610uF

C13100nF

C14100nF

C15100nF

C16100nF

E110uF

VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V

C17100nF

VCC-3.3V

C18100nF

VCC-3.3V

C121uF

VCCD

C11100nF

VCCD

C10100nF

VCCD

VCC-3.3V

VDDAFP1

C7100nF

GNDA

C61uF

GNDA

C51uF

GNDA

VCCA

C4100nF

GNDA

VCCA

R49 27

R50 27

SD-CS#

R2710K

VCC-MMC

R2810K

SD-CD#

VCC-MMC

R32

27

VCC-3.3V

E510uF

C40100nF

FP2

FERRITE

124567

CSDin+3.3VSCKGNDDout

CD

GN

D

CN2

MMC CARD MICRO

SPI-SCK

SPI-MOSI

SPI-MISO

C431uF

Figure 6-2: microSD card slot module connection schematic

Page 24: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 24

The development system features a TFT 320x240 display (MI0283QT-9A) covered

with a resistive touch panel. Together they form a functional touch screen unit.

It enables data to be entered and displayed at the same time. The TFT display is

capable of showing graphics in 262.144 diffe rent colors.

7. Touch Screen

Figure 7-1: Touch Screen

Page 25: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 25

Figure 7-2: Touch Screen connection schematic

C310pF

C210pF

X2

32.768KHz

CY8C5868AXI-LP035

P2[5]1

P2[6]2

P2[7]3

P12[4]4

P12[5]5

P6[4]6

P6[5]7

P6[6]8

P6[7]9

IND11

XRES15

P5[0]16

P5[1]17

P5[2]18

P5[3]19

P1[0]20

P1[1]21

P1[2]22

P1[3]23

P1[4]24

P1[5]25

VSSB10

VBOOST12

VBAT13

VSSD14

P1[7

]28

P12[

6]29

P12[

7]30

P5[4

]31

P5[5

]32

P5[6

]33

P5[7

]34

P15[

6]35

P15[

7]36

NC

40

NC

41

P15[

0]42

P15[

1]43

P3[0

]44

P3[1

]45

P3[2

]46

P3[3

]47

P3[4

]48

P3[5

]49

VDD

IO1

26

VDD

D37

VSSD

38

VCCD

39

VDD

IO3

50

P3[6] 51P3[7] 52P12[0] 53P12[1] 54P15[2] 55P15[3] 56NC 57NC 58NC 59NC 60NC 61NC 62

P12[2] 67P12[3] 68P4[0] 69P4[1] 70P0[0] 71P0[1] 72P0[2] 73P0[3] 74

VCCA 63VSSA 64VDDA 65VSSD 66

VDDIO0 75

P0[4

]76

P0[5

]77

P0[6

]78

P0[7

]79

P4[2

]80

P4[3

]81

P4[4

]82

P4[5

]83

P4[6

]84

P4[7

]85

P6[0

]89

P6[1

]90

P6[2

]91

P6[3

]92

P15[

4]93

P15[

5]94

P2[0

]95

P2[1

]96

P2[2

]97

P2[3

]98

P2[4

]99

VCCD

86VS

SD87

VDD

D88

VDD

IO2

100

P1[6

]27

U1

VCC-3.3VVCCD

VCCD

VDDA

VCCA

XOSCIXOSCO

X1

16MHz

C922pF

C822pF

OSC

IO

SCO

LCD-RST

LCD-RD#

LCD-WR#LCD-RS

LCD

-D7

LCD

-D6

LCD

-D5

LCD

-D4

LCD

-D3

LCD

-D2

LCD

-D1

LCD

-D0

GNDA

VCC-3.3V

E610uF

C13100nF

C14100nF

C15100nF

C16100nF

E110uF

VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V

C17100nF

VCC-3.3V

C18100nF

VCC-3.3V

C121uF

VCCD

C11100nF

VCCD

C10100nF

VCCD

VCC-3.3V

VDDAFP1

C7100nF

GNDA

C61uF

GNDA

C51uF

GNDA

VCCA

C4100nF

GNDA

VCCA

LCD-XL

LCD

-YU

LCD-CS#LCD-XR

LCD-YD

LCD

-BLE

D

R1910K

VCC-SYS

LCD-RST

LCD-RSLCD-CS#

LCD-YULCD-XLLCD-YDLCD-XR

R2110K

R3610K

LCD-BLED

R2512

VCC-3.3V

LCD-RD#LCD-WR#

VCC-3.3V

LCD-D7

R20

1K

2

15

12

35

11

36

3456

14

789

13

43

33

10

37383940

444546

34

1

47

1617181920212223242526272829303132

4142

LED-KLED-A1LED-A2LED-A3LED-A4IM0IM3IM2IM1RESETVSYNCHSYNCDOTCLKENABLE

DB0DB1DB2DB3DB4DB5DB6DB7DB8DB9DB10DB11DB12DB13DB14DB15DB16DB17

SDOSDIRDWRRSCSTEVCC-IOVCCVCCGNDXRYDXLYU

TFT1

MI0283QT-9A

LCD-D0LCD-D1LCD-D2LCD-D3LCD-D4LCD-D5LCD-D6

BLED-

Q2BC846

Q1BC846

Q3BC846

C44

10uF

VCC-3.3V

Page 26: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 26

The mikromedia for PSoC® 5LP features stereo audio codec VS1053. This

module enables audio reproduction through stereo headphones connected

to the system via a 3.5mm connector CN1. All functions of this module are

controlled by the microcontroller over Serial Peripheral Interface (SPI).

8. Audio Module

Figure 8-1: On-board VS1053

MP3 codec

Page 27: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 27

Figure 8-2: Audio module connection schematic

MP3-CS#

C26

22pF

C25

22pFR141M

R2210K R24 10K

MP3

-DRE

Q

R610K

R1510K

X312.288MHz

C241uF

GPI

O

LEFT

RIGHT

GBUF

E310uF

E210uF

CN1

PHONEJACK

LEFT

RIGHT

C28 10nFC2947nF

C2710nF

R1810

R1610

R1710

R11 10

R13 10

R8

470

C233.3nF

R9100K

R5

470

C213.3nF

R7100K

L

R

R2327

2345671112

1314

25

24232221

18171615

8 1

19

9102726

20

28 29 30 31 32 33 34 35 36

373839404142434445464748M

CP/L

N1

MIC

NXR

ESET

DG

ND

0CV

DD

0IO

VDD

0CV

DD

1D

REQ

GPI

O2

GPI

O3

GPI

O6

GPI

O7

XDCS/BSYNCIOVDD1VC0DGND1XTAL0XTAL1IOVDD2DGND2DGND3DGND4XCSCVDD2

GPI

O5

RX TX SCLK

SI SO CVD

D3

XTES

TG

PIO

0G

PIO

1G

ND

GPI

O4

AGND0AVDD0

AVDD2

AGND1AGND2

AGND3LN2

LEFT

RCAPAVDD1

GBUF

RIGHT

VS1053

U3

VCC-1.8V VCC-3.3V

MP3

-RST

#

MP3-DCS

SPI-

MIS

O

SPI-

SCK

SPI-

MO

SI

R5110

R5210

C35

100nF

C36

100nF

VCC-3.3V

C37

100nF

VCC-3.3V

C38

100nF

VCC-3.3V VCC-3.3V

C39

100nF

VCC-3.3V

C33

100nF

C32

100nF

C30

100nF

C31

100nF

VCC-1.8V VCC-1.8V VCC-1.8V VCC-1.8V

C45

1uF

VCC-3.3V

C310pF

C210pF

X2

32.768KHz

CY8C5868AXI-LP035

P2[5]1

P2[6]2

P2[7]3

P12[4]4

P12[5]5

P6[4]6

P6[5]7

P6[6]8

P6[7]9

IND11

XRES15

P5[0]16

P5[1]17

P5[2]18

P5[3]19

P1[0]20

P1[1]21

P1[2]22

P1[3]23

P1[4]24

P1[5]25

VSSB10

VBOOST12

VBAT13

VSSD14

P1[7

]28

P12[

6]29

P12[

7]30

P5[4

]31

P5[5

]32

P5[6

]33

P5[7

]34

P15[

6]35

P15[

7]36

NC

40

NC

41

P15[

0]42

P15[

1]43

P3[0

]44

P3[1

]45

P3[2

]46

P3[3

]47

P3[4

]48

P3[5

]49

VDD

IO1

26

VDD

D37

VSSD

38

VCCD

39

VDD

IO3

50

P3[6] 51P3[7] 52P12[0] 53P12[1] 54P15[2] 55P15[3] 56NC 57NC 58NC 59NC 60NC 61NC 62

P12[2] 67P12[3] 68P4[0] 69P4[1] 70P0[0] 71P0[1] 72P0[2] 73P0[3] 74

VCCA 63VSSA 64VDDA 65VSSD 66

VDDIO0 75

P0[4

]76

P0[5

]77

P0[6

]78

P0[7

]79

P4[2

]80

P4[3

]81

P4[4

]82

P4[5

]83

P4[6

]84

P4[7

]85

P6[0

]89

P6[1

]90

P6[2

]91

P6[3

]92

P15[

4]93

P15[

5]94

P2[0

]95

P2[1

]96

P2[2

]97

P2[3

]98

P2[4

]99

VCCD

86VS

SD87

VDD

D88

VDD

IO2

100

P1[6

]27

U1

VCC-3.3VVCCD

VCCD

VDDA

VCCA

XOSCIXOSCO

X1

16MHz

C922pF

C822pF

OSC

IO

SCO

SPI-MISOSPI-MOSI

SPI-SCK

GNDA

C13100nF

C14100nF

C15100nF

C16100nF

E110uF

VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V

C17100nF

VCC-3.3V

C18100nF

VCC-3.3V

C121uF

VCCD

C11100nF

VCCD

C10100nF

VCCD VCC-3.3V

E610uF

VCC-3.3V

VDDAFP1

C7100nF

GNDA

C61uF

GNDA

C51uF

GNDA

VCCA

C4100nF

GNDA

VCCA

R49 27

R50 27

MP3

-CS#

MP3

-DC S

MP3-RST#MP3-DREQ

Page 28: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 28

9. USB connection

Figure 9-1: Connecting USB cable to MINI-B USB connector

CY8C5868AXI-LP035 microcontroller has an integrated USB module connected to a

MINI-B USB connector on your mikromedia. It can be used to connect the target USB host

device, such as a PC, to your board.

Page 29: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 29

Figure 9-2: USB module connection schematic

C310pF

C210pF

X2

32.768KHz

CY8C5868AXI-LP035

P2[5]1

P2[6]2

P2[7]3

P12[4]4

P12[5]5

P6[4]6

P6[5]7

P6[6]8

P6[7]9

IND11

XRES15

P5[0]16

P5[1]17

P5[2]18

P5[3]19

P1[0]20

P1[1]21

P1[2]22

P1[3]23

P1[4]24

P1[5]25

VSSB10

VBOOST12

VBAT13

VSSD14

P1[7

]28

P12[

6]29

P12[

7]30

P5[4

]31

P5[5

]32

P5[6

]33

P5[7

]34

P15[

6]35

P15[

7]36

NC

40

NC

41

P15[

0]42

P15[

1]43

P3[0

]44

P3[1

]45

P3[2

]46

P3[3

]47

P3[4

]48

P3[5

]49

VDD

IO1

26

VDD

D37

VSSD

38

VCCD

39

VDD

IO3

50

P3[6] 51P3[7] 52P12[0] 53P12[1] 54P15[2] 55P15[3] 56NC 57NC 58NC 59NC 60NC 61NC 62

P12[2] 67P12[3] 68P4[0] 69P4[1] 70P0[0] 71P0[1] 72P0[2] 73P0[3] 74

VCCA 63VSSA 64VDDA 65VSSD 66

VDDIO0 75

P0[4

]76

P0[5

]77

P0[6

]78

P0[7

]79

P4[2

]80

P4[3

]81

P4[4

]82

P4[5

]83

P4[6

]84

P4[7

]85

P6[0

]89

P6[1

]90

P6[2

]91

P6[3

]92

P15[

4]93

P15[

5]94

P2[0

]95

P2[1

]96

P2[2

]97

P2[3

]98

P2[4

]99

VCCD

86VS

SD87

VDD

D88

VDD

IO2

100

P1[6

]27

U1

VCC-3.3VVCCD

VCCD

VDDA

VCCA

XOSCIXOSCO

X1

16MHz

C922pF

C822pF

OSC

IO

SCO

USB

-D_N

USB

-D_P

USB-DET

GNDA

VCC-3.3V

E610uF

C13100nF

C14100nF

C15100nF

C16100nF

E110uF

VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V

C17100nF

VCC-3.3V

C18100nF

VCC-3.3V

C121uF

VCCD

C11100nF

VCCD

C10100nF

VCCD

VCC-3.3V

VDDAFP1

C7100nF

GNDA

C61uF

GNDA

C51uF

GNDA

VCCA

C4100nF

GNDA

VCCA

VCC-USB

C4210uF

FP3FERRITE

R40100K 1

2345 GND

IDD+D-VBUS

CN5

USB MINIB

USB-DET

R45100K

USB-D_NUSB-D_P

R44100K

R48100K

Page 30: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 30

10. Accelerometer

Figure 10-1: Accelerometer module

You can set the accelerometer address to 0 or 1 by re-soldering

the SMD jumper (zero-ohm resistor) to the appropriate position.

Jumper is soldered to position 1 by default.

On-board ADXL345 accelerometer measures

acceleration in three axis: x, y and z. Most common

use is to determine screen orientation, but there are

many other fields of usage. Communication between the

accelerometer and the microcontroller is established through I2C interface.

Page 31: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 31

Figure 10-2: Accelerometer connection schematic

VCC-3.3V

R310K

R410K

VCC-3.3V

ACC ADDRESS123

VCCGNDRes4 GND5 GND6 VCC

7CS

8INT1

9INT2

10NC

11Res

12ADD

13SDA

14SC

L

U2

ADXL345

VCC-3.3V

I2C-SDA

I2C-SCL

C20100nF

C19100nF

VCC-3.3V VCC-3.3V

123

J1

C310pF

C210pF

X2

32.768KHz

CY8C5868AXI-LP035

P2[5]1

P2[6]2

P2[7]3

P12[4]4

P12[5]5

P6[4]6

P6[5]7

P6[6]8

P6[7]9

IND11

XRES15

P5[0]16

P5[1]17

P5[2]18

P5[3]19

P1[0]20

P1[1]21

P1[2]22

P1[3]23

P1[4]24

P1[5]25

VSSB10

VBOOST12

VBAT13

VSSD14

P1[7

]28

P12[

6]29

P12[

7]30

P5[4

]31

P5[5

]32

P5[6

]33

P5[7

]34

P15[

6]35

P15[

7]36

NC

40

NC

41

P15[

0]42

P15[

1]43

P3[0

]44

P3[1

]45

P3[2

]46

P3[3

]47

P3[4

]48

P3[5

]49

VDD

IO1

26

VDD

D37

VSSD

38

VCCD

39

VDD

IO3

50

P3[6] 51P3[7] 52P12[0] 53P12[1] 54P15[2] 55P15[3] 56NC 57NC 58NC 59NC 60NC 61NC 62

P12[2] 67P12[3] 68P4[0] 69P4[1] 70P0[0] 71P0[1] 72P0[2] 73P0[3] 74

VCCA 63VSSA 64VDDA 65VSSD 66

VDDIO0 75

P0[4

]76

P0[5

]77

P0[6

]78

P0[7

]79

P4[2

]80

P4[3

]81

P4[4

]82

P4[5

]83

P4[6

]84

P4[7

]85

P6[0

]89

P6[1

]90

P6[2

]91

P6[3

]92

P15[

4]93

P15[

5]94

P2[0

]95

P2[1

]96

P2[2

]97

P2[3

]98

P2[4

]99

VCCD

86VS

SD87

VDD

D88

VDD

IO2

100

P1[6

]27

U1

VCC-3.3VVCCD

VCCD

VDDA

VCCA

I2C-SDAI2C-SCL

XOSCIXOSCO

X1

16MHz

C922pF

C822pF

OSC

IO

SCO

GNDA

C13100nF

C14100nF

C15100nF

C16100nF

E110uF

VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V

C17100nF

VCC-3.3V

C18100nF

VCC-3.3V

C121uF

VCCD

C11100nF

VCCD

C10100nF

VCCD

VCC-3.3V

E610uF

VCC-3.3V

VDDAFP1

C7100nF

GNDA

C61uF

GNDA

C51uF

GNDA

VCCA

C4100nF

GNDA

VCCA

Page 32: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 32

11. FRAM

Since multimedia applications are getting increasingly demanding, it is necessary

to provide additional memory space for storing more data. The FRAM module enables the

microcontroller to use additional 2Mbit ferroelectric non-volatile memory. It is connected to the

microcontroller via the Serial Peripheral Interface (SPI).

Figure 11-1:FRAM module

Page 33: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 33

C310pF

C210pF

X2

32.768KHz

CY8C5868AXI-LP035

P2[5]1

P2[6]2

P2[7]3

P12[4]4

P12[5]5

P6[4]6

P6[5]7

P6[6]8

P6[7]9

IND11

XRES15

P5[0]16

P5[1]17

P5[2]18

P5[3]19

P1[0]20

P1[1]21

P1[2]22

P1[3]23

P1[4]24

P1[5]25

VSSB10

VBOOST12

VBAT13

VSSD14P1

[7]

28

P12[

6]29

P12[

7]30

P5[4

]31

P5[5

]32

P5[6

]33

P5[7

]34

P15[

6]35

P15[

7]36

NC

40

NC

41

P15[

0]42

P15[

1]43

P3[0

]44

P3[1

]45

P3[2

]46

P3[3

]47

P3[4

]48

P3[5

]49

VDD

IO1

26

VDD

D37

VSSD

38

VCCD

39

VDD

IO3

50

P3[6] 51P3[7] 52P12[0] 53P12[1] 54P15[2] 55P15[3] 56NC 57NC 58NC 59NC 60NC 61NC 62

P12[2] 67P12[3] 68P4[0] 69P4[1] 70P0[0] 71P0[1] 72P0[2] 73P0[3] 74

VCCA 63VSSA 64VDDA 65VSSD 66

VDDIO0 75

P0[4

]76

P0[5

]77

P0[6

]78

P0[7

]79

P4[2

]80

P4[3

]81

P4[4

]82

P4[5

]83

P4[6

]84

P4[7

]85

P6[0

]89

P6[1

]90

P6[2

]91

P6[3

]92

P15[

4]93

P15[

5]94

P2[0

]95

P2[1

]96

P2[2

]97

P2[3

]98

P2[4

]99

VCCD

86VS

SD87

VDD

D88

VDD

IO2

100

P1[6

]27

U1

VCC-3.3VVCCD

VCCD

VDDA

VCCA

XOSCIXOSCO

X1

16MHz

C922pF

C822pF

OSC

IO

SCO

SPI-MISOSPI-MOSI

SPI-SCK

GNDA

C13100nF

C14100nF

C15100nF

C16100nF

E110uF

VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V

C17100nF

VCC-3.3V

C18100nF

VCC-3.3V

C121uF

VCCD

C11100nF

VCCD

C10100nF

VCCD

VCC-3.3V

VDDAFP1

C7100nF

GNDA

C61uF

GNDA

VCC-3.3V

E610uF

C51uF

GNDA

VCCA

C4100nF

GNDA

VCCA

R49 27

R50 27

FLAS

H-C

S#

C22

100nFR1010K

VCC-3.3V

123

54678S

QWGND D

CHOLD

VCC

U4

FM25H20

R12 27

FLASH-CS#SPI-MISO

SPI-SCKSPI-MOSI

VCC-3.3V

Figure 11-2: FRAM module connection schematic

Page 34: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 34

C310pF

C210pF

X2

32.768KHz

CY8C5868AXI-LP035

P2[5]1

P2[6]2

P2[7]3

P12[4]4

P12[5]5

P6[4]6

P6[5]7

P6[6]8

P6[7]9

IND11

XRES15

P5[0]16

P5[1]17

P5[2]18

P5[3]19

P1[0]20

P1[1]21

P1[2]22

P1[3]23

P1[4]24

P1[5]25

VSSB10

VBOOST12

VBAT13

VSSD14

P1[7

]28

P12[

6]29

P12[

7]30

P5[4

]31

P5[5

]32

P5[6

]33

P5[7

]34

P15[

6]35

P15[

7]36

NC

40

NC

41

P15[

0]42

P15[

1]43

P3[0

]44

P3[1

]45

P3[2

]46

P3[3

]47

P3[4

]48

P3[5

]49

VDD

IO1

26

VDD

D37

VSSD

38

VCCD

39

VDD

IO3

50

P3[6] 51P3[7] 52P12[0] 53P12[1] 54P15[2] 55P15[3] 56NC 57NC 58NC 59NC 60NC 61NC 62

P12[2] 67P12[3] 68P4[0] 69P4[1] 70P0[0] 71P0[1] 72P0[2] 73P0[3] 74

VCCA 63VSSA 64VDDA 65VSSD 66

VDDIO0 75

P0[4

]76

P0[5

]77

P0[6

]78

P0[7

]79

P4[2

]80

P4[3

]81

P4[4

]82

P4[5

]83

P4[6

]84

P4[7

]85

P6[0

]89

P6[1

]90

P6[2

]91

P6[3

]92

P15[

4]93

P15[

5]94

P2[0

]95

P2[1

]96

P2[2

]97

P2[3

]98

P2[4

]99

VCCD

86VS

SD87

VDD

D88

VDD

IO2

100

P1[6

]27

U1

VCC-3.3V

RESET#

RESET#

VCCD

VCCD

VDDA

VCCA

I2C-SDAI2C-SCL

XOSCIXOSCO

X1

16MHz

C922pF

C822pF

OSC

IO

SCO

SPI-MISOSPI-MOSI

UAR

T-TX

UAR

T-RX

HD

R-G

PIO

11H

DR

-GPI

O10

HD

R-G

PIO

9

HDR-PWM3HDR-PWM2

HDR-PWM1HDR-PWM0

HDR-AN0HDR-AN1HDR-AN2

HD

R-AN

3H

DR-

AN4

HD

R-AN

5H

DR-

AN6

HD

R-IN

T0

HD

R-IN

T1H

DR-

INT2

HD

R-IN

T3

LCD

-D7

LCD

-D6

LCD

-D5

LCD

-D4

LCD

-D3

LCD

-D2

LCD

-D1

LCD

-D0

SPI-SCK

GNDA

VCC-3.3V

E610uF

C13100nF

C14100nF

C15100nF

C16100nF

E110uF

VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V

C17100nF

VCC-3.3V

C18100nF

VCC-3.3V

C121uF

VCCD

C11100nF

VCCD

C10100nF

VCCD

VCC-3.3V

VDDAFP1

C7100nF

GNDA

C61uF

GNDA

C51uF

GNDA

VCCA

C4100nF

GNDA

VCCA

R49 27

R50 27

HD

R-G

PIO

8H

DR

-GPI

O7

HD

R-G

PIO

6

HD

R-G

PIO

5

HD

R-G

PIO

3H

DR

-GPI

O2

HD

R-G

PIO

1H

DR

-GPI

O0

HD

R-G

PIO

4

RXTX

SCKSDISDO

SDASCL

AN

HDR1

HDR2

VCC-3.3V

VCC-3.3V

VCC-SYS

LEFTRIGHT

AUDIO

LR

UART-RXUART-TX

SPI-MISOSPI-SCK

SPI-MOSI

I2C-SDAI2C-SCL

HDR-AN0HDR-AN1HDR-AN2HDR-AN3HDR-AN4HDR-AN5HDR-AN6HDR-INT0HDR-INT1HDR-INT2HDR-INT3

HDR-PWM0HDR-PWM1HDR-PWM2HDR-PWM3HDR-GPIO0HDR-GPIO1HDR-GPIO2HDR-GPIO3HDR-GPIO4HDR-GPIO5HDR-GPIO6HDR-GPIO7HDR-GPIO8HDR-GPIO9

HDR-GPIO10HDR-GPIO11

LCD-D7

LCD-D0LCD-D1LCD-D2LCD-D3LCD-D4LCD-D5LCD-D6

INT

PWM

GNDA

1234567891011121314151617181920212223242526

2728293031323334353637383940414243444546474849505152

12. Pads

Most microcontroller pins are available for further connectivity via two 1x26 rows of

connection pads on both sides of the mikromedia board. They are designed to match

additional shields, such as the Battery Boost, Gaming, PROTO shields and others.

Pads HDR2

Pads HDR1

Figure 12-1: Connection pads schematic

Page 35: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 35

13. Pinout

SPI LinesInterrupt LinesAnalog LinesDigital lines I2C Lines UART lines PWM lines

Reset pin5V power supplyReference Groundleft ch.right ch.

3.3V power supply3.3V power supplyReference GroundReference Ground

Pin functions Pin functions

audio out

UART

I2CSPISCKSDI

SDO

RXTXSCLSDA

Analog Lines

Interrupt Lines

Digital I/O lines

PWM lines

Digital I/O lines

VSYS RST

GND

GNDP0[1] LP0[2] RP0[3] P12[3]P0[4] P12[2]P0[5] P12[1]P0[6] P12[0]P0[7] P3[3]P4[2] P3[2]P4[4] P3[1]P4[5] P3[0]P4[6] P4[3]P2[2] P4[7]P2[1] P15[4]P2[0] P5[7]

P15[5] P5[6]P6[3] P5[5]P6[2] P5[4]P6[1] P12[7]P6[0] P12[6]P2[5] P1[7]P2[6] P12[4]P2[7] P12[5]3.3V 3.3V

GND

GND

Page 36: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 36 Page 37

14. Dimensions73.66

81.15

63.5

2.672.54

36.5

8

55.8

8

60.4

5

1.6 63

2.03

3195

29004157

7276

2380

2200

50.2

19

76

2500

1440

105100

80

8.89

350

7.62

300

3.2126

57.62268

69.32728

43.2

17

00

Legend

Page 37: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 37

15. mikromedia accessories

We have prepared a set of

extension boards pin-compatible

with your mikromedia, which

enable you to easily expand

your board basic functionality.

We call them mikromedia

shields. But we also offer other

accessories, such as Li-polymer

battery, stacking headers, wire

jumpers and more.

04

01 02 03

Gaming shield

Connect shield BatteryBoost shield PROTO shield

06 07Li-Polymer battery Wire Jumpers05 mikroBUS shield

Page 38: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 38

Notes:

Page 39: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

Page 39

DISCLAIMER

All the products owned by MikroElektronika are protected by copyright law and international copyright treaty. Therefore, this manual is to be treated as any other copyright material. No part of this manual, including product and software described herein, may be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika. The manual PDF edition can be printed for private or local use, but not for distribution. Any modification of this manual is prohibited.

MikroElektronika provides this manual ‘as is’ without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties or conditions of merchantability or fitness for a particular purpose.

MikroElektronika shall assume no responsibility or liability for any errors, omissions and inaccuracies that may appear in this manual. In no event shall MikroElektronika, its directors, officers, employees or distributors be liable for any indirect, specific, incidental or consequential damages (including damages for loss of business profits and business information, business interruption or any other pecuniary loss) arising out of the use of this manual or product, even if MikroElektronika has been advised of the possibility of such damages. MikroElektronika reserves the right to change information contained in this manual at any time without prior notice, if necessary.

TRADEMARKS

The MikroElektronika name and logo, the MikroElektronika logo, mikroC™, mikroBasic™, mikroPascal™, mikroProg™, mikroBUS™, Click Boards™ and mikromedia™ are trademarks of MikroElektronika. All other trademarks mentioned herein are property of their respective companies.All other product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies, and are only used for identification or explanation and to the owners’ benefit, with no intent to infringe.

Copyright © MikroElektronika, 2014, All Rights Reserved.

HIGH RISK ACTIVITIES

The products of MikroElektronika are not fault – tolerant nor designed, manufactured or intended for use or resale as on – line control equipment in hazard-ous environments requiring fail – safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, direct life support machines or weapons systems in which the failure of Software could lead directly to death, personal injury or severe physical or environmental damage (‘High Risk Activities’). MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities.

Page 40: mikromedia - Mikroelektronikadownload.mikroe.com/documents/smart-displays/mikro... · The mikromedia for PSoC® 5LP is a compact development system with lots of on-board peripherals

If you want to learn more about our products, please visit our web site at www.mikroe.com

If you are experiencing some problems with any of our products or just need additional

information, please place your ticket at www.mikroe.com/support/

If you have any questions, comments or business proposals,

do not hesitate to contact us at [email protected] for PSoC 5LP Manual

ver. 1.01

0 100000 025086

PSoC