background image

16 CHANNELS LED DRIVER EVALUATION BOARD GUIDE 

Integrated Silicon Solution, Inc. – www.issi.com

 

 

8

 

Rev. A, 09/18/2017 

APPENDIX 

: IS31FL3216A Arduino Test Code V01A 

#include<Wire.h> 

#include<avr/pgmspace.h> 

#define Addr_GND 0xE8 

//7 bit format is 0x74(AD=L) or 0x77(AD=H) 

const PROGMEM byte PWM_Gama64[128]= 

  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, 

 

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

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

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

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

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

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

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

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

}; 

 

void setup() { 

    // put your setup code here, to run once: 

  Wire.begin(); 

  Wire.setClock(400000);//I2C 400kHz 

  pinMode(4,OUTPUT);//SDB 

  digitalWrite(4,HIGH);//SDB_HIGH 

  Init_3216A(); 

 

void loop() { 

    // put your main code here, to run repeatedly: 

   IS31FL3216A_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 

Summary of Contents for IS31FL3216A

Page 1: ...r supply Audio source i e MP3 player Notebook PC etc 8Ω speaker ABSOLUTE MAXIMUM RATINGS 5 5V power supply 8Ω speaker Caution Do not exceed the conditions listed above otherwise the board will be damaged PROCEDURE The IS31FL3216A 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 c...

Page 2: ...corresponding pin grounding Then the corresponding LED lights will go out Note IS31FL3216A solely controls the FxLED function on the evaluation board SOFTWARE SUPPORT JP1 default setting is closed jumper on If it is open when the EVB is powered on by 5V DC or micro USB no jumper JP1 the on board MCU will configure its own I2C SDB AD pins to High Impedance status so an external source can driver th...

Page 3: ... 0 1uF C7 R7 100K 0 1uF C8 1uF C6 R6 10K R4 4 7K R3 4 7K R5 100K VCC SCL INTB SDA SDB SCL KEY R8 10K VCC 100uF C1 U5 1 4953 J1 AUDIOIN out1 out2 out3 out4 out5 out6 out7 out8 out9 out10 out11 out12 out13 out14 out15 out16 G R B G R B G R B G R B out1out2out3 out4out5out6 out7 out8out9 out10out11out12 out13out14out15 V2 8V out1 out2 out3 out4 out5 out6 out7 out8 out9 out10 out11 out12 out13 out14 o...

Page 4: ... 7k 1 16W 5 SMD 2 Yageo RC0603JR 074K7L Resistor R4 R11 RES 100k 1 16W 5 SMD 8 Yageo RC0603JR 07100KL Resistor R13 R15 R17 R18 R21 R23 R25 RES 100k 1 16W 5 SMD 7 Yageo RC0603JR 07100KL Resistor R12 R14 R16 R18 R20 R22 R24 R26 RES 4 7k 1 16W 5 SMD 8 Yageo RC0603JR 074K7L Resistor R27 RES 20k 1 16W 5 SMD 1 Yageo RC0603JR 0720KL Resistor R28 RES 39k 1 16W 5 SMD 1 Yageo RC0603JR 07100KL Capacitor C1 C...

Page 5: ...16 CHANNELS LED DRIVER EVALUATION BOARD GUIDE Integrated Silicon Solution Inc www issi com 5 Rev A 09 18 2017 Figure 4 Board Component Placement Guide Top Layer Figure 5 Board PCB Layout Top Layer ...

Page 6: ...ersion 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 effectiven...

Page 7: ...16 CHANNELS LED DRIVER EVALUATION BOARD GUIDE Integrated Silicon Solution Inc www issi com 7 Rev A 09 18 2017 REVISION HISTORY Revision Detail Information Data A Initial Release 2017 09 18 ...

Page 8: ... 0xf1 0xf6 0xfa 0xfe 0xff 0xff 0xfe 0xfa 0xf6 0xf1 0xed 0xe9 0xe1 0xd6 0xcf 0xcb 0xc6 0xbf 0xb9 0xb0 0xac 0xa7 0xa0 0x9a 0x94 0x8d 0x88 0x80 0x7d 0x77 0x72 0x6d 0x69 0x64 0x5f 0x5a 0x55 0x4f 0x4b 0x48 0x44 0x40 0x3c 0x38 0x34 0x2e 0x28 0x25 0x22 0x1f 0x1d 0x1c 0x1a 0x16 0x13 0x11 0x0f 0x0d 0x0b 0x09 0x08 0x07 0x06 0x05 0x04 0x03 0x02 0x01 0x00 void setup put your setup code here to run once Wire b...

Page 9: ... Addr_GND 0x02 0xff turn on out1 8 for i 0x10 i 0x20 i IS_IIC_WriteByte Addr_GND i 0x00 write all PWM set 0x00 IS_IIC_WriteByte Addr_GND 0xB0 0x00 update IS_IIC_WriteByte Addr_GND 0x00 0x00 normal operation void IS31FL3216A_mode1 void All LED Breath uint8_t i 0 int8_t j 0 for j 0 j 127 j all LED breath for i 0x10 i 0x20 i IS_IIC_WriteByte Addr_GND i pgm_read_byte_near PWM_Gama64 j set all PWM IS_I...

Reviews: