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

I2C communication with multiple slaves

Hi guys may I ask for your inputs on the I2C communication. I am using STM32F103C8 MCU with 2 slaves on the I2C bus. 1st slave is PCF8574 IO expander and 2nd slave is MCP4725 DAC. I'm using CubeMX to generate my codes. What I wanted to do is use ...

RSy.1 by Associate III
  • 3419 Views
  • 5 replies
  • 0 kudos

SPI non-DMA max speed ?

I am communicating with a TFT LCD and trying to speed things a little bit. At the moment I dont have DMA library written, so I am using standard SPI mode.I configured the SPI clock as 5Mhz on STM32F407 mcu. My main clock is PLL on 96Mhz. With APB2 = ...

0693W000003BpLnQAK.png
Gossamer by Associate II
  • 3268 Views
  • 16 replies
  • 0 kudos

Using STM32F072VB..USART4 with interrupt..unable to read the receive buffer in interrupt routine...please see the code snippet... I trying to commpare p[0] & p[1]....to do the following operation in my code...

uint8_t p[2]={0,0}; /// receive buffervoid USART3_4_IRQHandler(void){ /* USER CODE BEGIN USART3_4_IRQn 0 */      /* USER CODE END USART3_4_IRQn 0 */      HAL_UART_IRQHandler(&huart4);      /* USER CODE BEGIN USART3_4_IRQn 1 */      HAL_UART_Receive_I...

Bs.1 by Associate II
  • 401 Views
  • 2 replies
  • 0 kudos

Resolved! STM32L476RC RTC run, wakeup and standby mode problems

Hi here,I have made a prototype with STM32L476RG on Nucleo-board - MCU are doing some task and go to standby mode with wakeup from RTC (1 Hz counter). The code was migrated into my own board with STM32L476RC - RTC doesn't work correctly - MCU goes to...

SLesh.1 by Associate III
  • 1648 Views
  • 5 replies
  • 0 kudos

Resolved! Using the G431RB mounted on the Nucleo board. Can't port the example code for TIM2 pwm output to TIM1???

STM32Cube\Repository\STM32Cube_FW_G4_V1.2.0\Projects\NUCLEO-G431RB\Examples_LL\TIM\TIM_PWMOutputThis project runs fine. However, it uses TIM2. I tried to port to TIM1 so I could be interrupted every 10 periods, rather than have to count them in an ...

EMMC64G-W525-X01U is not working with STM32F429ZI.

I am reading Data from 8 ADC- ADS8688 and writing to EMMC64G-W525-X01U with Queue of 100 and Block 512 at 1000 sample/sec. I use below function for data writing and API file is attached below.HAL_StatusTypeDef HAL_MMC_WriteBlocks(MMC_HandleTypeDef *h...

AH_nt by Associate II
  • 6050 Views
  • 6 replies
  • 0 kudos