|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
this is preliminary information on a new product now in dev elopment or undergoing evaluati on. details are subject to change without notice. june 2017 docid030584 rev 2 1/84 STM8S001J3 16 mhz stm8s 8-bit mcu, 8-kbyt e flash memory, 128-byte data eeprom, 10-bit adc, 3 timers, uart, spi, i2c datasheet - preliminary data features core ? 16 mhz advanced stm8 core with harvard architecture and 3-stage pipeline ? extended instruction set memories ? program memory: 8 kbytes flash memory; data retention 20 years at 55 c after 100 cycles ? ram: 1 kbyte ? data memory: 128-byte true data eeprom; endurance up to 100 k write/erase cycles clock, reset and supply management ? 2.95 v to 5.5 v operating voltage ? flexible clock control, 3 master clock sources ? external clock input ? internal, user-trimmable 16 mhz rc ? internal low-po wer 128 khz rc ? clock security system with clock monitor ? power management ? low-power modes (wait, active-halt, halt) ? switch-off peripheral clocks individually ? permanently active, low-consumption power-on and power-down reset interrupt management ? nested interrupt contro ller with 32 interrupts ? up to 5 external interrupts timers ? advanced control timer: 16-bit, 2 capcom channels, 2 outputs, dead-time insertion and flexible synchronization ? 16-bit general purpose timer, with 3 capcom channels (ic, oc or pwm) ? 8-bit basic timer with 8-bit prescaler ? auto wakeup timer ? window and independent watchdog timers communications interfaces ? uart, smartcard, irda, lin master mode ? spi unidirectional interf ace up to 8 mbit/s (master simplex mode, slave receiver only) ? i2c interface up to 400 kbit/s analog to digital converter (adc) ? 10-bit adc, 1 lsb adc with up to 3 multiplexed channels, scan mode and analog watchdog i/os ? up to 5 i/os including 4 high-sink outputs ? highly robust i/o design, immune against current injection development support ? embedded single-wire interface module (swim) or fast on-chip programming and non- intrusive debugging so8n 4.9x6 mm or 150 mils width www.st.com
contents STM8S001J3 2/84 docid030584 rev 2 contents 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 4 functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4.1 central processing unit stm8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 4.2 single wire interface module (swim) and debug module (dm) . . . . . . . . 12 4.3 interrupt controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.4 flash program memory and data eeprom . . . . . . . . . . . . . . . . . . . . . . . 12 4.5 clock controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4.6 power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.7 watchdog timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.8 auto wakeup counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.9 tim1 - 16-bit advanced control timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.10 tim2 - 16-bit general purpose timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.11 tim4 - 8-bit basic timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.12 analog-to-digital converter (adc1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.13 communication interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.13.1 uart1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.13.2 spi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.13.3 i2c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5 pinouts and pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5.1 STM8S001J3 so8n pinout and pin description . . . . . . . . . . . . . . . . . . . . 20 5.2 alternate function remapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 6 memory and register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 6.1 memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 6.2 register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 6.2.1 i/o port hardware register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 6.2.2 general hardware register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 docid030584 rev 2 3/84 STM8S001J3 contents 4 6.2.3 cpu/swim/debug module/interrupt contro ller registers . . . . . . . . . . . . 33 7 interrupt vector mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 8 option bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 8.1 alternate function remapping bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 9 electrical characteristi cs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 9.1 parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 9.1.1 minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 9.1.2 typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 9.1.3 typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 9.1.4 loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 9.1.5 pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 9.2 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 9.3 operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 9.3.1 vcap external capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 9.3.2 supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 9.3.3 external clock sources and timing characteristics . . . . . . . . . . . . . . . . . 53 9.3.4 internal clock sources and timing characte ristics . . . . . . . . . . . . . . . . . 53 9.3.5 memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 9.3.6 i/o port pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 9.3.7 spi serial peripheral interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 9.3.8 i2c interface characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 9.3.9 10-bit adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 9.3.10 emc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 10 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 10.1 so8n package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 10.2 thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 10.2.1 reference document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 10.2.2 selecting the product temperature range . . . . . . . . . . . . . . . . . . . . . . . 79 11 ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 12 stm8 development tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 12.1 emulation and in-circuit debugging tools . . . . . . . . . . . . . . . . . . . . . . . . . 81 contents STM8S001J3 4/84 docid030584 rev 2 12.2 software tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 12.2.1 stm8 toolset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 12.2.2 c and assembly toolchains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 12.3 programming tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 13 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 docid030584 rev 2 5/84 STM8S001J3 list of tables 6 list of tables table 1. STM8S001J3 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 table 2. peripheral clock gating bit assignments in clk_pckenr1/2 registers . . . . . . . . . . . . . . . 15 table 3. tim timer features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 4. legend/abbreviations for STM8S001J3 pin description tables. . . . . . . . . . . . . . . . . . . . . . 20 table 5. STM8S001J3 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 table 6. flash, data eeprom and ram b oundary addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 7. i/o port hardware register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 8. general hardware register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 9. cpu/swim/debug module/interrupt controller registers . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 10. interrupt mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 11. option bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 12. option byte description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 13. STM8S001J3 alternate function remapping bits fo r 8-pin devices . . . . . . . . . . . . . . . . . . . 38 table 14. voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 table 15. current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 table 16. thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 table 17. general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 18. operating conditions at power-up/power-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 19. total current consumption wit h code execution in run mode at v dd = 5 v . . . . . . . . . . . . 44 table 20. total current consumption wit h code execution in run mode at v dd = 3.3 v . . . . . . . . . . . 45 table 21. total current consumption in wait mode at v dd = 5 v . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 22. total current consumption in wait mode at v dd = 3.3 v . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 23. total current consumption in active halt mode at v dd = 5 v . . . . . . . . . . . . . . . . . . . . . . . 47 table 24. total current consumption in active halt mode at v dd = 3.3 v . . . . . . . . . . . . . . . . . . . . . 47 table 25. total current consum ption in halt mode at v dd = 5 v . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 26. total current consum ption in halt mode at v dd = 3.3 v . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 27. wakeup times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 28. total current consumption and ti ming in forced reset state . . . . . . . . . . . . . . . . . . . . . . . . 49 table 29. peripheral current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 30. hse user external clock characteri stics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3 table 31. hsi oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 32. lsi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 33. ram and hardware registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 34. flash program memory and data eeprom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 35. i/o static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 36. output driving current (standard ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 table 37. output driving current (true open drain ports). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 table 38. output driving current (high sink ports). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 39. spi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 40. i2c characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 41. adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 42. adc accuracy with r ain < 10 k , v dd = 5 v. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 43. adc accuracy with r ain < 10 k r ain , v dd = 3.3 v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 44. ems data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 45. emi data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 46. esd absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 47. electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 48. so8n ? 8-lead 4.9 x 6 mm, plastic small outline, 150 mils body width, list of tables STM8S001J3 6/84 docid030584 rev 2 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 49. thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 50. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 docid030584 rev 2 7/84 STM8S001J3 list of figures 7 list of figures figure 1. STM8S001J3 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 figure 2. flash memory organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 figure 3. STM8S001J3 so8n pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 figure 4. memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 5. pin loading conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 figure 6. pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 figure 7. f cpumax versus v dd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 figure 8. external capacitor c ext . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 figure 9. typ. i dd(run) vs v dd , hse user external clock, f cpu = 16 mhz . . . . . . . . . . . . . . . . . . . . 50 figure 10. typ. i dd(run) vs f cpu , hse user external clock, v dd = 5 v . . . . . . . . . . . . . . . . . . . . . . . . 50 figure 11. typ. i dd(run) vs v dd , hsi rc osc, f cpu = 16 mhz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 figure 12. typ. i dd(wfi) vs. v dd hse user external clock, f cpu = 16 mhz . . . . . . . . . . . . . . . . . . . . . 51 figure 13. typ. i dd(wfi) vs. f cpu , hse user external clock, v dd = 5 v . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 14. typ. i dd(wfi) vs v dd , hsi rc osc, f cpu = 16 mhz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 15. hse external clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 figure 16. typical hsi frequency variation vs v dd at 4 temperatures. . . . . . . . . . . . . . . . . . . . . . . . . 54 figure 17. typical lsi frequency variation vs v dd @ 4 temperatures . . . . . . . . . . . . . . . . . . . . . . . . 55 figure 18. typical v il and v ih vs v dd @ 4 temperatures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 figure 19. typical pull-up resistance vs v dd @ 4 temperatures . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 figure 20. typical pull-up current vs v dd @ 4 temperatures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 figure 21. typ. v ol @ v dd = 5 v (standard ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 figure 22. typ. v ol @ v dd = 3.3 v (standard ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 figure 23. typ. v ol @ v dd = 5 v (true open drain ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 figure 24. typ. v ol @ v dd = 3.3 v (true open drain ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 figure 25. typ. v ol @ v dd = 5 v (high sink ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 figure 26. typ. v ol @ v dd = 3.3 v (high sink ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 figure 27. typ. v dd - v oh @ v dd = 5 v (standard ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 figure 28. typ. v dd - v oh @ v dd = 3.3 v (standard ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 figure 29. typ. v dd - v oh @ v dd = 5 v (high sink ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 figure 30. typ. v dd - v oh @ v dd = 3.3 v (high sink ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 figure 31. spi timing diagram - slave mode and cpha = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 figure 32. spi timing diagram - slave mode and cpha = 1 (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 figure 33. spi timing diagram - master mode (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 figure 34. typical application with i2c bus and timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 figure 35. adc accuracy characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 figure 36. typical application with adc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 figure 37. so8n ? 8-lead, 4.9 x 6 mm, plastic small outline, 150 mils body width, package outline . 76 figure 38. so8n ? 8-lead 4.9 x 6 mm, plastic small outline, 150 mils body width, package recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 figure 39. so8n ? 8-lead 4.9 x 6 mm, plastic small outline, 150 mils body width, marking example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 figure 40. STM8S001J3 ordering information scheme (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 introduction STM8S001J3 8/84 docid030584 rev 2 1 introduction this datasheet contains the description of the STM8S001J3 features, pinout, electrical characteristics, mechanical data and ordering information. ? for complete information on the stm8s microcontroller memory, registers and peripherals, please refer to the stm8s and stm8a microc ontroller fam ilies reference manual (rm0016). ? for information on programming, erasing and protection of the internal flash memory please refer to the pm0051 (how to program stm8s and stm8a flash program memory and data eeprom). ? for information on the debug and swim (s ingle wire interface module) refer to the stm8 swim communication protocol and debug module user manual (um0470). ? for information on the stm8 core, please refer to the stm8 cpu programming manual (pm0044). docid030584 rev 2 9/84 STM8S001J3 description 23 2 description the STM8S001J3 8-bit microcontrollers offer 8 kbytes of flash program memory, plus integrated true data eeprom. it is referr ed to as low-density device in the stm8s microcontroller family reference manual (rm0016). the STM8S001J3 device provides the followi ng benefits: performance, robustness and reduced system cost. device performance and robu stness are ensured by true data eeprom supporting up to 100000 write/erase cycles, advanced core an d peripherals made in a state-of-the-art technology at 16 mhz clock frequency, robust i/os, independent watchdogs with separate clock source, and a clock security system. the system cost is reduced thanks to a high system integration leve l with internal clock oscillators, watchdog, and brown-out reset. full documentation is offered as well as a wide choice of development tools. table 1. STM8S001J3 features features STM8S001J3 pin count 8 max. number of gpios (i/o) 5 external interrupt pins 5 timer capcom channels 3 timer complementary outputs 1 a/d converter channels 3 high-sink i/os 4 low-density flash program memory (byte) 8 k ram (byte) 1 k true data eeprom (byte) 128 (1) 1. without read-while-write capability. peripheral set multi purpose timer (tim1), spi unidirectional, i2c, uart, window wdg, independent wdg, adc, pwm timer (tim2), 8-bit timer (tim4) block diagram STM8S001J3 10/84 docid030584 rev 2 3 block diagram figure 1. STM8S001J3 block diagram 0 6 y 9 5 h v h w e o r f n 5 h v h w 3 2 5 % 2 5 & |