STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F103C6 never enters interrupt handler and because of that holds SCL low because of RxNE is set, BTF is set and DR hasn't been read after first data byte received, stopping reception, why?.

I'm trying to send some data from master to a slave (the STM32F103C6) with HAL functions, with HAL_I2C_Slave_Receive() -no interrupt mode- the reception works flawlessly but with HAL_I2C_Slave_Receive_IT() -the one needed- the slave acknowledges its ...

VRami.1 by Associate III
  • 343 Views
  • 0 replies
  • 0 kudos

STM32F103C, I2C_ErrorCode 4 with MPU6050

Hello,I setup i2c1 as per below. I am trying to get data from a MPU6050 device on I2C but I got error code 4.On the same hardware I tested using Arduino IDE and I can read data from MPU without problems.Can one support please guide me where should I ...

CSand by Associate III
  • 1779 Views
  • 2 replies
  • 1 kudos

Setting register to restart counter

Hi, I have never work with register. I need to restart counter of LPTIM in stm32l431. The documentation says that I need to set a register to '1'. The image explain this. How I can do that? Thank's a lot.

0693W000001t9q0QAA.png
GFont.1 by Associate III
  • 396 Views
  • 2 replies
  • 0 kudos

Resolved! STM32H743 USART DMA and DCache

Hi,I am trying to enable DCache on a USART Tx DMA snippet, which causes USART Tx to fail.The impression that I have is that the MCU has already written to physical memory and the DMA should have no trouble in accessing the written memory ?Can someone...

Using stm32(Bluepill) as ADC

Hello guys, I am working on a acoustic source localization project. I need to sample the amplified signal from Hydrophone. The acoustic source emits a sound frequency of 42khz. I need to sample this signal at a frequency of 100Khz or even 200khz(if p...

Tsai.1 by Associate
  • 398 Views
  • 1 replies
  • 0 kudos

Resolved! Mcu dies

Hello,​Which mcu products are ​provided as dies or wafer?​Thanks​

Ohara.1 by Associate II
  • 796 Views
  • 5 replies
  • 0 kudos

STM32 communication with a display via I2C over DMA

Hi Everyone,My problem relates to I2C communication when trying to send bytes to a display on address 0x78. First I tried with the plain I2C HAL function(blocking), but I realised that the MCU gets frozen because of the huge amount of data to be sent...

0693W000001t9dLQAQ.png
DJuko.1 by Associate
  • 344 Views
  • 1 replies
  • 0 kudos

Stm32F407 Clock Configuration Issue

Hi, I am working on my Stm32F407 Discovery Board. I use CMSIS when I codding and I have some problems with PLLCFGR register. I want to using 168 mhz clock speed. This is my Clock Configuration code and I get problem in PLLM configuration in PLLCFGR r...

RGokm.1 by Associate II
  • 1051 Views
  • 4 replies
  • 0 kudos

Bitband keil attribute not working

Hi ,I have a problem when using __attribute__((bitband) when using Keil IDE.However I used bitband using classic marcos​#define BIT_BAND(addr,pin) ( (((addr) & 0xF0000000) +0x2000000) + (((addr) & 0xFFFFF)<<5) + ((pin)<<2) )​ and it works as expected...

IGama.1 by Associate
  • 396 Views
  • 0 replies
  • 0 kudos

STM32H7 I2C DMA ll, just sending once

Hey guys, I am trying to get I2C working with DMA or without, but I am having similar issues with both. The I2C sends out the data correctly the first time via DMA and the DMA_TC interrupt is called, however it gets never called again. I can also see...

Mfail.1 by Associate II
  • 454 Views
  • 0 replies
  • 0 kudos