39×9 DOTS MATRIX LED · PDF file 2019-03-03 · 39×9 DOTS MATRIX LED...

Click here to load reader

  • date post

    07-Mar-2020
  • Category

    Documents

  • view

    0
  • download

    0

Embed Size (px)

Transcript of 39×9 DOTS MATRIX LED · PDF file 2019-03-03 · 39×9 DOTS MATRIX LED...

  • 39×9 DOTS MATRIX LED DRIVER

    Integrated Silicon Solution, Inc. – ams.issi.com 1 Rev. B, 12/19/2018

    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 analog@issi.com or (408) 969-6600.

  • 39×9 DOTS MATRIX LED DRIVER

    Integrated Silicon Solution, Inc. – ams.issi.com 2 Rev. B, 12/19/2018

    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

    SDA SCL

    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-driversh tml.

    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 MCU VCC is 5V, so SDB can be 5V or 3.3V)

    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.

  • 39×9 DOTS MATRIX LED DRIVER

    Integrated Silicon Solution, Inc. – ams.issi.com 3 Rev. B, 12/19/2018

    GND

    3V

    SDA_M SCL_M

    INTB

    USB_DM2 USB_DP2 DIO GND 3V

    GND

    10nF

    C7

    VIN1

    GND2

    EN3

    BP 4

    VOUT 5

    U2

    LDO

    1uF C9

    3V

    CLK

    1uF C4

    3V

    0.1uF

    C2

    0.1uF

    C1

    MCU

    3V Power

    100K R6

    1KR1

    K1

    1uF C6

    0.1uF

    C3

    10K R46

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

    CON4 GND GND

    CLK DIO 3V INTB

    SDA SCL

    ADDR GND SCL SDA

    PVCC

    SDB

    3V

    SDB_M

    Micro USB

    VCC1

    USB_DM2

    USB_DP3

    NC4

    GND5

    Con5

    10uF

    C10

    PVCC

    22RR48 22RR49

    USB_DM2 USB_DP2

    1.5K

    R47 3V

    USB_DM USB_DP

    10uF

    C11

    D1

    DFL240 D2

    DFL240

    IO

    PVCC

    SDA SCL INTB SDB

    ADDR

    3V

    10K R5

    PVCC

    PVCC

    1KR2 100KR3 100KR4

    SW01 SW02 SW03 SW04 SW05 SW06

    CS01 CS02 CS03 CS04 CS05 CS06 CS07 CS08 CS09 CS10 CS11 CS12 CS13 CS14 CS15 CS16 CS17 CS18 CS19 CS20 CS21 CS22 CS23 CS24 CS25 CS26 CS27 CS28 CS29 CS30

    GND

    PVCC PVCC PVCC

    GND

    SDB

    OSCO 2

    OSCI4 GND 1

    GND3 Y1

    8M

    33P C8

    33P

    C5

    OSCO

    OSCI

    OSCI OSCO

    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 25 PB13/SPI2_SCK/TIM1_CH1N 26

    PB14/SPI2_MISO/TIM1_CH2N 27 PB15/SPI2_MOSI/TIM1_CH3N 28

    PA8/TIM1_CH1/MCO 29 PA9/USART1_TX/TIM1_CH2 30

    PA10/USART1_RX/TIM1_CH3 31 PA11/CANRX/USBDM/TIM1_CH4 32 PA12/CANTX/USBDP/TIM1_ETR 33

    PA13/JTMS/SWDIO 34 VSS_2 35

    VDD_2 36 PA14/JTCK/SWCLK 37

    PA15/JTDI 38 PB3/JTDO 39

    PB4/JNTRST 40 PB5 41

    PB6/I2C1_SCL/TIM4_CH1 42 PB7/I2C1_SDA/TIM4_CH2 43

    BOOT0 44 PB8/TIM4_CH3 45 PB9/TIM4_CH4 46

    VSS_3 47 VDD_3 48

    U3

    STM32F103C8T6

    20RCS30 20RCS29 20RCS28 20RCS27 20RCS26 20RCS25 20RCS24 20RCS23 20RCS22 20RCS21 20RCS20 20RCS19 20RCS18 20RCS17 20RCS16 20RCS15 20RCS14 20RCS13 20RCS02 20RCS11 20RCS10 20RCS09 20RCS08 20RCS07 20RCS06 20RCS05 20RCS04 20RCS03 20RCS02 20RCS01 SINK01

    SINK02 SINK03 SINK04 SINK05 SINK06 SINK07 SINK08 SINK09 SINK10 SINK11 SINK12 SINK13 SINK14 SINK15 SINK16 SINK17 SINK18 SINK19 SINK20 SINK21 SINK22 SINK23 SINK24 SINK25 SINK26 SINK27 SINK28 SINK29 SINK30

    RSET

    3V

    SW01 SW02 SW03 SW04 SW05 SW06

    SINK01 SINK02SINK03 SINK04SINK05 SINK06SINK07

    SINK08SINK09 SINK10SINK11 SINK12SINK13 SINK14SINK15 SINK16SINK17 SINK18SINK19 SINK20SINK21 SINK22SINK23

    SINK24SINK25 SINK26SINK27 SINK28SINK29 SINK30

    CS34 1 CS35 2 CS36 3 CS37 4 CS38 5 CS39 6

    INTB7

    ADDR8

    SDA9

    SCL10

    SDB11

    GND12

    RSET13

    AVCC14

    PVCC115

    SW1 16 SW2 17 SW3 18 SW4 19 SW5 20 SW6 21 SW7 22 SW8 23 SW9 24

    PVCC225

    CS1 26 CS2 27 CS3 28 CS4 29 CS5 30 CS6 31 CS7 32 CS8 33 CS9 34

    CS10 35

    GND36

    CS11 37 CS12 38 CS13 39 CS14 40 CS15 41 CS16 42 CS17 43 CS18 44 CS19 45 CS20 46 CS21 47 CS22 48 CS23 49 CS24 50 CS25 51 CS26 52 CS27 53 CS28 54

    GND55

    CS29 56 CS30 57 CS31 58 CS32 59 CS33 60

    GND61

    U1

    IS31FL3741_QFN60

    SW07 SW08 SW09

    20RCS31 20RCS32 20RCS33 20RCS34 20RCS35 20RCS36 20RCS37 20RCS38 20RCS39

    CS31 CS32 CS33 CS34 CS35 CS36 CS37 CS38 CS39

    SINK31 SINK32 SINK33 SINK34 SINK35 SINK36 SINK37 SINK38 SINK39

    SINK31 SINK32SINK33 SINK34SINK35 SINK36SINK37 SINK38SINK39

    IS31FL3741_QFN60

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

    CON1

    Header 8X2

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

    CON2

    Header 8X2

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

    CON3

    Header 8X2

    SW07 SW08 SW09

    1 2

    P1

    Header 2

    1 2

    P3

    Header 2

    1 2

    P4

    Header 2

    SDA_M SDA

    SCL_M SCL