Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN4300 Datasheet(PDF) 21 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) 21 Page - STMicroelectronics

Back Button AN4300 Datasheet HTML 17Page - STMicroelectronics AN4300 Datasheet HTML 18Page - STMicroelectronics AN4300 Datasheet HTML 19Page - STMicroelectronics AN4300 Datasheet HTML 20Page - STMicroelectronics AN4300 Datasheet HTML 21Page - STMicroelectronics AN4300 Datasheet HTML 22Page - STMicroelectronics AN4300 Datasheet HTML 23Page - STMicroelectronics AN4300 Datasheet HTML 24Page - STMicroelectronics AN4300 Datasheet HTML 25Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 40 page
background image
DocID024675 Rev 2
21/40
AN4300
MCU initialization
39
Figure 12. PLL initialization function
The PA[0] pin is configured as Clock output in order to verify the clock bus frequency
provided by the PLL. The CGM module allows to tune the dividers in order to provide a clock
source of 12MHz starting from an external oscillator of 40 MHz.
4.2
DSPI configuration
The following function allows to initialize the DSPI module used for the SPI transmission.
It configures the DSPI_0 as master and the following pins as:
Pad PA[12] as DSPI_0 SIN (Serial input)
• Pad PA[13] as DSPI_0 SOUT (Serial output)
• Pad PA[14] as DSPI_0 SCK (Serial Communication Clock)
• Pad PA[15] as DSPI_0 PCS0 (Peripheral Chip Select_0)
• Pad PF[10] as DSPI_0 PCS1 (Peripheral Chip Select_1)
• Pad PF[11] as DSPI_0 PCS2 (Peripheral Chip Select_2)
• Pad PE[06] as DSPI_0 PCS3 (Peripheral Chip Select_3)
The CTAR register defines the following parameters:
• Set Double Baud rate disabled
• Frame size equal to 16
• Baud Rate Prescaler value equal to 3
• Baud Rate Scaler equal to 4
• Delay after Transfer Scaler equal to 32



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