MCU: различия между версиями

Материал из fidoman.ru
Строка 23: Строка 23:
 
# configure GPIO
 
# configure GPIO
 
# use watchdog
 
# use watchdog
 +
 +
=== AWU ===
 +
 +
* on int disable AWU (or new int will generated instantly)
 +
* before re-enable re-load counter

Версия 16:37, 26 октября 2021

cam

ESP32-CAM OV2460

links

Lightweight C compilers http://fun4diy.com/

STM8

compilers comparation http://www.colecovision.eu/stm8/compilers.shtml

startup

  1. Power requirements: 3.3-5V
  2. Reset circuit (100nF cap)
  3. Select clock source (ext.crystal/HSI)
  4. Choose halt modes for
    1. flash
    2. HSI, HSE
  5. use timer or AWU for wake-up if no ext.ints
  6. calibrate LSI osc.
  7. configure GPIO
  8. use watchdog

AWU

  • on int disable AWU (or new int will generated instantly)
  • before re-enable re-load counter