| 数据搜索系统,热门电子元器件搜索 |
|
AN3139 数据表(PDF) 46 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3139 数据表(HTML) 46 Page - STMicroelectronics |
|
46 / 63 page ![]() Block-by-block compatibility analysis AN3139 46/63 Doc ID 16993 Rev 3 3.8 Communication peripherals 3.8.1 SPI This peripheral is available in all STM8L sub-families. The differences are the supported features: ● DMA capability not supported in the STM8L10x sub-family ● Hardware CRC feature for reliable communication not supported in the STM8L10x sub- family. When migrating from the STM8L10x sub-family to the STM8L15x sub-family, you have to add the additional peripheral of the same type as first parameter in every function used from the firmware library. You also have to add the CRC polynomial parameter in the SPI_Init() function. A full compatibility, in terms of function parameter names, is guaranteed for all common features. Additional peripheral instances are available in the high/medium+ density STM8L15x/STM8L16x devices (refer to Section 4.2: SPI on page 59). 3.8.2 I2C This peripheral is available in all STM8L sub-families. Note: If true open drain lines are required, make sure that the default mapping is kept for SDA & SCL functions as these functions are generally mapped to pins with true open drain capabilities (which is not the case when SDA & SCL are remapped to other pins). The differences are in the supported features: ● DMA capability not supported in the STM8L10x sub-family ● SMBUS 2.0/ PMBus not supported in the STM8L10x sub-family. ● Dual addressing mode not supported in the STM8L10x sub-family When migrating from the STM8L10x sub-family to the STM8L15x sub-family, you have to add the additional peripheral of the same type as first parameter in every function used from the firmware library. For the common features, a full compatibility, in terms of function parameter names, is guaranteed. Note: I/Os with true open drain capabilities are available for I2C in all STM8L sub-families. 3.8.3 USART This peripheral is present in the whole STM8L family. The differences lie in the supported features. The following table gives an overview of the supported features for each family. When migrating from the STM8L10x sub-family to the STM8L15x/STMP8L16x sub-family, you have to add the additional peripheral of the same type as first parameter in every function used from the firmware library. For the common features, a full compatibility, in terms of function parameter names, is guaranteed. Additional peripheral instances are available in the high/medium+ density STM8L15x/STM8L16x devices (refer to Section 4.4: USART on page 60). Refer to the STM8L10x microcontroller family reference manual (RM0013), STM8L15x microcontroller family reference manual (RM0031), STM8L101x datasheet and STM8L15x datasheet for more detailed information. |
|
链接网址 |
| 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 |