STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Trying to learn how to program a double word

Can anyone help me in understanding each part of the below function?static void FLASH_Program_DoubleWord(uint32_t Address, uint64_t Data){ /* Check the parameters */ assert_param(IS_FLASH_PROGRAM_ADDRESS(Address)); /* What's this? */ /* Set PG bit */...

Anonymous by Associate II
  • 1128 Views
  • 9 replies
  • 0 kudos

hi guys, I'm working with stm32l412kb and I'm having an issue. I want to talk SPI with 2 components I have. I want to communicate with one of those 2using the SPI machine and with the 2nd i want to bit-banging (same pins connected). what should I do?

HAL_GPIO_WritePin(dac_cs_GPIO_Port, dac_cs_Pin, GPIO_PIN_RESET);////Select SPI DAC_Data = (DAC_Data&0x0FFF)<<2 ; uint8_t DAC_Data1= (uint8_t)((DAC_Data>>8)&0x00FF); uint8_t DAC_Data2= (uint8_t)(DAC_Data&0x00FF); HAL_SPI_Transmit(&hspi1,DAC_Da...

Gbasi.1 by Associate II
  • 317 Views
  • 1 replies
  • 0 kudos

huart2 died on reception and needs repower

F4 board (Master) with huart1 & huart2 identically configured, talking to 2 identical boards(Slaves) with the same program. huart1 works perfectly, huart2 dies after receiving from slave.Sequence:Master sends 6 chars ( 9600) using HAL_UART_Transm...

ICohe.1 by Associate III
  • 952 Views
  • 11 replies
  • 0 kudos

Resolved! STM32G474RE PC13 GPIO configuration

Hi All,I have been trying to configure PC13 on the STM32G474 as a regular GPIO, but havent been successful yet.Can someone suggest what could be done ?Thanks,Manuint main(void) { LL_GPIO_InitTypeDef gpio = {0};   LL_APB2_GRP1_EnableClock(LL_APB2_GR...

Connecting 2x STM32 MCUs using UART

Hello guys good day. I am trying to learn how to interface 2 STM32F103C8 MCUs using UART. Basically I would like to connect a push button to MCU-A then when this push button is pressed, the LED controlled by MCU-B will be activated. I am trying t...

RSy.1 by Associate III
  • 670 Views
  • 2 replies
  • 0 kudos

Resolved! F730 flash PSIZE vs. Supply voltage

I am a bit confused by the language in the F7 reference manual, section 3.3.5 (RM0431) that describes the flash program/erase parallelism. Does the power supply limit the maximum value of the parallelism or does it limit one to a particular size?The ...

RMcCa by Senior II
  • 1467 Views
  • 17 replies
  • 2 kudos

STM32F730Z8T6 and the best way for flash programming

So, I'm looking to buy STM32F730Z8T6 MCU and wondering what is the cheapest way to program and debug it. Can I do it using development board? I found a board with a similar MCU (STM32F730I8) and I was wondering if that would work (it has a debug port...

Slina by Associate III
  • 363 Views
  • 3 replies
  • 0 kudos