Professional Documents
Culture Documents
Microprocessor Exp 1
Microprocessor Exp 1
Using CMSIS
I. INTRODUCTION
Microcontrollers or MCUs for microcontroller units are
integral part of most appliances and gadgets in the modern
world. It is defined as the “brain” of any computer system
which executes any tasks and logical instructions passed to it.
It can also be found in remote controls of TV or other
appliances. Its basic feature is to interact and control external
devices through designed pins connected to a software. The
Fig. 1. STM32 Nucleo Board.
General Purpose Input/ Output (GPIO) port, is a collection of
external pins on the microprocessor that can be configured to
act as either an input or an output. II. METHODOLOGY
By this definition, an MCU has three basic components: STM32 Nucleo board was programmed using an IAR
Embedded Workbench and coded in C language.
1. Processor – Central Processing Units (CPUs) which
are rated according to their clock rate (often in The code below was downloaded into the MCU and tested.
megahertz or MHz) and register width (e.g. 8-bit, 16- For STM32 Nucleo board, the built-in LED was connected to
bit, and 32-bit); PA5.
2. Memory – in the form of NOR flash and a small
amount of Random Access Memory (RAM) which are
both mainly characterized by their sizes; and
3. Peripherals – including General Purpose Input Output
(GPIO), Timers/Counters, Analog-to-Digital Converter
(ADC), Serial Peripheral Interface (SPI), and many
more that interact with users or provide output.
IV. CONCLUSION
The researchers were unable to continue with the
experiment due to the MCU’s out-of-date drivers. The function
of the code was to supposedly make the LED blink at a certain
frequency. The researchers could not also try and fix the
problem by updating the drivers due to computer’s
administrator security restrictions.
REFERENCES