This project aims to document the learning process of STM32L476RG and Hardware Abstraction Layer(HAL). This project is based on the NUCLEO-L476RG development board and is generated by the STM32CubeMX. Related videos: https://space.bilibili.com/176255057
CONTENTS:
- STM32L476RG_GPIO: Press the button to toggle LED2
- STM32L476RG_USART_INTERUPT: Sending and reciving interupt by USART(Asynchronous)
- STM32L476RG_PWM: Breathing light
- STM32L476RG_TIMER_INTERUPT: Chang the state of the LED2 (Period of Interupt: 1s)
- STM32L476RG_INPUTCAPTURE: Output a PWM(Frequency:1kHz, Duty:50%) and capture it, print the frequency\duty\high level time and low level time by usart
- STM32L476RG_EXTERNAL_INTERUPT: Press the button to toggle LED2(Interupt)
- STM32L476RG_LEARNING_I2C_MPU6050: Get raw data from mpu6050 using hardware I2C
- STM32L476RG_USART_DMA: Use DMA to complete USART sending and receiving
- STM32L476RG_USARTRXData_Process: Four examples of USART data processing 10.STM32L476RG_FreeRTOS: An easy FreeRTOS example.