Category: STM32F429 Discovery
A lot of times when you work on some project, you want to display data on computer. This can be done with USART peripheral on MCU. With USART you can connect more than just computer, you can connect with GSM modules, GPRS, bluetooth and so much more.
In first tutorial about discovery board we were blinking led. But I said nothing about system clock speed. In while loop we just use
|
// Waste some tome for (i = 0; i < 500000; i++); |
for some delay, to actually see how led was blinking. We didn’t know at which clock speed our processors work and for first time, I think you didn’t even ask yourself.
Your first blinky project works, but you don’t know how? I will explain GPIO (General Purpose Input/Output) CMSIS Library. This library is used to work with physical pins on microcontroller. You can set pins to input or output, put them low (0 volts) or HIGH (3,3 volts), select pull resistors, choose output type and select clock speed.
Recent comments