STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Please help on the clock configration of STM32G431. The clock is mush slower than what I set. it is only 20MHz roughly

I use cubemx to generate clock configAnd I use a flip pin and oscilloscope to check the speed.here is what i didclock settingvoid SystemClock_Config(void) { RCC_OscInitTypeDef RCC_OscInitStruct = {0}; RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; ...

wmao.1 by Associate II
  • 1119 Views
  • 5 replies
  • 0 kudos

Resolved! How to program the cz ministm32F103ZET6 ?

This is the board picture: I bought it from Aliexpress, I tried to connect it to Arduino IDE but didn't connect.There are two boot pins, how to use them ? What should I do exactly ?On the device manager, it displays this message:

0693W00000JMQSBQA5.png 0693W00000JMQSLQA5.png
AAlzh.1 by Associate III
  • 1826 Views
  • 11 replies
  • 0 kudos

User defined irq handler

Is there a way to create user defined IRQ handler type that could be called from NVIC ISPR ? I would like to interrupt execution if some particular software condition is fulfilled..

Gossamer by Associate II
  • 615 Views
  • 2 replies
  • 0 kudos

Why does spi communication fall into an infinite loop?

After about 14 minutes of normal communication with the chip through spi as the source below, it falls into an infinite loop.Why do you fall into an infinite loop?please I'd appreciate it if you let me know.int spi1_writeread(const unsigned char* txb...

superK by Associate II
  • 781 Views
  • 1 replies
  • 0 kudos

PTP stack for STM32F4

Hey guys! I have been starting to work with PTP on STM32F413 and faced with total lack of documentation. I also saw a few threads here about this problem, and comments that this feature no longer supported. Is it real? And are there any ways to imple...

ironyoid by Associate II
  • 2324 Views
  • 6 replies
  • 1 kudos

LL_RCC_LSE_IsReady loop forever

The issue is gone, but I couldnt understand the source of issue. After a day programming a dev board with stm32h750, almost all peripherals works correctly. However, suddenly the LL_RCC_LSE_IsReady keep return 0 forever. I tried to reload the code, a...

JCuna.1 by Senior
  • 861 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F429 Nucleo-144 board - Can't get SPI2 to work! SCK OK, but no signal on MOSI (PB15) or MISO (PB14).

I have configured SPI2 in Stm32CubeMx and am coding in Stm32CubeIDE. PD3 as SCK, PB15 as MOSI and PB14 as MISO are configured, and i have also checked corresponding code in stm32F4xx_hal_msp.c as below.void HAL_SPI_MspInit(SPI_HandleTypeDef* hspi) { ...

Sbhad.1 by Associate II
  • 1424 Views
  • 8 replies
  • 0 kudos