STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! I need to use PG10-NRST as a GPIO. So I check the Reference manual to find out how to do it. I find that it can be done if I modify the field NRST_MODE to 2 and I really do this. But it doesn't work.The mcu still reset when PG10-NRST comes a low level.

Here is my code in main() to config field NRST_MODE: HAL_FLASH_Unlock(); HAL_FLASH_OB_Unlock(); gFlashOBST.OptionType = OPTIONBYTE_USER; gFlashOBST.USERType  = OB_USER_NRST_MODE; gFlashOBST.USERConfig = FLASH_OPTR_NRST_MODE_1; HAL_FLASHEx_OBProgram(&...

fhu.11 by Associate II
  • 1411 Views
  • 7 replies
  • 0 kudos

FDCAN2 4 times slower than FDCAN1 on STM32G491

I was finally able to find the correct settings to configure my CAN peripherals with correct bitrate after tweaking for a while in STM32CubeMX. The settings that work do not make sense. FDCAN2 is 4 times slower so I had to make clock divider for FDCA...

Resolved! PWM Output Not Generating Waveform for STM32F429ZI

Hi everyone, I'm just trying to test and verify some clock frequencies for a PWM waveform are correct. I used CubeMX to generate some code that has set the clock frequency of the MCU to 72 mHz and I am trying to achieve a 20 kHz PWM frequency. I enab...

EGold.3 by Associate II
  • 1462 Views
  • 6 replies
  • 0 kudos

Sharable D1 SRAMs in the more recent H7 chips

As per RM0468, STM32H72x and STM32H73x chips have 192 KB of SRAM in the D1 domain that is 'sharable' between ITCM and AXI SRAM, ie. it can be allocated as ITCM or AXI SRAM with 64KB granularity,It is known that SRAMs in D1 (or any other domain for th...

HWidj.2 by Associate III
  • 427 Views
  • 1 replies
  • 0 kudos

Resolved! Setting up RTCC with LSE 32.768kHz Crystal

Hardware 1: STM32F767ZGT6 with LSE Crystal Model:  CM9V-T1A-32.768KHZ-7PF-20PPM-TA-QC Maker: Micro Crystal AG Hardware 2: STM32F767IIT6 with LSE Crystal  Model: ECS-.327-12.5-12R-C-TR Maker: ECS IncCompiler: IAR Workbench v8.32.1Driver: STM32Cube_FW_...

0693W00000Hr4CeQAJ.png

Multiple Interrupts are not working

Hi ,I am working on STM32L0 series controller that has 3 different external interrupts configured on PB11(sensor A),PB2(Sensor B) and PC1(Sensor C).Peripheral connected to PB11 generates interrupt at 1ms interval and PB2 generates interrupt when dat...

BChav.1 by Associate III
  • 572 Views
  • 2 replies
  • 0 kudos

hey i want to read a temperature sensor and a humidity sensor i want to send the values via cdc to my pc and then read them in c# windows forms my question is now how can i read two adc at the same time so i have separate data ? here you have my stm code

 while (1) {  /* USER CODE END WHILE */  /* USER CODE BEGIN 3 */   HAL_ADC_Start(&hadc2);   HAL_ADC_Start(&hadc1); if (HAL_ADC_PollForConversion(&hadc2, 10) == HAL_OK) {  adcValTemp = HAL_ADC_GetValue(&hadc2);  // Temperature Calculation  adcTem...

MSchmutz by Associate II
  • 1116 Views
  • 4 replies
  • 0 kudos