STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32F407ZGT7 reset when write to SPI1 DR

When i debug SPI1 on STM32F407, program will jump to 0x00 when write DR register, MCU reset and loop continuely. when i measure the SCLK signal using oscillator, SCLK is always high after SPI1 is enabled  When i write to DR of SPI1, the code jump to ...

SPI too slow

Hi,I am using SPI on STM32H74II MCUFirst I am using a software NSS and not a Hardware NSS because it doesn't work.I need to transmit 1 byte and receive 1 byte, the two commands one after another see the simple code below : RFID_SS_ENABLE;   statu...

JKhal by Associate III
  • 6494 Views
  • 11 replies
  • 1 kudos

Evaluation of commented variables

/* USER CODE END 4 *//*void calculate_DAC_OUTPUT_Freq(void){sysclk = HAL_RCC_GetSysClockFreq();//uint32_t data = SystemCoreClock;pclk1 = HAL_RCC_GetPCLK1Freq();prescaler_bits = (RCC->CFGR & RCC_CFGR_PPRE1) >> RCC_CFGR_PPRE1_Pos;timer_clock = pclk1;if...

Resolved! Timer Frequency is not predictable

I am using STM32L496ZGT6P. When using DAC along with DMA to generate voltage and frequency of my desired range. But I am unable to get hold of the frequency setting. Sysclk I set is 4Mhz. 20 is prescaler value, 4Mhz/20 = 200000.This is further divide...

why STM32F303 stop at HAL_TIM_Base_Start_IT(Help)

I found a issue.if the code isHAL_PWR_DisableSleepOnExit();HAL_TIM_Base_Start_IT(&htim2); it will stop at "if (IS_TIM_SLAVE_INSTANCE(htim->Instance))", but i didnt set break point at here.if i change code:HAL_TIM_Base_Start_IT(&htim2);HAL_PWR_Disable...

Zuo by Associate
  • 644 Views
  • 2 replies
  • 1 kudos

Resolved! Replacing STM32F103CBT6(U2) on the STM32F407G-DISC1

The U2 on my STM32F407G-DISC1 is shorted and needs to be replaced.Is the STM32F103CBT6(U2) pre-programmed, or can I just replace it with a new blank STM32F103CBT6 and it gets programmed when you DFU firmware the STM32F407G-DISC1 board.Hardware isn't ...

Resolved! Wrong Data in STM32F4 + UART using LL (low layer) library

Hi,I'm trying to run STM32F429  using LL library to send data periodically.as a start, i'm sending 1 char every 1 sec, but  i'm receive a wrong char (i send 'A', i receive something not clear), and when i call my custom systemClockConfig function, th...

Skane by Associate III
  • 2649 Views
  • 13 replies
  • 3 kudos

Is it only me having problems with ST website?

Hello,I often have problems in using ST website. It is often slow or even unusable.For example, today I'm trying to download the CubeMX library for the L0 platform and it failed 5 times, it worked (slowly) only after changing the internet connection ...