| 数据搜索系统,热门电子元器件搜索 |
|
AN970 数据表(PDF) 4 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN970 数据表(HTML) 4 Page - STMicroelectronics |
|
4 / 10 page ![]() 4/10 SPI COMMUNICATION BETWEEN ST7 AND EEPROM 2.2.3 Baud rates First the communication speed must be chosen. As the clock is given by the master, the user has to configure the baud rate of the ST7 SPI (SPR[2-0] bits in the SPICR register). For each CPU frequency, six Baud Rates are available. If fCPU = 8MHz, the baud rate range is 62.5kHz to 2MHz. 2.2.4 Clock phase and polarity Then the clock polarity and the clock phase have to be chosen. The clock polarity (CPOL bit of the SPCR register) controls the steady state value of the clock when no data is being transferred. The clock phase (CPHA bit of the SPCR register) selects on which clock transition the bit cap- ture is made and consequently on which clock transition data is latched. The user must be careful of the fact that some devices do not allow all timing relationships. For instance, the ST95040 EEPROM device accepts only CPOL,CPHA = (0,0) or (1,1) configura- tions. |
|
|
链接网址 |
| 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 |