| |
| Training - STM32 Microcontroller
(reference 004692A) |
|
| |
| |
|
 |
|
Partners
|
|
|
 |
|
|
|
|
|
|
| |
|
 |
|
Related courses
- MVD is offering a cours on USB,
reference 002606A
- MVD is offering a course on CAN,
reference 002601A
- MVD is an official ARM
Training Partner
|
|
|
 |
|
|
|
|
|
|
| |
|
 |
|
Practical labs
- For on-site courses, labs can be run
under 3 possible environments :
- For open courses, labs are run under Keil
environment
|
|
|
| |
|
|
|
|
|
|
| |
|
 |
|
Prerequisites
- Experience of a
processor or DSP is recommended
|
|
|
| |
|
|
|
|
|
|
 |
|
 |
|
Course Objectives
- The course
details the hardware implementation of
the STRM32 microcontroller
- The boot
sequence and the clocking are explained
- The course
focuses on the low level programming of
the Cortex-M3 CPU
- Practical
labs on integrated peripherals are based
on I/O function package provided by ST
- The various
options of communication controllers are
explained, particularly the USB and CAN
controllers, so that drivers can be
adapter to application needs
|
|
|
 |
|
|
|
|
|
|
| |
|
 |
|
Duration
|
|
|
 |
|
|
|
|
|
|
| |
|
 |
|
Topics (The full description of this course
can be provided on request)
INTRODUCTION TO STM32
- ARM Cortex-M3 core based architecture
- The main three blocks : platform, core
and input / output peripherals
THE Cortex-M3 CPU
- Presentation of the core, architecture
and programming model
- Icode, Dcode and system buses
- Branch prediction mechanism
- Thumb-2 instruction set
- Access to memory-mapped locations,
addressing modes
- Conditional execution
- Bit-banding
- Memory map
- C-to-Assembly interface
- Exception mechanism
- System tick timer
- System Control Block
- Keil linker parameterizing
- Embedded software development with Keil
- Debug facilities
INFRASTRUCTURE
- AHB/APB Bridges, split transactions,
error handling
- Bus Matrix, round-robin arbitration
scheme
- Internal 20 KB SRAM
- 128-KB Flash memory
- Program and erase sequences
- External interrupt/event controller,
wake-up event management
- System timers : Real Time Clock, Window
Watchdog timer
- Backup registers, tamper detection, RTC
calibration
HARDWARE IMPLEMENTATION
- Power supplies, external 3.3V, internal
generation of 1.8V, related pins
- Low voltage detectors
- Clocking
- Selection of the boot mode through
external pins
- Reset causes
- Start-up sequence, fetch of the first
instruction
- Low power modes
- I/O Ports
NON COMMUNICATION ORIENTED INPUT / OUTPUT
PERIPHERALS
- Advanced control timer and General
purpose timer
- 16-bit timers, block diagram, clock
selection and prescalers
- Output compare and input capture
capabilities, force compare modes
- One pulse mode
- Output PWM mode
- Input PWM mode, pulse measurement
- DMA start event
- DMA controller
- Request priority management between the
16 channels
- Circular buffer operation
- Memory-to-memory, peripheral-to-memory ,
memory-to-peripheral and
peripheral-to-peripheral transfers
- Error management
- Analog-to-Digital Converter
- High impedance-analog input configuration
- ADC features : 12-bit resolution, 0 to
3.6 V range
- One-shot or continuous conversion
- Dual ADC mode
- Conversion on external trigger
- Utilization of a DMA channel
COMMUNICATION CONTROLLERS
- I2C interface
- I2C protocol basics
- Slave mode vs master mode
- Transmit and receive sequences
- Serial Peripheral Interface [SPI]
- SPI protocol basics
- Queue mode operation
- Transfer sequence
- USART
- Queue operation mode
- Hardware flow control
- Transmit and receive sequences
- LIN mode
- Smartcard interface
- CAN controller
- CAN protocol basics
- CAN controller organization
- Filtering of received messages,
acceptance filters
- FIFO mode management
- Test modes : loop back / silent modes
- Configuring the bit timing
- USB Full Speed device interface
- USB protocol basics
- Buffer description block, buffer
descriptor table
- DMA controller used to move data between
buffers and EndPoints
- Endpoint initialization
- Suspend / resume events
|
|
|
 |
|
|
|
|
|
|
| |
|
 |
|
Documentation
Training manuals will be given to participants
during training. Precise and easy of use, those
notes can be used as a reference afterwards. |
|
|
 |
|
|
|
|
|
|
| |
|
 |
|
Other trainings :
If you want to know our other training courses
and their contents, you can consult or download
our complete training courses list on this page :
Training courses - General
presentation |
|
|
 |
|
|
|
|
|
|
|