Firmware Course Review - 06. Flash Memory
·
AI SOC COURSE/FIRMWARE
1. TitleFlash Memory Control by direct accessing memory address2. Category"STM32", "Firmware" 3. Key Concepts"Flash Memory" STM32 flash memory can be read and write by directly accessing specific memory addresses. First, the flash memory is unlocked using HAL_FLASH_Unlock(). To write data, the code uses HAL_FLASH_Program() to store data at a specified memory address. Remember that Flash memory c..
Firmware Course Review - 05. Bluetooth (UART)
·
AI SOC COURSE/FIRMWARE
1. TitleBluetooth Communication by UART2. Category"STM32", "Firmware" 3. Key Concepts"Bluetooth" Bluetooth in STM32 operate similarly to UART, where data is transmitted using specific communication channels. Bluetooth uses a frequency hopping method (FHSS) over 79 channels for Classic Bluetooth.Bluetooth communication can be handled through STM32’s UART module, making integration into projects l..
Firmware Course Review - 04. PWM (DC Motor)
·
AI SOC COURSE/FIRMWARE
1. TitleDC motor control using PWM2. Category"STM32", "Firmware" 3. Key Concepts"PWM"PWM is method of representing an analog signal using a digital signal involves adjusting the high and low ratio (duty cycle) of the signal to generate the analog signal.In STM32, PWM control uses the Timer (TIM) peripheral to generate a PWM signal. The timer's frequency is set by configuring the prescaler and au..
Firmware Course Review - 03.2. Ultrasonic Sensor
·
AI SOC COURSE/FIRMWARE
1. TitleUltra Sonic Sensor using UART, GPIO2. Category"STM32", "Firmware" 3. Key Concepts"Ultrasonic Sensor"To use an ultrasonic sensor with STM32, you need "Trigger", "ECHO" Pin. Trigger generates a toggling pulse for 10 microseconds. ECHO captures the rising and falling edges of the signal from Ultrasonic sensor. The HAL_TIM_IC_CaptureCallback function captures the rising and falling edges of ..
Firmware Course Review - 03.1. I2C
·
AI SOC COURSE/FIRMWARE
1. TitleLCD Display using I2C2. Category"STM32", "Firmware" 3. Key Concepts"I2C"In STM32, using the HAL_I2C_Master_Transmit function to send control signal to Hardware. It sends data by SDA to a specified address in specified buffer size synchronized by the clock signal on the SCL.SDA (Serial Data): This is the line used for transferring the actual data between the master and slave devices.SCL (..