| Electronic Components Datasheet Search |
|
AN4300 Datasheet(PDF) 2 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4300 Datasheet(HTML) 2 Page - STMicroelectronics |
|
2 / 40 page ![]() Contents AN4300 2/40 DocID024675 Rev 2 Contents 1 Lighting application design challenge . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.1 General light application aspects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.2 Driver signals characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.3 System proposal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.4 Diagnosis check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.4.1 Digital diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.4.2 Analog diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.4.3 Serial diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2 SPC56xBx features to cover lighting needs . . . . . . . . . . . . . . . . . . . . . 11 2.1 eMIOS (enhanced Modular Input/Output Subsystem) . . . . . . . . . . . . . . . .11 2.2 CTU (Cross Triggering Unit) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.3 ADC (Analog-to-Digital Converter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3 Lighting application example architecture . . . . . . . . . . . . . . . . . . . . . . 14 3.1 Hardware architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1.1 Generalities on M0-6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.2 Software Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.2.1 Synchronous diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.3 Synchronous Analog Diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.4 Implementation of the synchronous diagnosis . . . . . . . . . . . . . . . . . . . . . 19 4 MCU initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 4.1 Setting up Mode Entry and clocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 4.2 DSPI configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.3 eMIOS_0 and EMIOS_1 modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.3.1 eMIOS_0 and eMIOS_1 module initialization . . . . . . . . . . . . . . . . . . . . 22 4.4 DMA module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 4.5 ADC module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.5.1 Check Voltage Battery function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 4.6 CTU module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 4.7 Micro Resources summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 |
|
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 |