| Electronic Components Datasheet Search |
|
AN2478 Datasheet(PDF) 14 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2478 Datasheet(HTML) 14 Page - STMicroelectronics |
|
14 / 21 page ![]() Evaluation boards with error detection features using STP08DP05 LED drivers AN2478 14/21 The timing diagram for normal operational mode is shown in Figure 13 (left side). The yellow waveform is the clock frequency of the SPI set to 2 MHz. Five bytes are sent to the drivers in order to independently control 40 LEDs . When all data are shifted to the drivers (registers) the latch (red waveform) is switched to high and rewrites the storage registers. The OE pin enables the output driver sink current. Current is modulated by the potentiometer which changes the PWM duty cycle on the OE pin (PWM frequency is set at 244 Hz). More information about timing diagram in normal operation mode is also written in application note AN2141, since the new STP08DP05 is compatible with the previous versions of the LED drivers. Complete error detection timing diagram for checking the status of all 40 LEDs on the STEVAL-ILL002V3 or 4 is also shown in Figure 13 (right side). Error detection mode is divided to 5 timing intervals. The first interval allows enterance into error detection mode through generation of a special sequence on the latch and OE pins synchronized by the clock frequency. This sequence is described in Figure 6. When the LED drivers enter error detection mode the high level must be sent through SPI to the outputs and then latched. In the next step the status of incorrect LEDs is detected. An enlarged view of the third timing interval is provided in Figure 14. The OE is set to low level for at least 1 µs (in this case 50 µs) and one clock cycle (yellow) is applied. The status of the LEDs is obtained when OE is turned to high level as shown in the fourth timing interval (the detection result is read on the SDO on the falling edge of the SPI clock). First, the data are read from the last driver E, then from D, etc. To demonstrate the error detection feature the LED diode 39 (see the schematic diagram in Figure 16) was shorted and therefore the results coming from the LED drivers are the following: ● DRIVER A: 1111 1111 ● DRIVER B: 1111 1111 ● DRIVER C: 1111 1111 ● DRIVER D: 1111 1111 ● DRIVER E: 1011 1111 (output 6 faults) As soon as the status of all LEDs is checked the LED drivers should return to the normal operational mode by generating a special sequence during fifth timing interval. The timing diagram for resuming normal mode is also shown in Figure 7. Figure 13. Timing diagram for the STEVAL-ILL002V3 or 4 evaluation board Normal mode Error detection mode Zoom CLK SDO LE OE 1 2 3 45 A B C E D |
|
|
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 |