STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

directly read register status instead of HAL_GPIO_Readpin();

i am trying to bit bang 14 bits grey code. my output is not steadyuint16_t readbits(uint16_t dataPin, uint16_t clockPin) { uint16_t value =0;  for (int i = 0; i <14; ++i) {   value <<= 1;  HAL_GPIO_WritePin(GPIOC, clockPin, GPIO_PIN_RESET);  delay_...

YTimm.1 by Associate II
  • 3780 Views
  • 12 replies
  • 0 kudos

BRR of STM32F401RCT6 changed when hot swapping

When the USART is  hot swapping,some datas will occur on TX RX pin;and the value of BRR register will be changed;the picture 1 shows the BRR before  hot swapping;and the picture 2 shows the BRR after  hot swapping. Why this question happens?And what...

Pzhu.1 by Associate II
  • 868 Views
  • 2 replies
  • 0 kudos

SPI1_NSS conflicts with PA15 in STM32F103

Hi,According to datasheet, The main function of PA15 is JTDI, so I disabled JTAG and config that pin in AF_PP mode.Then if I don't initialize SPI1, I can control PA15 as GPIO. But if I initialize SPI1, this pin will hold high. Since SPI1 has occupied...

Sni.1 by Associate
  • 1334 Views
  • 2 replies
  • 0 kudos

Resolved! Question on STO_ acronym in ST code

In trying to understand some motor control code in the ST Library I've come across some procedure names with STO_ as a prefix. Simple question what does the acronym STO mean?

BTrem.1 by Senior II
  • 606 Views
  • 1 replies
  • 0 kudos

Having Trouble with SD DMA on STM32L452 MCU

Hello. So like title says I am having trouble making SDMMC work with DMA in 4 bit mode. I tried with FreeRTOS and without FreeRTOS didnt get anyresult. But it works perfectly without DMAIt gives either Rx Overrun error or timeout error. I tried it wi...

KKurt.1 by Associate II
  • 567 Views
  • 1 replies
  • 2 kudos

Resolved! STM32L073CZ in full production?

We are intending to design in this MCU. Does ST have a website that would indicate where this part is in its lifespan? I can only see that it is listed as "active".Thanks

RSoen.1 by Associate III
  • 729 Views
  • 2 replies
  • 0 kudos

Resolved! STM32F091CCT6: Why my led doesn't blink?

Hi there.I have a board from some equipament which has a STM32F091CCT6 uC, and there are 3 leds, connected to pin GPIO_C13, GPIO_C14 and GPIO_A7. Anode from leds are connected to Vcc and Catode are connected in a resistor and then to the uC pins (so ...

Rick1 by Associate II
  • 773 Views
  • 3 replies
  • 0 kudos

Need help to blink LED with STM32F2

Hello all i am trying to implement a simple thing that is trying to blink LED using a function. Below attached are main.c, project.c and project.h. If i try the same thing without using a function it works fine but if i use the function it doesnot bl...

NSirm.1 by Associate III
  • 1337 Views
  • 2 replies
  • 0 kudos