Electronic Components Datasheet Search |
|
AN1800 Datasheet(PDF) 4 Page - STMicroelectronics |
|
AN1800 Datasheet(HTML) 4 Page - STMicroelectronics |
4 / 7 page 4/7 STR71x BSPI USED AS A UART 3 STR71X CONFIGURATION This application was implemented with a STR71X. This microcontroller uses a 16 MHz ex- ternal clock (quartz). A description of the baud rate selection is given later in this application note. 3.1 GENERAL INITIALIZATION Four pins of the STR71x are used: ■ the MOSI pin (Master Output Slave Input). ■ the MISO pin (Master Input, Slave Output). ■ the SCLK clock pin. ■ the SS slave select pin. The MOSI, MISO and SCLK pins must be initialized as Push-Pull (please refer to the Refer- ence Manual). 3.2 BSPI CONFIGURATION The peripheral is configured as a master by using function BSPI_MasterEnable, and the Baud Rate is fixed by using function BSPI_ClockDividerConfig (please refer to the STR71x Soft- ware Library User Manual for more information). 3.2.1 EXAMPLE Then the baud rates must be selected. We should always have the same baud rates in the PC and in the BSPI. Baud Rate Clock Divider 19200 0xCF 38400 0x67 57600 0x40 115200 0x20 |
Similar Part No. - AN1800 |
|
Similar Description - AN1800 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.NET |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | 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 |