39×9 DOTS MATRIX LED DRIVER - ISSI · cs32 10r cs33 10r cs34 10r cs35 10r cs36 10r cs37 10r cs38...

12
39×9 DOTS MATRIX LED DRIVER Integrated Silicon Solution, Inc. – www.issi.com 1 Rev. A, 09/07/2017 DESCRIPTION The IS31FL3741 is a general purpose 39×9 LED Matrix programmed via an I2C compatible interface. Each LED can be dimmed individually with 8-bit PWM data and 8-bit scaling data which allowing 256 steps of linear PWM dimming and 256 steps of DC current adjustable level. Additionally each LED open and short state can be detected, IS31FL3741 store the open or short information in Open-Short Registers. The Open-Short Registers allowing MCU to read out via I2C compatible interface. Inform MCU whether there are LEDs open or short and the locations of open or short LEDs. FEATURES Supply voltage range from 2.7V to 5.5V 39 Current Sink × 9 SW matrix size: drive up to 351 LEDs or 117 RGBs Individual 256 PWM control steps Individual 256 DC current steps Global 255 current setting SDB rising edge reset I2C module Interrupt and state lookup registers Individual open and short error detect function De-ghost QFN-60 (7mm×7mm) package QUICK START Figure 1: Photo of IS31FL3741 Evaluation Board RECOMMENDED EQUIPMENT 5.0V, 2A power supply ABSOLUTE MAXIMUM RATINGS 5.5V power supply Caution: Do not exceed the conditions listed above, otherwise the board will be damaged. PROCEDURE The IS31FL3741 evaluation board is fully assembled and tested. Follow the steps listed below to verify board operation. Caution: Do not turn on the power supply until all connections are completed. 1) Connect 3V and P2. 2) Connect SDA and P1. 3) Connect SCL and P3. 4) Connect SDB and P4 5) Connect PVCC and SDB. 6) Turn on the power supply/Plug in the Micro USB Pay attention to the supply current. If the current exceeds 1A, please check for circuit fault. EVALUATION BOARD OPERATION The IS31FL3741 evaluation board has three animation display modes. Press K1 to switch configurations. 1) Rainbow wave#1 2) Rainbow wave#2 3) Rain 4) Visor Note: IS31FL3741 solely controls the FxLED function on the evaluation board. ORDERING INFORMATION Part No. Temperature Range Package IS31FL3741-QFLS4-EB -40°C to +125°C (Industrial) QFN-60, Lead-free Table 1: Ordering Information For pricing, delivery, and ordering information, please contacts ISSI’s analog marketing team at [email protected] or (408) 969-6600.

Transcript of 39×9 DOTS MATRIX LED DRIVER - ISSI · cs32 10r cs33 10r cs34 10r cs35 10r cs36 10r cs37 10r cs38...

Page 1: 39×9 DOTS MATRIX LED DRIVER - ISSI · cs32 10r cs33 10r cs34 10r cs35 10r cs36 10r cs37 10r cs38 10r cs39 10r cs31 cs34 cs38 cs39 sink31 sink32 sink33 sink34 sink35 sink36 sink37

39×9 DOTS MATRIX LED DRIVER

Integrated Silicon Solution, Inc. – www.issi.com 1 Rev. A, 09/07/2017

DESCRIPTION

The IS31FL3741 is a general purpose 39×9 LED Matrix programmed via an I2C compatible interface. Each LED can be dimmed individually with 8-bit PWM data and 8-bit scaling data which allowing 256 steps of linear PWM dimming and 256 steps of DC current adjustable level.

Additionally each LED open and short state can be detected, IS31FL3741 store the open or short information in Open-Short Registers. The Open-Short Registers allowing MCU to read out via I2C compatible interface. Inform MCU whether there are LEDs open or short and the locations of open or short LEDs.

FEATURES

Supply voltage range from 2.7V to 5.5V 39 Current Sink × 9 SW matrix size: drive up to

351 LEDs or 117 RGBs Individual 256 PWM control steps Individual 256 DC current steps Global 255 current setting SDB rising edge reset I2C module Interrupt and state lookup registers Individual open and short error detect function De-ghost QFN-60 (7mm×7mm) package QUICK START

Figure 1: Photo of IS31FL3741 Evaluation Board

RECOMMENDED EQUIPMENT

5.0V, 2A power supply

ABSOLUTE MAXIMUM RATINGS

≤ 5.5V power supply

Caution: Do not exceed the conditions listed above, otherwise the board will be damaged.

PROCEDURE

The IS31FL3741 evaluation board is fully assembled and tested. Follow the steps listed below to verify board operation.

Caution: Do not turn on the power supply until all connections are completed.

1) Connect 3V and P2. 2) Connect SDA and P1. 3) Connect SCL and P3. 4) Connect SDB and P4 5) Connect PVCC and SDB. 6) Turn on the power supply/Plug in the Micro USB

Pay attention to the supply current. If the current exceeds 1A, please check for circuit fault.

EVALUATION BOARD OPERATION

The IS31FL3741 evaluation board has three animation display modes. Press K1 to switch configurations.

1) Rainbow wave#1 2) Rainbow wave#2 3) Rain 4) Visor

Note: IS31FL3741 solely controls the FxLED function on the evaluation board.

ORDERING INFORMATION

Part No. Temperature Range Package

IS31FL3741-QFLS4-EB -40°C to +125°C (Industrial) QFN-60, Lead-free

Table 1: Ordering Information

For pricing, delivery, and ordering information, please contacts ISSI’s analog marketing team at [email protected] or (408) 969-6600.

Page 2: 39×9 DOTS MATRIX LED DRIVER - ISSI · cs32 10r cs33 10r cs34 10r cs35 10r cs36 10r cs37 10r cs38 10r cs39 10r cs31 cs34 cs38 cs39 sink31 sink32 sink33 sink34 sink35 sink36 sink37

39×9 DOTS MATRIX LED DRIVER

Integrated Silicon Solution, Inc. – www.issi.com 2 Rev. A, 09/07/2017

SOFTWARE SUPPORT

P2 and 3V default setting is closed (jumper on). If it is open (no jumper), the on-board MCU will configure its own I2C/SDB/ADDR pins to High Impedance status so an external source can driver the I2C/SDB signals to control the IS31FL3741 LED driver.

The ADDR pin is pulled high via R6 setting the device address of IS31FL3741 to 0x60.

GND

SDASCL

SDB

VCC

Figure 2: Photo of Arduino UNO connected to Evaluation Board

The steps listed below are an example using the Arduino for external control.

The Arduino hardware consists of an Atmel microcontroller with a bootloader allowing quick

firmware updates. First download the latest Arduino Integrated Development Environment IDE (1.6.12 or greater) from www.arduino.cc/en/Main/Software. Also download the Wire.h library from www.arduino.cc/en/reference/wire and verify that pgmspace.h is in the directory …program Files(x86)/Arduino/hardware/tools/avr/avr/include/avr/. Then download the latest IS31FL3741 test firmware (sketch) from the ISSI website http://www.issi.com/US/product-analog-fxled-drivershtml.

1) Open P2 and 3V. 2) Open PVCC and SDB. 3) Connect the 5 pins from Arduino board to

IS31FL3741 EVB: a) Arduino 5V pin to IS31FL3741 EVB PVCC. b) Arduino GND to IS31FL3741 EVB GND. c) Arduino SDA (A4) to IS31FL3741 EVB P1. d) Arduino SCL (A5) to IS31FL3741 EVB P3. e) If Arduino use 3.3V MCU VCC, connect

3.3V to IS31FL3741 EVB SDB, if Arduino use 5.0V MCU VCC, connect 5.0V to EVB SDB. (Arduino UNO is 5.0V, so SDB=5.0V)

4) Use the test code in appendix I or download the test firmware (sketch) from the ISSI website, a .txt file and copy the code to Arduino IDE, compile and upload to Arduino.

5) Run the Arduino code as appendix I. 6) In EVB code, the ADDR pin is pulled low via

100k, so the device address is 0x60. When P1~P4 are disconnect, the ADDR pin can be changed by connecting the ADDR as follows: a) ADDR=VCC, device address=0x66. b) ADDR=SCL, device address=0x62. c) ADDR=SDA, device address=0x64.

Please refer to the datasheet to get more information about IS31FL3741.

Page 3: 39×9 DOTS MATRIX LED DRIVER - ISSI · cs32 10r cs33 10r cs34 10r cs35 10r cs36 10r cs37 10r cs38 10r cs39 10r cs31 cs34 cs38 cs39 sink31 sink32 sink33 sink34 sink35 sink36 sink37

39×9 DOTS MATRIX LED DRIVER

Integrated Silicon Solution, Inc. – www.issi.com 3 Rev. A, 09/07/2017

GND

3V

SDASCL

INTB

USB_DM2USB_DP2DIOGND3V

GND

10nF

C7

VIN1

GND2

EN3

BP 4

VOUT5

U2

LDO

1uFC9

3V

CLK

1uFC4

3V

0.1uF

C2

0.1uF

C1

MCU

3V Power

100KR6

4.7KR1

K1

1uFC6

0.1uF

C3

10KR46

1234567891011121314151617181920

CON4GNDGND

CLKDIO3VINTB

SDASCL

ADDRGNDSCLSDA

PVCC

SDB

3V

SDB

Micro USB

VCC1

USB_DM2

USB_DP3

NC4

GND5

Con5

10uF

C10

PVCC

22RR4822RR49

USB_DM2USB_DP2

1.5K

R473V

USB_DMUSB_DP

10uF

C11

D1

DFL240D2

DFL240

IO

PVCC

SDASCLINTBSDB

ADDR

3V

10KR5

PVCC

PVCC

4.7KR2100KR3100KR4

SW01SW02SW03SW04SW05SW06

CS01CS02CS03CS04CS05CS06CS07CS08CS09CS10CS11CS12CS13CS14CS15CS16CS17CS18CS19CS20CS21CS22CS23CS24CS25CS26CS27CS28CS29CS30

GND

PVCCPVCCPVCC

GND

SDB

OSCO 2

OSCI4

GND1

GND3Y1

8M

33PC8

33P

C5

OSCO

OSCI

OSCIOSCO

PVCC

VBAT1

PC13-ANTI_TAMP2

PC14-OSC32_IN3

PC15-OSC32_OUT4

OSC_IN5

OSC_OUT6

NRST7

VSSA8

VDDA9

PA0-WKUP/ADC_IN0/TIM2_CH1_ETR10

PA1/ADC_IN1/TIM2_CH211

PA2/USART2_TX/ADC_IN2/TIM2_CH312

PA3/USART2_RX/ADC_IN3/TIM2_CH413

PA4/SPI1_NSS/ADC_IN414

PA5/SPI1_SCK/ADC_IN515

PA6/SPI1_MISO/ADC_IN6/TIM3_CH116

PA7/SPI1_MOSI/ADC_IN7/TIM3_CH217

PB0/ADC_IN8/TIM3_CH318

PB1/ADC_IN9/TIM3_CH419

PB2/BOOT120

PB10/I2C2_SCL/USART3_TX21

PB11/I2C2_SDA/USART3_RX22

VSS_123

VDD_124 PB12/SPI2_NSS/TIM1_BKIN 25PB13/SPI2_SCK/TIM1_CH1N

26PB14/SPI2_MISO/TIM1_CH2N27

PB15/SPI2_MOSI/TIM1_CH3N 28PA8/TIM1_CH1/MCO

29PA9/USART1_TX/TIM1_CH230

PA10/USART1_RX/TIM1_CH3 31PA11/CANRX/USBDM/TIM1_CH4

32PA12/CANTX/USBDP/TIM1_ETR33

PA13/JTMS/SWDIO 34VSS_2

35VDD_236PA14/JTCK/SWCLK37

PA15/JTDI 38PB3/JTDO

39PB4/JNTRST40

PB5 41PB6/I2C1_SCL/TIM4_CH1

42PB7/I2C1_SDA/TIM4_CH243

BOOT0 44PB8/TIM4_CH3

45PB9/TIM4_CH446

VSS_3 47VDD_3 48

U3

STM32F103C8T6

10RCS3010RCS2910RCS2810RCS2710RCS2610RCS2510RCS2410RCS2310RCS2210RCS2110RCS2010RCS1910RCS1810RCS1710RCS1610RCS1510RCS1410RCS1310RCS0210RCS1110RCS1010RCS0910RCS0810RCS0710RCS0610RCS0510RCS0410RCS0310RCS0210RCS01 SINK01

SINK02SINK03SINK04SINK05SINK06SINK07SINK08SINK09SINK10SINK11SINK12SINK13SINK14SINK15SINK16SINK17SINK18SINK19SINK20SINK21SINK22SINK23SINK24SINK25SINK26SINK27SINK28SINK29SINK30

RSET

3V

SW01SW02 SW03SW04 SW05SW06

SINK01SINK02SINK03SINK04SINK05SINK06SINK07

SINK08SINK09SINK10SINK11SINK12SINK13SINK14SINK15SINK16SINK17SINK18SINK19SINK20SINK21SINK22SINK23

SINK24SINK25SINK26SINK27SINK28SINK29SINK30

CS341CS352

CS36 3CS37

4CS385

CS39 6

INTB7

ADDR8

SDA9

SCL10

SDB11

GND12

RSET13

AVCC14

PVCC115

SW1 16SW2

17SW318

SW4 19SW5

20SW621

SW7 22SW8 23SW9

24

PVCC225

CS126CS227

CS3 28CS4

29CS530

CS6 31CS7

32CS833CS934

CS10 35

GND36

CS1137CS1238

CS13 39CS14

40CS1541

CS16 42CS17

43CS1844

CS19 45CS20 46CS21

47CS2248

CS23 49CS24

50CS2551

CS26 52CS27

53CS2854

GND55

CS29 56CS30

57CS3158

CS32 59CS33 60

GND61

U1

IS31FL3741_QFN61

SW07SW08SW09

10RCS3110RCS3210RCS3310RCS3410RCS3510RCS3610RCS3710RCS3810RCS39

CS31CS32CS33CS34CS35CS36CS37CS38CS39

SINK31SINK32SINK33SINK34SINK35SINK36SINK37SINK38SINK39

SINK31SINK32SINK33SINK34SINK35SINK36SINK37SINK38SINK39

IS31FL3741_QFN60

1 23 45 67 89 1011 1213 1415 16

CON1

Header 8X2

1 23 45 67 89 1011 1213 1415 16

CON2

Header 8X2

1 23 45 67 89 1011 1213 1415 16

CON3

Header 8X2

SW07SW08 SW09

12

P1

Header 2

12

P3

Header 2

12

P4

Header 2

SDASDA

SCLSCL

SDBSDB

12

P2

Header 2

PA0

PA03V

10KR50

SW1 SW2 SW3 SW4 SW5SW6

CS1CS2CS3

CS4CS5CS6

CS7CS8CS9

CS10CS11CS12

CS13CS14CS15

CS16CS17CS18

CS19CS20CS21

CS22CS23CS24

CS25CS26CS27

CS28CS29CS30

LD1RGB4P

SW1SW2SW3SW4SW5SW6

CS1CS2 CS3CS4 CS5CS6 CS7

CS8 CS9CS10 CS11CS12 CS13CS14 CS15CS16 CS17CS18 CS19CS20 CS21CS22 CS23

CS24 CS25CS26 CS27CS28 CS29CS30

1 23 45 67 89 1011 1213 1415 16

P1

Header 8X2

1 23 45 67 89 1011 1213 1415 16

P3

Header 8X2

1 23 45 67 89 1011 1213 1415 16

P2

Header 8X2

SW7 SW8 SW9

CS31CS32CS33

CS34CS35CS36

CS37CS38CS39

CS31CS32

SW7SW8SW9

CS33CS34 CS35CS36 CS37CS38 CS39

LD2RGB4P

LD3RGB4P

LD4RGB4P

LD5RGB4P

LD6RGB4P

LD7RGB4P

LD8RGB4P

LD9RGB4P

LD10RGB4P

LD11RGB4P

LD12RGB4P

LD13RGB4P

LD14RGB4P

LD15RGB4P

LD16RGB4P

LD17RGB4P

LD18RGB4P

LD19RGB4P

LD20RGB4P

LD21RGB4P

LD22RGB4P

LD23RGB4P

LD24RGB4P

LD25RGB4P

LD26RGB4P

LD27RGB4P

LD28RGB4P

LD29RGB4P

LD30RGB4P

LD31RGB4P

LD32RGB4P

LD33RGB4P

LD34RGB4P

LD35RGB4P

LD36RGB4P

LD37RGB4P

LD38RGB4P

LD39RGB4P

LD40RGB4P

LD41RGB4P

LD42RGB4P

LD43RGB4P

LD44RGB4P

LD45RGB4P

LD46RGB4P

LD47RGB4P

LD48RGB4P

LD49RGB4P

LD50RGB4P

LD51RGB4P

LD52RGB4P

LD53RGB4P

LD54RGB4P

LD55RGB4P

LD56RGB4P

LD57RGB4P

LD58RGB4P

LD59RGB4P

LD60RGB4P

LD61RGB4P

LD62RGB4P

LD63RGB4P

LD64RGB4P

LD65RGB4P

LD66RGB4P

LD67RGB4P

LD68RGB4P

LD69RGB4P

LD70RGB4P

LD71RGB4P

LD72RGB4P

LD73RGB4P

LD74RGB4P

LD75RGB4P

LD76RGB4P

LD77RGB4P

LD78RGB4P

LD79RGB4P

LD80RGB4P

LD81RGB4P

LD82RGB4P

LD83RGB4P

LD84RGB4P

LD85RGB4P

LD86RGB4P

LD87RGB4P

LD88RGB4P

LD89RGB4P

LD90RGB4P

LD91RGB4P

LD92RGB4P

LD93RGB4P

LD94RGB4P

LD95RGB4P

LD96RGB4P

LD97RGB4P

LD98RGB4P

LD99RGB4P

LD100RGB4P

LD101RGB4P

LD102RGB4P

LD103RGB4P

LD104RGB4P

LD105RGB4P

LD106RGB4P

LD107RGB4P

LD108RGB4P

LD109RGB4P

LD110RGB4P

LD111RGB4P

LD112RGB4P

LD113RGB4P

LD114RGB4P

LD115RGB4P

LD116RGB4P

LD117RGB4P

LED Array

Figure 3: IS31FL3741 Application Schematic

Page 4: 39×9 DOTS MATRIX LED DRIVER - ISSI · cs32 10r cs33 10r cs34 10r cs35 10r cs36 10r cs37 10r cs38 10r cs39 10r cs31 cs34 cs38 cs39 sink31 sink32 sink33 sink34 sink35 sink36 sink37

39×9 DOTS MATRIX LED DRIVER

Integrated Silicon Solution, Inc. – www.issi.com 4 Rev. A, 09/07/2017

BILL OF MATERIALS

Name Symbol Description Qty Supplier Part No.

LED Driver U1 Matrix LED Driver 1 ISSI IS31FL3741

LDO U2 Reduced voltage 1 SGMICRO SGM2019-3.3V

MCU U3 Microcontroller 1 STM STM32F103C8T6

Diode LD1~LD117 Blue LED, SMD 117 Everlight 9-237/R6GHBHC-A01/2T

Diode D1,D2 Diode, SMD 2 DIODES DFLS240

Crystal Y1 Crystal, 8MHz 1 JB HC-49S

Resistor R1,R2 RES,4.7k,1/16W,±5%,SMD 2 Yageo RC0603JR-074K7L

Resistor R3,R4,R6 RES,100K,1/16W,±5%,SMD 3 Yageo RC0603JR-07100KL

Resistor R5,R50,R46 RES,10k,1/16W,±5%,SMD 3 Yageo RC0603JR-0710KL

Resistor R47 RES,1.5k,1/16W,±5%,SMD 1 Yageo RC0603JR-071K5L

Resistor R48,R49 RES,22R,1/16W,±5%,SMD 2 Yageo RC0603JR-0722RL

Resistor CS01~CS39 RES,10R,1/16W,±5%,SMD 39 Yageo RC0603JR-0710RL

Capacitor C1,C2,C3 CAP,0.1µF,16V,±20%,SMD 3 Yageo CC0603KKX7R9BB104

Capacitor C4,C6,C9 CAP,1µF,16V,±20%,SMD 3 Yageo CC0603KKX7R9BB105

Capacitor C5,C8 CAP,33pF,16V,±20%,SMD 2 Yageo CC0603KKX7R9BB330

Capacitor C7 CAP,10nF,16V,±20%,SMD 1 Yageo CC0603KKX7R9BB103

Capacitor C10,C11 CAP,10uF,16V, ±20%,SMD 2 Yageo CC0805KKX7R9BB106

Button K1 Button SMD 1

Bill of Materials, refer to Figure 3 above.

Page 5: 39×9 DOTS MATRIX LED DRIVER - ISSI · cs32 10r cs33 10r cs34 10r cs35 10r cs36 10r cs37 10r cs38 10r cs39 10r cs31 cs34 cs38 cs39 sink31 sink32 sink33 sink34 sink35 sink36 sink37

39×9 DOTS MATRIX LED DRIVER

Integrated Silicon Solution, Inc. – www.issi.com 5 Rev. A, 09/07/2017

0 0

00

2

1

2

1

2

1

2

1

1

1

0

0

0

0

2

4

6

8

10

12

1

3

5

7

9

11

1314

1516

1234567891011121314151617181920

24681012

135791113

14

15

16

2

4

6

8

10

12

1

3

5

7

9

11

1314

1516

1

2

4

3

Figure 4: Board Component Placement Guide - Top Layer

0 0

00

2

1

2

1

2

1

2

1

2

1

1

1

0

0

0

0

2

4

6

8

10

12

1

3

5

7

9

11

1314

1516

1234567891011121314151617181920

24681012

135791113

14

15

16

2

4

6

8

10

12

1

3

5

7

9

11

1314

1516

1

2

4

3

Figure 5: Board PCB Layout - Top Layer

Page 6: 39×9 DOTS MATRIX LED DRIVER - ISSI · cs32 10r cs33 10r cs34 10r cs35 10r cs36 10r cs37 10r cs38 10r cs39 10r cs31 cs34 cs38 cs39 sink31 sink32 sink33 sink34 sink35 sink36 sink37

39×9 DOTS MATRIX LED DRIVER

Integrated Silicon Solution, Inc. – www.issi.com 6 Rev. A, 09/07/2017

0 0

00

2

1

2

1

2

1

2

1

1

1

0

0

0

0

2

4

6

8

10

12

1

3

5

7

9

11

1314

1516

1234567891011121314151617181920

24681012

135791113

14

15

16

2

4

6

8

10

12

1

3

5

7

9

11

1314

1516

1

2

4

3

Figure 6: Board Component Placement Guide - Bottom Layer

0 0

00

12

2

1

2

1

2

1

2

1

21

2 1

2 1

2

1

2 1

21

2

1

2

12

1 2

1

1

1

0

0

0

0

2

4

6

8

10

12

1

3

5

7

9

11

1314

1516

1234567891011121314151617181920

24681012

135791113

14

15

16

2

4

6

8

10

12

1

3

5

7

9

11

1314

1516

2 1

2 1

1

2

4

3

21 21

21

21

21

21

21

21

21

21

21

21

21

21

2 1 21

2

1

212 1

2

1

2 1

21

2 1

21

2 12 1

2 12 1

2 12 1

2 12 1

2 1

2 12 1

2 12 1

2

1

2

1

2

1

2

1

2 1

2 1

2

1

2

1

2

1

2 1

2 121

61

1

2

4

3

Figure 7: Board PCB Layout - Bottom Layer

Page 7: 39×9 DOTS MATRIX LED DRIVER - ISSI · cs32 10r cs33 10r cs34 10r cs35 10r cs36 10r cs37 10r cs38 10r cs39 10r cs31 cs34 cs38 cs39 sink31 sink32 sink33 sink34 sink35 sink36 sink37

39×9 DOTS MATRIX LED DRIVER

Integrated Silicon Solution, Inc. – www.issi.com 7 Rev. A, 09/07/2017

Figure 8: LED Board Component Placement Guide - Top Layer

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

2 3

1 4

Figure 9: LED Board PCB Layout - Top Layer

Page 8: 39×9 DOTS MATRIX LED DRIVER - ISSI · cs32 10r cs33 10r cs34 10r cs35 10r cs36 10r cs37 10r cs38 10r cs39 10r cs31 cs34 cs38 cs39 sink31 sink32 sink33 sink34 sink35 sink36 sink37

39×9 DOTS MATRIX LED DRIVER

Integrated Silicon Solution, Inc. – www.issi.com 8 Rev. A, 09/07/2017

Figure 10: LED Board Component Placement Guide - Bottom Layer

15

13

11

9

7

5

3

2

4

6

8

10

12

14

16

1

1

16 14 12 10 8 6 4 2

3579111315

15

13

11

9

7

5

3

2

4

6

8

10

12

14

16

1

Figure 11: LED Board PCB Layout - Bottom Layer

Copyright © 2017 Integrated Silicon Solution, Inc. All rights reserved. ISSI reserves the right to make changes to this specification and its products at any time without notice. ISSI assumes no liability arising out of the application or use of any information, products or services described herein. Customers are advised to obtain the latest version of this device specification before relying on any published information and before placing orders for products. Integrated Silicon Solution, Inc. does not recommend the use of any of its products in life support applications where the failure or malfunction of the product can reasonably be expected to cause failure of the life support system or to significantly affect its safety or effectiveness. Products are not authorized for use in such applications unless Integrated Silicon Solution, Inc. receives written assurance to its satisfaction, that: a.) the risk of injury or damage has been minimized; b.) the user assume all such risks; and c.) potential liability of Integrated Silicon Solution, Inc is adequately protected under the circumstances 

Page 9: 39×9 DOTS MATRIX LED DRIVER - ISSI · cs32 10r cs33 10r cs34 10r cs35 10r cs36 10r cs37 10r cs38 10r cs39 10r cs31 cs34 cs38 cs39 sink31 sink32 sink33 sink34 sink35 sink36 sink37

39×9 DOTS MATRIX LED DRIVER

Integrated Silicon Solution, Inc. – www.issi.com 9 Rev. A, 09/07/2017

REVISION HISTORY

Revision Detail Information Date

A Initial release 2017.09.07

Page 10: 39×9 DOTS MATRIX LED DRIVER - ISSI · cs32 10r cs33 10r cs34 10r cs35 10r cs36 10r cs37 10r cs38 10r cs39 10r cs31 cs34 cs38 cs39 sink31 sink32 sink33 sink34 sink35 sink36 sink37

39×9 DOTS MATRIX LED DRIVER

Integrated Silicon Solution, Inc. – www.issi.com 10 Rev. A, 09/07/2017

APPENDIX Ⅰ: IS31FL3741 Arduino Test Code V01A

#include<Wire.h>

#include<avr/pgmspace.h>

#define Addr_GND 0x60

#define R 0xFF

#define G 0x00

#define B 0xFF

uint8_t i,j;

const PROGMEM byte PWM_Gama64[64]=

{

0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,

0x08,0x09,0x0b,0x0d,0x0f,0x11,0x13,0x16,

0x1a,0x1c,0x1d,0x1f,0x22,0x25,0x28,0x2e,

0x34,0x38,0x3c,0x40,0x44,0x48,0x4b,0x4f,

0x55,0x5a,0x5f,0x64,0x69,0x6d,0x72,0x77,

0x7d,0x80,0x88,0x8d,0x94,0x9a,0xa0,0xa7,

0xac,0xb0,0xb9,0xbf,0xc6,0xcb,0xcf,0xd6,

0xe1,0xe9,0xed,0xf1,0xf6,0xfa,0xfe,0xff

};

void setup() {

Wire.begin();

Wire.setClock(1000000);//I2C 1MHz

Init_3741(R, G, B);

}

void loop() {

IS31FL3741_Test_mode1();//breath mode

}

void IS_IIC_WriteByte(uint8_t Dev_Add,uint8_t Reg_Add,uint8_t Reg_Dat)

{

Wire.beginTransmission(Dev_Add/2); // transmit to device IS31FL373x

Wire.write(Reg_Add); // sends regaddress

Wire.write(Reg_Dat); // sends regaddress

Wire.endTransmission(); // stop transmitting

}

void Init_3741(uint8_t Rdata, uint8_t Gdata, uint8_t Bdata)

{

IS_IIC_WriteByte(Addr_GND,0xfe,0xc5);//unlock

IS_IIC_WriteByte(Addr_GND,0xfD,0x02);//write page 2

for(i=2;i<0xB4;i+=3)

Page 11: 39×9 DOTS MATRIX LED DRIVER - ISSI · cs32 10r cs33 10r cs34 10r cs35 10r cs36 10r cs37 10r cs38 10r cs39 10r cs31 cs34 cs38 cs39 sink31 sink32 sink33 sink34 sink35 sink36 sink37

39×9 DOTS MATRIX LED DRIVER

Integrated Silicon Solution, Inc. – www.issi.com 11 Rev. A, 09/07/2017

{

IS_IIC_WriteByte(Addr_GND,i,Rdata);//R LED Scaling

}

for(i=1;i<0xB4;i+=3)

{

IS_IIC_WriteByte(Addr_GND,i,Gdata);//G LED Scaling

}

for(i=0;i<0xB4;i+=3)

{

IS_IIC_WriteByte(Addr_GND,i,Bdata);//B LED Scaling

}

IS_IIC_WriteByte(Addr_GND,0xfe,0xc5);//unlock

IS_IIC_WriteByte(Addr_GND,0xfD,0x03);//write page 3

for(i=2;i<0xAB;i+=3)

{

IS_IIC_WriteByte(Addr_GND,i,Rdata);//R LED Scaling

}

for(i=1;i<0xAB;i+=3)

{

IS_IIC_WriteByte(Addr_GND,i,Gdata);//G LED Scaling

}

for(i=0;i<0xAB;i+=3)

{

IS_IIC_WriteByte(Addr_GND,i,Bdata);//B LED Scaling

}

IS_IIC_WriteByte(Addr_GND,0xfe,0xc5);//unlock

IS_IIC_WriteByte(Addr_GND,0xfD,0x00);//write page 0

for(i=0;i<0xB4;i++)

{

IS_IIC_WriteByte(Addr_GND,i,0x00);//write all PWM set 0x00

}

IS_IIC_WriteByte(Addr_GND,0xfe,0xc5);//unlock

IS_IIC_WriteByte(Addr_GND,0xfD,0x01);//write page 1

for(i=0;i<0xAB;i++)

{

IS_IIC_WriteByte(Addr_GND,i,0x00);//write all PWM set 0x00

} //init all the PWM data to 0

IS_IIC_WriteByte(Addr_GND,0xfe,0xc5);//unlock

IS_IIC_WriteByte(Addr_GND,0xfD,0x04);//write page 4

IS_IIC_WriteByte(Addr_GND,0x01,0x7F);//global current

IS_IIC_WriteByte(Addr_GND,0x00,0x01);//normal operation

}

void IS31FL3741_Test_mode1(void)//

Page 12: 39×9 DOTS MATRIX LED DRIVER - ISSI · cs32 10r cs33 10r cs34 10r cs35 10r cs36 10r cs37 10r cs38 10r cs39 10r cs31 cs34 cs38 cs39 sink31 sink32 sink33 sink34 sink35 sink36 sink37

39×9 DOTS MATRIX LED DRIVER

Integrated Silicon Solution, Inc. – www.issi.com 12 Rev. A, 09/07/2017

{

IS_IIC_WriteByte(Addr_GND,0xFD,0x00);//write frist frame

for (j=0;j<64;j++)//all LED ramping up

{

IS_IIC_WriteByte(Addr_GND,0xfe,0xc5);//unlock

IS_IIC_WriteByte(Addr_GND,0xfD,0x00);//write page 0

for(i=0;i<0xB4;i++)

{

IS_IIC_WriteByte(Addr_GND,i,pgm_read_byte_near(&PWM_Gama64[j]));//set all PWM

}

IS_IIC_WriteByte(Addr_GND,0xfe,0xc5);//unlock

IS_IIC_WriteByte(Addr_GND,0xfD,0x01);//write page 1

for(i=0;i<0xAB;i++)

{

IS_IIC_WriteByte(Addr_GND,i,pgm_read_byte_near(&PWM_Gama64[j]));//set all PWM

}

delay(10);//10ms

}

delay(1000); //keep on 1s

for (j=63;j>0;j--)//all LED ramping down

{

IS_IIC_WriteByte(Addr_GND,0xfe,0xc5);//unlock

IS_IIC_WriteByte(Addr_GND,0xfD,0x00);//write page 0

for(i=0;i<0xB4;i++)

{

IS_IIC_WriteByte(Addr_GND,i,pgm_read_byte_near(&PWM_Gama64[j-1]));//set all PWM

}

IS_IIC_WriteByte(Addr_GND,0xfe,0xc5);//unlock

IS_IIC_WriteByte(Addr_GND,0xfD,0x01);//write page 1

for(i=0;i<0xAB;i++)

{

IS_IIC_WriteByte(Addr_GND,i,pgm_read_byte_near(&PWM_Gama64[j-1]));//set all PWM

}

delay(10);//10ms

}

delay(500); //keep off 0.5s

}