Datasheet

List of tables
Table 1. Device summary .........................................................................................................................1
Table 2. STM8S105xx access line features .............................................................................................9
Table 3. Peripheral clock gating bit assignments in CLK_PCKENR1/2 registers ..................................14
Table 4. TIM timer features ...................................................................................................................16
Table 5. Legend/abbreviations for pinout tables ...................................................................................20
Table 6. Pin description for STM8S105 microcontrollers .......................................................................24
Table 7. Flash, Data EEPROM and RAM boundary addresses ..........................................................105
Table 8. I/O port hardware register map ..............................................................................................108
Table 9. General hardware register map ................................................................................................33
Table 10. CPU/SWIM/debug module/interrupt controller registers ......................................................109
Table 11. Interrupt mapping ....................................................................................................................47
Table 12. Option bytes ..........................................................................................................................54
Table 13. Option byte description ...........................................................................................................50
Table 14. Description of alternate function remapping bits [7:0] of OPT2 ..............................................52
Table 15. Unique ID registers (96 bits) ...................................................................................................54
Table 16. Voltage characteristics ...........................................................................................................56
Table 17. Current characteristics ...........................................................................................................57
Table 18. Thermal characteristics ..........................................................................................................58
Table 19. General operating conditions .................................................................................................59
Table 20. Operating conditions at power-up/power-down ......................................................................60
Table 21. Total current consumption with code execution in run mode at V
DD
= 5 V .............................61
Table 22. Total current consumption with code execution in run mode at V
DD
= 3.3 V ..........................73
Table 23. Total current consumption in wait mode at V
DD
= 5 V ............................................................64
Table 24. Total current consumption in wait mode at V
DD
= 3.3 V .........................................................65
Table 25. Total current consumption in active halt mode at V
DD
= 5 V ..................................................65
Table 26. Total current consumption in active halt mode at V
DD
= 3.3 V ...............................................66
Table 27. Total current consumption in halt mode at V
DD
= 5 V .............................................................67
Table 28. Total current consumption in halt mode at V
DD
= 3.3 V ..........................................................68
Table 29. Wakeup times .........................................................................................................................68
Table 30. Total current consumption and timing in forced reset state ..................................................102
Table 31. Peripheral current consumption .............................................................................................69
Table 32. HSE user external clock characteristics .................................................................................73
Table 33. HSE oscillator characteristics .................................................................................................74
Table 34. HSI oscillator characteristics ..................................................................................................75
Table 35. LSI oscillator characteristics ...................................................................................................77
Table 36. RAM and hardware registers ..................................................................................................78
Table 37. Flash program memory/data EEPROM memory ....................................................................78
Table 38. I/O static characteristics .........................................................................................................79
Table 39. Output driving current (standard ports) ..................................................................................82
Table 40. Output driving current (true open drain ports) ........................................................................82
Table 41. Output driving current (high sink ports) ..................................................................................83
Table 42. NRST pin characteristics ........................................................................................................88
Table 43. SPI characteristics ..................................................................................................................91
Table 44. I
2
C characteristics ..................................................................................................................94
Table 45. ADC characteristics ................................................................................................................96
Table 46. ADC accuracy with R
AIN
< 10 , V
DDA
= 5 V .......................................................................97
Table 47. ADC accuracy with R
AIN
< 10 R
AIN
, V
DDA
= 3.3 V ............................................................98
DocID14771 Rev 124/124
STM8S105xxList of tables