| Electronic Components Datasheet Search |
|
AP4201 Datasheet(PDF) 15 Page - Asahi Kasei Microsystems |
|
|
|||||||||||||||||||||||||||||
AP4201 Datasheet(HTML) 15 Page - Asahi Kasei Microsystems |
|
15 / 27 page ![]() [AP4201] 015008157-E-00 - 15 - 2015/09 Table 8. Normal Command Examples Normal Command Instruction IC Address RW ALL RST LED Line Address Pin SCL(times) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 SCK Case 1 0 0 1 0 A4 A3 A2 A1 A0 1 1 0 - - - - TxD Case 2 0 0 1 0 A4 A3 A2 A1 A0 1 0 0 0 1 0 0 Case 3 0 0 1 0 A4 A3 A2 A1 A0 0 1 0 - - - - Case 4 0 0 1 0 A4 A3 A2 A1 A0 0 0 0 0 0 1 0 Case 5 0 0 1 0 A4 A3 A2 A1 A0 1 1 1 - - - - Case 6 0 0 1 0 A4 A3 A2 A1 A0 1 0 0 1 0 0 1 Case 7 0 0 1 0 A4 A3 A2 A1 A0 1 0 0 1 1 0 0 Note 15. ‘Data’ described below represents the PWM gradation data for each individual LED channel. The PWM gradation data is set in hexadecimal for the lighting ratio. “8-bit” data “10(H)” generates a light level of 16/255. (All-0= “00(H)”= turns all LEDs off) Case 1: Write LED gradation data using an “8-bit” configuration to the IC assigned by an IC address. In accordance with [ALL] = “1”, write data to all the LED lines. In this case, LED line address data are ignored; however, the 4 clock pulses for the LED line addresses are still necessary. Following the initial “16-bit” command, “8-bit” x 27 LED lines = “216-bit” of data input are necessary. Case 2: Write LED gradation data using an “8-bit” configuration to the IC assigned by an IC address. In accordance with [ALL] = “0”, write data to a specified 3 colors LED line(LEDR4, LEDG4, LEDB4). Following the initial “16-bit” command, “8-bit” x 3 LED lines = “24-bit” of data input are necessary. Case 3: Read LED gradation data using an “8-bit” configuration from the IC assigned by an IC address. In accordance with [ALL] = “1”, read data from all the LED lines. In this case, LED line address data are ignored; however, the 4 clock pulses for the LED line addresses are still necessary. Following the initial “16-bit” command, CLK pulses for “8-bit” x 27 LED lines = “216-bit” are necessary. Case 4: Read LED gradation data using a “8-bit” configuration from the IC assigned by an IC address. In accordance with [ALL] = “0”, read data from a specified 3 colors LED lines (LEDR2, LEDG2, LEDB2). In this case, Following the initial “16-bit” command, CLK pulses for “8-bit” x 3 LED lines = “24-bit” are necessary. Case 5: This command means [turn off all at once]. In accordance with [RW]=[ALL]=[RST]= “1”, turn off LEDs of the IC assigned by an IC address. This command is used to turn off all LED lines, the LED gradation data before turning off will be kept continually. Executing a latch command can relight the LEDs with the same gradation data. This command is valid when the instruction= [normal command], [RW]=[ALL]=[RST]= “1” and command length ≥ “16-bit” (need “16-bit” CLK pulse input). If [RST]= “1” is input when these conditions are not satisfied, [RST] command will be recognized as “0”. (This command is used for LED dynamic and scanning drives.) Case 6: Write LED gradation data by an “8-bit” configuration to an IC assigned by the IC address. In accordance with [ALL]= “0” and LED line setting (ch3~ch0), only write [R] data to LED lines in the order as shown below. (R8D7~R8D0) (R7D7~R7D0) … (R0D7~R0D0) [Total “8-bit”×9LED lines = “72-bit” (bit number of data)] Case 7. Write LED gradation data using an “8-bit” configuration to an IC assigned the IC address. In accordance with [ALL]= “0” and LED line setting (ch3~ch0), write data to one set of LED lines for three colors in the order as shown below. (RxD7~RxD0) (GxD7~GxD0) (BxD7~BxD0) [Total “8-bit”×3LED lines = “24-bit” (bit number of data)]. For this setting, the data of one set of written LED lines for three colors is reflected to all LED lines. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |