background image

SECO

NCV7685RGB

GEVB

www.onsemi.com

6

Firmware Setting

Generally, floating address method is used in firmware;

the configurations can changed in the “ncv7685.h” file. Here
are options:

1. Floating Address method using SOC GPIO:

#define

 NCV7675_CHIPS_NUM       0x04            

/* Chips number  */

#define

 PCA9655_Address         0x22            

/* PCA9655 I2C address */

#define

 BY_SOC                     0            

/* SOC or PCA9655  */

#define

 BY_PCA9655                 1

#define

 ADDRESS_SETTING            BY_SOC

#define

 Fix_Address                0

#define

 Address_Had_Set            0

2. Floating Address method using PCA9655:

#define

 NCV7675_CHIPS_NUM       0x04            

/* Chips number  */

#define

 PCA9655_Address         0x22            

/* PCA9655 I2C address */

#define

 BY_SOC                     0            

/* SOC or PCA9655  */

#define

 BY_PCA9655                 1

#define

 ADDRESS_SETTING            BY_PCA9655

#define

 Fix_Address                0

#define

 Address_Had_Set            0

3. Fix  Address method using PCA9655 or SOC GPIO:

#define

 NCV7675_CHIPS_NUM       0x04            

/* Chips number  */

#define

 PCA9655_Address         0x22            

/* PCA9655 I2C address */

#define

 BY_SOC                     0

#define

 BY_PCA9655                 1

#define

 ADDRESS_SETTING            BY_PCA9655   

/* SOC or PCA9655  */

#define

 Fix_Address                1

#define

 Address_Had_Set            0

4. For the board which address had programmed, just set “Address_Had_Set” to 1, So it will skip address setting

function:

#define

 NCV7675_CHIPS_NUM       0x04            

/* Chips number  */

#define

 PCA9655_Address         0x22            

/* PCA9655 I2C address */

#define

 BY_SOC                     0

#define

 BY_PCA9655                 1

#define

 ADDRESS_SETTING            BY_PCA9655   

/* SOC or PCA9655  */

#define

 Fix_Address                1

#define

 Address_Had_Set            1

Files Structure of Project

Figure 11. Files Structure of Project

·app_basc.c: Battery level indication handler
·app_bass.c: Battery Service code
·app_config.c: Application configuration source file
·app_customss.c: Bluetooth custom service
·app_msg_handler.c: Customer defined functions and data
·app_trace.c: Trace functions
·ncv7685.c: APIs of NCV7685 Chip and Board
·app.c:  main function

Summary of Contents for SECO-NCV7685RGB-GEVB

Page 1: ...The user can realize this function by using either RSL10 s GPIO or IO expender PAC9655 In firmware the driver APIs are divided into four levels Peripheral Chip Board and customer application User can directly include the chips and board APIs in their own project and modify the application APIs according to their applications This will accelerate developing period to market The board conceived for ...

Page 2: ...ption NCV7685 12 Channels 60 mA LED Linear Current Driver I2C Controllable for Automotive RSL10 SIP System in Package Bluetooth 5 Certified PCA9655 Remote 16 bit I O Expander for I2C Bus with Interrupt NCV8170 Ultra Low IQ 150 mA CMOS LDO Regulator NCV891330 3 A 2 MHz Low IQ Dual Mode Step Down Regulator for Automotive ...

Page 3: ...erations of NCV7685 RGB LEDs Board After power on the board shows the Welcome animation then according to the setting of the switch the board shows four kinds of fixed animations or turns into BLE mode The functions and operations descripted as below figures Figure 3 Sequence after Power On ...

Page 4: ...from red to green This can be used as the status indicator for dashboard Switch Setting Figure 5 Second Clock Mode Second Clock Keep Switch S1 on and S2 S3 S4 off every second only one LED in blue lights up clockwise direction in turn Switch Setting Figure 6 Flash Mode Flash Mode Keep Switch S2 on and S1 S3 S4 off all LEDs flash in red Switch Setting Figure 7 Fading Mode Fading Mode Keep Switch S1...

Page 5: ...olor and the fourth data stands for intensity 4 level brightness For V1 The fifth byte stands for LED number if this value is greater than 0x0f all LEDs response Here are several examples Examples R G B I LED_No Four level of Intensity Depends on Firmware 800080FF00 LED0 in Purple FF00003F01 LED1 in Red XXXXXX0010 All LEDs turn off as the he intensity is 0 Never mind RGB s values 00BFFFFF10 All LE...

Page 6: ...OC GPIO define NCV7675_CHIPS_NUM 0x04 Chips number define PCA9655_Address 0x22 PCA9655 I2C address define BY_SOC 0 define BY_PCA9655 1 define ADDRESS_SETTING BY_PCA9655 SOC or PCA9655 define Fix_Address 1 define Address_Had_Set 0 4 For the board which address had programmed just set Address_Had_Set to 1 So it will skip address setting function define NCV7675_CHIPS_NUM 0x04 Chips number define PCA9...

Page 7: ...SECO NCV7685RGB GEVB www onsemi com 7 Flow Chart of App c Figure 12 Flow chart of App c ...

Page 8: ...SECO NCV7685RGB GEVB www onsemi com 8 Schematic Figure 13 Schematic of Board ...

Page 9: ...SECO NCV7685RGB GEVB www onsemi com 9 Assembly Figure 14 Bottom Side Assembly ...

Page 10: ...ED14 LED21 LED22 LED23 LED24 LED31 LED32 LED33 LED34 LED41 LED42 LED43 LED44 LRTB GVSG 16 12 R1 R4 R5 R12 R13 R14 R18 R20 R21 10 kW 1002 1 Chip Resistor 9 13 R2 R3 0 W 0R0 1 Chip Resistor 2 14 R6 R7 R8 R9 R23 R24 68 W 68R0 1 Chip Resistor 6 15 R10 2 7 kW 2701 1 Chip Resistor 1 16 R11 10 W 10R0 1 Chip Resistor 1 17 R15 R22 100 kW 1003 1 Chip Resistor 2 18 R16 R17 1 5 kW 1501 1 Chip Resistor 2 19 R2...

Page 11: ...tems or any FDA Class 3 medical devices or medical devices with a similar or equivalent classification in a foreign jurisdiction or any devices intended for implantation in the human body Should you purchase or use the board for any such unintended or unauthorized application you shall indemnify and hold ON Semiconductor and its officers employees subsidiaries affiliates and distributors harmless ...

Reviews: