Ask questions, find answers, and share insights on STM32 products and their technical features.
I've been trying to set up MCU (STM32 L432KC) as an I2C slave device. I have previously tested it as a master device to interface with a port expander(MCP2307) and it works perfectly fine.The following is the code I am running. The master sends 1,2,3...
I'm using STM32F031K6 in my design. I want to store 16-bits variable (Timer's AutoReload Register) in a non-volatile memory. What is best solution for this application? Internal Flash or external 128b EEPROM ?Any STM32 example code available to store...
Hi,I'm trying to protect my code from being able to read by others.So I chose readout protection level-1,I could make it read protected and I'm not able disable it by using readout protection level-0,I have to disable it using ST link utility.But I w...
Hey,I'm a beginner.I'm working with STM32F303RET6 and I'm trying to communicate with SST26VF064B (Flash) over SPI.This is how I configured my SPI (Using MXCuce):static void MX_SPI2_Init(void) { /* USER CODE BEGIN SPI2_Init 0 */ /* USER CODE E...
Below question relates to STM32F0 and STM32F1 series MCU's.From the documentation (HAL), I have been unable to determine, whether or not on-the-fly changes are supported to the PWM period (TIM_TimeBaseInitTypeDef.TIM_Prescaler) and/or duty cycle (dir...
Driving a RGB led matrix display (HUB75E) using custom board made with STM32H750. Earlier the prototype was made with STM32F205 and there was a minute flickering in some scenarios (brightness low). so thought of designing the board with STM32H7. But ...
I would like to control RC servos with PWM. Problem is that "Normal" PWM would waste most of the precision on the PPM period (20ms) leaving 5% of 16 or 32 bit timer for duty cycle. (1-2ms)I was reading about cascading timers and that is probably the ...
Hi, I have an incremental encoder with 2400 counts per rev that is connected to a ball screw with a pitch of 5mm. I'm trying to accumulate the total count which I then use to calculate the exact distance of the object attached to the ballscrew. I've ...
Hi,recently I switched from Arduino to Nucleo and now I wanted to play around with the H745ZI-Q and was following the step by step guide by st. Whenever I try to load a program to the mcu, only the demo blinky program is running. I have not found any...