JTAG (Joint Test Action Group) within 5 or 4 pins: it is designed for checking faults in boards in production.Ī dedicated webpage is available on ST website for each STM32 family.SWD (Serial Wire Debug) which can be added using 2 pins: it is designed for micro debugging.Depending on the supported debug system, it is possible to connect a debugger to the device and here are two examples: While using a software IDE, a debugger is installed by default, but once developing the application of the MCU, a hardware debugger is needed. Oscillators The STM32 embeds an internal RC oscillator, but it is not accurate and stable as an external crystal.ĭebug After programming the MCU, the next step is to debug the code which means to reconsider it and try to resolve any defect that may interrupt the use of the MCU, and this is realized within a software program called Debugger. The code security may be ensured thanks to some protection features of the Flash memory.ġ.5.2 STM32 hardware setup Power supply It is required to power on your device to make it start working. The peripherals like low-power voltage detector, clock security system (CSS) and watchdogs help supporting safety-critical applications. The peripheral characteristics are not frozen, the very first STM32 devices are being improved to enable new features or fix some limitations. Over the time, new peripherals are embedded to answer emergent requests on the market. More details about the Cortex-M processors are available on:Ĭortex-M resources 1.5 STM32 Features 1.5.1 STM32 peripherals The Wakeup Interrupt Controller (WIC) is a way to detect an interruption and wake the processor from the sleep mode The 'Nested Vectored Interrupt Controller' is used to organize the interruptions in order to reduce the suspensions. The Cortex-M portfolio includes different architectures where the main ones embedded in STM32 microcontrollers are the following: Consumer products (PC peripherals, GPS, gaming…).Buildings and security (alarms, access control, power meters…).Several applications rely on STM32 (to be detailed in next chapter): Very high performance thanks to Arm ® Cortex ®-M core and ST ART Accelerator™ for some families.Ease of development thanks to the large ecosystem and professional development tools including free ones.The STM32 family offers a large range of devices combining: RISC Arm (Reduced Instruction Set Computer) is an instruction set that allows to divide the commands into several, simple and not complicated instructions that are meant to realize small objectives. They are 32-bit RISC Arm processor cores, optimized for cost and power sensitive MCUs. STMicroelectronics is manufacturing the STM32 MCUs which are based on the Arm ® Cortex ®-M processor. ![]() This is the basic layout of a microcontroller: The manufacturer defines the integrated peripherals and the hardware capabilities. Its components may be extended to include: Digital I/O, Analog I/O, Timers, Communication interfaces, Watchdog (a timer that is responsible for the detection of timed out or locked instruction).Ī processor is a little chip present in the device that has the role of arranging the instructions and order the outputs. It is a compact integrated circuit designed to govern a specific operation in an embedded system.Ī typical microcontroller includes a processor, memory and Input/Output (I/O) peripherals on a single chip.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |