| 数据搜索系统,热门电子元器件搜索 |
|
AN4300 数据表(PDF) 21 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4300 数据表(HTML) 21 Page - STMicroelectronics |
|
21 / 40 page ![]() 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 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |