EMCU
STMicroelectronics digital components (by E.Marinoni)
Skip to content
  • Home
  • MCU
    • STM8
      • STM8 Introduction
      • STM8 Tutorial
        • Step By Step that explain how to start to develop a new program on STM8S
      • STM8 Evaluation boards
        • STM8S-Discovery
        • STM8L-DISCOVERY
      • STM8 Library
      • STM8 Class B – Self Test Library
    • STM32
      • STM32 Introduction
        • STM32L0xx – ultra-low-power EnergyLite™ MCU – Cortex M0+
        • STM32L1xx – ultra-low-power EnergyLite™ MCU – Cortex M3
        • STM32L4xx – ultra-low-power EnergyLite™ MCU – Cortex M4
        • STM32L4+ – ultra-low-power EnergyLite™ MCU – Cortex M4 at 120 MHz
        • STM32F0xx – Cortex M0
          • EEPROM emulation on STM32F030 (all developed using CUBE & ATOLLIC)
          • How to implement “printf” for send message via USB on STM32 NUCLEO boards using KEIL
          • How to implement “printf” for send message via USB on STM32 NUCLEO boards using ATOLLIC
        • STM32F1xx – Cortex M3
        • STM32F2 – High Performance – Cortex M3
        • STM32F3 – mixed-signal MCU – Cortex M4
        • STM32F4 – High Performance – Cortex M4
        • STM32F7xx – high performance – Cortex M7
        • STM32H7xx – very high performance – Cortex M7
        • STM32WB series of Wireless MCUs
      • STM32 Peripheral Education
        • Stack & Heap
        • STM32 Basic Timer in Interrupt & PWM mode
        • TIM14 PWM output, duty cycle regulated using a potentiometer
        • EEPROM emulation on STM32F030 (all developed using CUBE & ATOLLIC)
        • How to implement “printf” for send message via USB on STM32 NUCLEO boards using ATOLLIC
        • How to manage two UART (USART2 and USART1) under Interrupt
        • How to implement “printf” for send message via USB on STM32 NUCLEO boards using KEIL
        • STM32F429-Discovery & USB Virtual COM
        • STM32F429-Discovery + USB Virtual COM + TFT
        • SPEEX free audio codec
        • X-CUBE-EXTBOOT – Programming an external Quad-SPI
        • STEVAL-PCC018V1 (Serial to USB converter)
        • HAMEG Spectrum Analyzer HM 8028 connected with the TEKTRONIX 2230 oscilloscope
        • How to use STM32 in the ARDUINO IDE
      • STM32 Education
      • Why use CORTEX M family instead of 8 and 16 bit MCU
      • Change, from Arduino to STM32
      • What should I use to develop on STM32 ?
        • How to import the examples present in STM CUBE Library for AC6 into the ATOLLIC TrueSTUDIO for STM32
        • How to import in Atollic TrueSTUDIO for STM32 a project developed for AC6 (System WorkBench)
        • How to create, using CUBE-MX, a project for Atollic TrueSTUDIO® for STM32
        • ATOLLIC TrueSTUDIO Pro features available for free for STM32 mcu
        • Adjust the configuration of SW4STM32 (AC6) environment
        • How to update your KEIL license using the Product Serial Number
        • mBED
        • IDE tips and tricks
      • How to install the toolchain for develop on STM32
      • How to program the STM32
      • Production programming solutions for STM32
      • How to program an external QSPI connected to the STM32
      • CUBE or CUBE-MX & Library
        • Tutorial on CUBE-MX and CUBE Library
      • STM32 – TCP/IP solution
      • STM32 Standard Peripheral Libraries (SPL) to STM32Cube Low-Layer (LL) APIs migration tool
      • Quick start guide to “charge transfer” technology used on STM32 and STM8 for touch sensing applications
      • STM32 Open Development Environment
      • STM32 – Evaluation Boards
        • STM32 – NUCLEO boards
        • How to update the FW on NUCLEO boards
        • How to use NUCLEO boards + Terminal Emulation + mBed under LUBUNTU (Linux)
        • Test board for RC motors
        • X-NUCLEO expansion board
      • STM32 Class B – IEC60335 – Self Test Library
      • STM32 SIL2/3
      • STM32 cryptographic library
      • Graphical libraries for STM32
        • STemWIN – graphics demo for STM32F746G-DISCO and AC6
        • STemWIN – graphics demo for STM32F746G-DISCO and AC6 that turn on/off also a LED
        • STemWIN – Tools
      • uCLinux & STM32
      • Mathworks to Enable Code Generation
      • STM32 DALI
      • DRONEs & STM32
      • STMicroelectronics video on YouTube
      • STMicroelectronics Community & Forum
    • Direct STM support only for key customers
    • ATOLLIC
      • ATOLLIC TrueSTUDIO Pro features available for free for STM32 mcu
      • How to create, using CUBE-MX, a project for Atollic TrueSTUDIO® for STM32
      • How to implement “printf” for send message via USB on STM32 NUCLEO boards using ATOLLIC
      • How to manage two UART (USART2 and USART1) under Interrupt
      • How to import the examples present in STM CUBE Library for AC6 into the ATOLLIC TrueSTUDIO for STM32
      • How to import in Atollic TrueSTUDIO for STM32 a project developed for AC6 (System WorkBench)
      • How To Import IAR EWARM Projects Into Atollic TrueSTUDIO
      • STM32 Basic Timer in Interrupt & PWM mode
      • TIM14 PWM output, duty cycle regulated using a potentiometer
      • TIMER Counter – for example for reading an Input button
      • How to use ADC in Interrupt mode
      • EEPROM emulation on STM32F030 (all developed using CUBE & ATOLLIC)
      • Placing code and data on special memory addresses using the GNU LD linker
      • Electric Sliding Gate based on STM32F0-Discovery
      • Atollic tips and tricks
        • How to create a new project in ATOLLIC
        • How to share your ATOLLIC project
        • How to import a .ZIP project in Atollic
        • Atollic debug configuration for quick DOWNLOAD and RUN
    • Oscillator design guide for STM8 and STM32 microcontrollers, AN2867
    • STM32 & STM8 product finder
    • ST-LINK
      • How to update the ST-LINK FW under Windows
      • How to update the ST-LINK FW under Linux (Lubuntu)
    • STM32 Cube Programmer
    • STM Studio
    • SPC5
      • SPC5 Introduction
      • SPC5-STUDIO – free tools for develop on the SPC5 families
      • SPC5 – Embedded Software
      • SPC5 Automotive MCU Eval Tools
      • SPC5 cryptographic library
    • Tutorial on the web
    • Explore STM product portfolio
  • Motor Control & C
    • Tutorial on Electrical Motors
    • Motor Control Acronyms
    • STM32 Motor Control
      • How to use the Motor Control Workbench and P-NUCLEO-IHM002
    • Combo – STSPIN
      • How to use the STEVAL-SPIN3201 (based on STSPIN32F0)
    • STLUX and STNRG
    • High-integration chipset for EFI small engine applications
    • H-Bridge DC Motor Driver for Automotive Application
    • LIN, CAN & C
      • L99MM70XP – Integrated microprocessor driven device intended for LIN controlled exterior mirrors
      • L99PM72PXP – Advanced power management IC, with embedded LIN and HS CAN transceiver, supporting CAN Partial Networking
    • How to update the EVAL6470H-DISC and how to use it with the Pro Hybrid motor
  • RF & Connectivity
    • Introductions to the Antennas
      • Custom antennas
    • RF Introduction
      • Wireless data technologies
      • WiFi Modules
        • Introduction to the WiFi SPWF04Sx
          • Introduction to SPWF04Sx evaluation board
          • How to update the SW on SPWF04Sx (new WiFi module) present on the X-NUCLEO-IDW04A1 using Flash Loader
          • How to create a test account on IBM Watson IoT Platform + WiFi SPWF04Sx + TLS and MQTT
        • Introduction to the WiFi SPWF01Sx
          • Branca board based on STM WiFi module SPWF01SA.11
          • Quick start guide how to use the Branca board – SPWF01Sx module
          • WiFi – 802.11 Association & Dissociation Reason Code
      • BlueTooth
        • Short introduction to BEACONS
        • BlueNRG Mesh
        • How to develop a new project on the SPBTLE-1S module (based on BlueNRG-1 component)
        • Suggested kit for testing BlueNRG-MS (BTLE v.4.1) on STM32 mcu
        • How to use SPBTLE-RF + NUCLEO-F401RE and graphics GUI
        • How to update FW via GUI on the BlueNRG, BlueNRG-MS or SPBTLE-RF (BlueNRG-MS module)
        • How to use BlueNRG-MS (BTLE v.4.1) & Enocean PTM 215B
        • Getting Started with ST Bluetooth Low Energy (BLE), NUCLEO and ARM mBED IDE/Compiler
        • Half – duplex voice streaming over Bluetooth Low Energy
        • STEVAL-BLUEMIC-1
        • BlueCoin – BTLE + MEMs for audio
        • SensorTile development kit
        • SensiBLE IoT Module – from: sensiedge.com
        • WESU1 – Wearable sensor unit reference design
        • Creating a BTLE star network connected via Wi-Fi to IBM Bluemix cloud
        • BEACON, iBEACON & BTLE
      • Sub1Ghz
        • ISM World wide regulation
        • Sub1Ghz Introduction
        • Sub1Ghz SW & FW
        • P2P based on SPIRIT1 (X-NUCLEO-IDS01A4) and NUCLEO-L053R8
        • P2P based on SPIRIT1 (X-NUCLEO-IDS01A4) and NUCLEO-L053R8 + SSD1306 I2C Oled Display
        • P2P based on S2-LP (STEVAL-FKI868V1) and NUCLEO-L053R8
        • How to use the X-NUCLEO-IDS01A4 (SPIRIT1) in P2P mode + ACK under mBED
        • How to use the X-CUBE-SUBG1 (SW) on SPIRIT1
        • How to use SPSGRF (Sub1Ghz module) for remote a thermostat
        • Wireless DoorBell
          • P2P wireless DoorBell, based on the SPIRIT1
          • Wireless DoorBell, based on the SPIRIT1 & mBed
      • LORA
      • SigFox
      • SigFox vs. LoRa
      • 6LoWPAN
        • 6LoWPAN wireless sensor network connected to the Internet through WiFi module
        • Quickly build a Contiki, 6LoWPAN, BTLE sensor network
      • WizziLab – Sub1Ghz multiprotocol Board & Concentrator
    • NFC
      • NFC introduction
      • ST25 – SDK for NFC – Multi platform Java library
    • Cellular & Cloud
      • P-L496G-CELL01 – 2G/3G Cellular to Cloud Pack with STM32L496AG MCU and Quectel UG96
    • NB-IOT
      • Avnet Silica NB-IoT Sensor Shield
    • KNX
    • PLM
    • Smart Metering
    • Introduction to the signals modulation
  • MEMS & Sensors
    • GPS/Galileo/Glonass/BeiDou/QZSS
    • Accelerometers
    • Gyroscopes
    • e-Compasses
    • Humidity Sensors
    • iNEMO-Inertial Modules
    • MEMS Microphones
    • Pressure Sensors
    • Proximity Sensors
      • How to detect an object using the VL53L0X & X-NUCLEO-53L0A1 (evaboard)
    • Temperature Sensors
    • UV sensors
    • Touchscreen Controllers
    • Automotive Sensors
    • MEMS Tutorial
    • MEMS general purpose evaboards
    • Open.MEMS & Unicleo-GUI
  • Wireless Charger
    • Wireless charger Introduction
    • STEVAL-ISB027V1 – quick start guide
  • IoT & Security
    • IoT
    • STM & Security
  • MKT
    • STM News
      • STM News 2017 Q3 & Q4
      • STM News 2017 Q1 & Q2
      • STM News 2016 Q3 & Q4
    • STM brochure & flyer
    • Marketing presentations
  • ST Days
    • AVNET-SILICA STDay 2017
  • References
    • How to use the Serial to USB converter – STEVAL-PCC018V1
    • MCU architecture
    • C & C++
    • C & C ++ Things to remember
    • Acronimi – Acronyms
  • MicroPython & Python
    • MicroPython
    • Introduction to Python
    • Python & LUBUNTU
    • How to run a Python file under LINUX
    • Python – Serial COM
  • Linux
    • Introduction to Linux
    • Minicom for use Serial COM under Linux
    • Configurare LUBUNTU
    • Come installare Kali Linux su Windows 10
  • Standard Connectors
  • Truly useful electronic applications
    • MeshPower – an electronic application that helps men of the Third World
  • Arduino and STM32
  • Free time
    • CAD
      • EasyEda
        • EasyEda – Tutorial (in Italian language)
        • EasyEda – Tutorial n.2 (in Italian language)
      • Eagle
        • Eagle – Tutorial (in Italian language)
      • 3D Gerber Viewer – Mayhew Labs
    • Home & Building Automation
      • How to detect an object using the VL53L0X & X-NUCLEO-53L0A1 (evaboard)
      • PIR sensor based on: NUCLEO-L011K4 + PANASONIC PIR EKMC1603111
      • KNX Home & Building Automation
        • KNX official page
        • STM – KNX transceiver
      • EVR electronics – GSM thermostat, Gate remote control and GSM telephone dialer
      • overVolt – Domotica (in Italian language)
      • Transponder controlled lock-unlock key
      • Automatic Gate
        • Sliding gate with a guillotine for secure lock
        • Electric Sliding Gate based on STM32F0-Discovery
        • Automatic Swing Gate based on STM32F0-Discovery
        • Automatic Sliding Gate based on NUCLEO-L152RE
      • Wireless DoorBell
        • Wireless DoorBell – Based on P2P for SPIRIT1 & NUCLEO-L053R8
        • Wireless Doorbell based on SPIRIT1 & NUCLEO boards
      • Soil Humidity Sensor Hygrometer Measure Module
      • New Samsung Wind Free – How to configure a dual split
    • Display & Senor
      • How to use SSD1306 I2C OLED display and NUCLEO-L053R8 board
      • SSD1306 OLED Display & HDC1080 Temperature and Humidity sensor
    • Third party interesting software & video
      • Web Learning – STM32 Video Tutorial
      • Le Tan Phuc – STM32 Video Tutorial
      • Majerle WebSite
        • Majerle – github
    • Voltage Regulators
      • 78XX / 79XX ecco cosa sono…
      • LM317 Adjustable Voltage Regulator
    • Interesting Circuits
      • IR Remote Tester
      • 220 volt led blinking
      • 7 life hack with transistor
      • Stepper Motor Run Without Driver
    • Fritz! wlan repeater n/g
    • DLink
      • DSP-W215 mydlink™ Home Smart Plug – How to connect it to your ADSL modem
    • TP-LINK
      • TP-LINK – TL-WPA4220T KIT – How to use it
      • TP-Link CPE210 Access Point Wireless for External use
    • Tubes diameters in inches and millimeters
    • Water tanks and accessories
    • How to make, from a shoe box, a fun box
    • Drone & C
      • Some info concerning FrSky Receiver
      • FlySky i6 FS-i6 radio control
      • 4WD Robot Car
      • How to use the Adafruit Motor Shield on STM32 NUCLEO
      • Understand the way to use HC-SRF04 on STM32 (Nucleo board) and mBED
    • Differences between PLA and ABS
    • Prese Telefoniche Italiane, Cavi Ethernet, Crimpatrici e collegamenti
    • Hacker corner
      • Gadgets that every Hacker must have
      • overVolt Blog – In Italian language
        • overVolt – Patreon Video (in Italian language)
        • overVolt – Patreon overVolt site (in Italian language)
        • overVolt – on YouTube (in Italian language)
  • Who I’m
    • Follow me on…
    • Casato dei Marinoni
  • Privacy

C & C++ language

If you like it, share it

clogo

  • C programming for embedded system applications
  • Il linguaggio C (in Italian Language)
    • C/Variabili, operatori e costanti (in Italian Language)
    • Operatori logici (NOT !, AND &&, OR ||, ==, !=, ecc) (in Italian Language)
    • Operatori sui bit ( | OR; & AND; ^ XOR; << Scorri a sinistra; >> Scorri a destra; ~ Complemento a uno.) (in Italian Language)
    • C/Compilatore e precompilatore/Direttive (in Italian Language)
  • UNIROMA Il linguaggio C (in Italian Language)
    • Dichiarazioni di variabili (in Italian Language)
  • C Language Tutorial
  • Embedded C
  • Embedded Systems/C Programming
  • Embedded C  (pdf)
  • Embedded C++
  • Developing Embedded Software in C
  • Writing Efficient C Code for Embedded Systems
  • Other references:
    • www.lysator.liu.se/c/bwk-tutor.html
    • www.cprogramming.com/tutorial/c/lesson1.html
    • http://www.cprogramming.com/tutorial/c/lesson1.html
    • http://www.coactionos.com/embedded-design/c-tutorial/118-hello-world.html
    • Keil C/Embedded C Programming tutorial

 

  • ATTENTION

    Use FIREFOX or CHROME for a clear view of the images present in this web site

  • April 2018
    M T W T F S S
    « Mar    
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    30  
  • Recent Posts

    • Electric Sliding Gate based on STM32F0-Discovery 16/04/2018
    • Atollic debug configuration for quick DOWNLOAD and RUN 14/04/2018
    • ATOLLIC new tips and tricks 09/04/2018
    • How to use ADC in Interrupt mode 08/04/2018
    • TIMER Counter – for example for reading an Input button 08/04/2018
    • Wireless DoorBell – Based on P2P for SPIRIT1 & NUCLEO-L053R8 03/04/2018
    • STM solutions for KNX 03/04/2018
    • P-L496G-CELL01 – 2G/3G Cellular to Cloud Pack with STM32L496AG MCU and Quectel UG96 02/04/2018
    • Change, from Arduino to STM32 02/04/2018
    • PIR sensor based on: NUCLEO-L011K4 + PANASONIC PIR EKMC1603111 01/04/2018
    • How to detect an object using the VL53L0X & X-NUCLEO-53L0A1 (evaboard) 01/04/2018
    • P2P based on SPIRIT1 (X-NUCLEO-IDS01A4) and NUCLEO-L053R8 + SSD1306 I2C Oled Display 23/03/2018
    • How to use SSD1306 I2C OLED display and NUCLEO-L053R8 board 18/03/2018
    • How to develop a new project on the SPBTLE-1S module (based on BlueNRG-1 component) 12/03/2018
    • BlueNRG Mesh 12/03/2018
    • P2P based on SPIRIT1 (X-NUCLEO-IDS01A4) and NUCLEO-L053R8 10/03/2018
    • Avnet Silica NB-IoT Sensor Shield 08/03/2018
    • STM32 Cube Programmer 07/03/2018
    • How to manage two UART (USART2 and USART1) under Interrupt 05/03/2018
    • TIM14 PWM output, duty cycle regulated using a potentiometer 02/03/2018
    • STM32 – TCP/IP solution 01/03/2018
    • 3D Gerber Viewer – Mayhew Labs 28/02/2018
    • More than 1 million STM8 & STM32 boards sold 27/02/2018
    • Introduction to STM NFC tag and reader 25/02/2018
    • STM32WB series of Wireless MCUs 23/02/2018
    • STM32 Basic Timer in Interrupt & PWM mode 18/02/2018
    • TP-Link CPE210 Access Point Wireless for External use 17/02/2018
    • How to import the examples present in STM CUBE Library for AC6 into the ATOLLIC TrueSTUDIO for STM32 10/02/2018
    • How to import in Atollic TrueSTUDIO for STM32 a project developed for AC6 (System WorkBench) 10/02/2018
    • P2P based on S2-LP (STEVAL-FKI868V1) and NUCLEO-L053R8 09/02/2018
    • Quick start guide to “charge transfer” technology (TSC ) used on STM32 and STM8 for touch sensing applications 09/02/2018
    • post – EEPROM emulation on STM32F030 (all developed using CUBE & ATOLLIC) 04/02/2018
    • How to implement “printf” for send message via USB on STM32 NUCLEO boards using ATOLLIC 27/01/2018
    • How to implement “printf” for send message via USB on STM32 NUCLEO boards using KEIL 27/01/2018
    • ATOLLIC TrueSTUDIO Pro features available for free for STM32 mcu 19/01/2018
    • Tutorial on Electrical Motors 14/01/2018
    • Getting Started with ST Bluetooth Low Energy (BLE), NUCLEO and ARM mBED IDE/Compiler 14/01/2018
    • TP-LINK – TL-WPA4220T KIT – How to use it 13/01/2018
    • Understand the way to use HC-SRF04 on STM32 (Nucleo board) and mBED 13/01/2018
    • How to use the Adafruit Motor Shield on STM32 NUCLEO 13/01/2018
    • Wireless Doorbell based on SPIRIT1 & NUCLEO boards 13/01/2018
    • P2P based on S2-LP (STEVAL-FKI868V1) and NUCLEO-L053R8 10/01/2018
    • STM32L4+ has released 20/11/2017
    • Flash Loader 10/11/2017
    • STEVAL-PCC018V1 (Serial to USB converter) 09/11/2017
    • STM32 Standard Peripheral Libraries to STM32Cube Low-Layer (LL) APIs migration tool 21/09/2017
    • STM8S001 8pin 8bit MCU 08/09/2017
    • New NFC reader evaboard ST25R3911B-DISCO 04/09/2017
    • Trillion of IoT devices by 2035 24/07/2017
    • Start new project on NUCLEO-L476RG for AC6 (SW4STM32) 20/07/2017
EMCU
Proudly powered by WordPress.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok