Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4300 Datasheet(PDF) 28 Page - STMicroelectronics

Part # AN4300
Description  Advanced light control and diagnostics using
PDF  40 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4300 Datasheet(HTML) 28 Page - STMicroelectronics

Back Button AN4300 Datasheet HTML 24Page - STMicroelectronics AN4300 Datasheet HTML 25Page - STMicroelectronics AN4300 Datasheet HTML 26Page - STMicroelectronics AN4300 Datasheet HTML 27Page - STMicroelectronics AN4300 Datasheet HTML 28Page - STMicroelectronics AN4300 Datasheet HTML 29Page - STMicroelectronics AN4300 Datasheet HTML 30Page - STMicroelectronics AN4300 Datasheet HTML 31Page - STMicroelectronics AN4300 Datasheet HTML 32Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 40 page
background image
MCU initialization
AN4300
28/40
DocID024675 Rev 2
Figure 22. SPI_Vbat_SetTCD function
The function InitDMA_1 configures the eDMA channels to collect the diagnosis
automatically. For this reason the following channels are configured as described below:
• DMA CH0, CH7, CH8 and CH9 are configured to trigger the start counter of the
eMIOS0_CH1 when the SYNC_MUX comes from M06_1, M06_2, M06_3 and M06_4
respectively.
• DMA CH1 is configured to trigger the stop of counter of the eMIOS0_CH1
• DMA CH1 is linked to DMA CH2. In this way when the CH1 finishes it starts the DMA CH2
transmission which allows the start of the ADC conversion.
• DMA CH5 is configured to send, by SPI, the configuration to the MUX for the active M06
to select the right channel connected to the CS and with CS_SYNC.
• DMA CH4 is configured to transfer the value of the 4 Data Registers relative to the 4 ADC
channels linked to the 4 M06 to a buffer in the memory, This is done each trigger because
it is necessary to read all ADC channels that can trigger DMA transfers.
• DMA CH10 is configured to transfer the value converted by ADC to the final RAM
structure. The scatter gather feature is used to change the TDC to adapt the ADC Data
Register and Memory location relative to the M06 Channel selected.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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