STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How do I configure MCU as I2C slave device?

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...

KSchr.11 by Associate II
  • 413 Views
  • 0 replies
  • 0 kudos

Resolved! SPI with extra CE# pulse and not enough bytes

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...

0693W000001sUQpQAM.png
RLosc.1 by Associate II
  • 1482 Views
  • 6 replies
  • 0 kudos

STM32H750 GPIO slow compared to STM32F2 series

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 ...

Raees by Associate III
  • 777 Views
  • 3 replies
  • 0 kudos

Timer in cascade mode for PWM

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 ...

Gossamer by Associate II
  • 1020 Views
  • 5 replies
  • 0 kudos

Resolved! Query regarding the nuances of encoder mode

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 ...