STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Can't read mpu6050 via I2C1

HelloI can read mpu6050 via I2c1 in stm32F4Disco but I cant read mpu6050 in STM32F746 Touchgfx.All values returns 0.This is my reading code. it is working in 32F4DISCO:#define MPU6050_ADDR 0xD0     #define SMPLRT_DIV_REG 0x19 #define GYRO_CONFIG_REG...

0693W00000ANlkqQAD.png 0693W00000ANlkvQAD.png 0693W00000ANll0QAD.jpg 0693W00000ANlkWQAT.png
FLine.1 by Associate II
  • 986 Views
  • 1 replies
  • 0 kudos

Resolved! Getting Junk data on I2C LCD 16x2 display while interfacing with stm32f401re Micro controller . please help

Interfaced i2c_lcd with stm32f401re and try to program without any library .but getting junk data always,tried changing delay but same. void I2C_WriteData(uint32_t data){ uint8_t data1=0,data2=0,data3=0,data4=0;   data1= data & 0x000000ff;  data2= ...

0693W00000AN7W0QAL.jpg
Nchun.1 by Senior
  • 973 Views
  • 2 replies
  • 0 kudos

Resolved! Confused about DMA and Cache on STM32 H7 devices.

While I was looking for H7 DMA data,​I saw the article below that DMA is not working on the H7 device.https://community.st.com/s/article/FAQ-DMA-is-not-working-on-STM32H7-devices​Solution 1 from that article is shown below.​--------------------------...

Resolved! STM32H7 SAI DMA; Transfer Error

/* Peripheral DMA init*/ hdma_sai1_a.Instance = DMA1_Stream0; hdma_sai1_a.Init.Request = DMA_REQUEST_SAI1_A; hdma_sai1_a.Init.Direction = DMA_PERIPH_TO_MEMORY; hdma_sai1_a.Init.PeriphInc = DMA_PINC_DISABLE; hdma_sai1_a.Init.M...

0693W00000ANn8jQAD.png
CFran.1 by Associate II
  • 1329 Views
  • 5 replies
  • 0 kudos

Resolved! Timer Capture code not working

Hi All,To get around a problem I was having with timer capture using DMA (another topic) I changed my timer code to use interrupts. The seems to work when I debug step through it but not when I run. I am using TIM8 in input capture mode for CH1 and C...

BTrem.1 by Senior II
  • 791 Views
  • 2 replies
  • 1 kudos

Resolved! What is the internal clock CK_INT for the STM32H7 timers?

The STM32H743 datasheet says nothing about clocking the timers. Reference manual has a chapter dedicated to each timer's counter clocking. For each type of timer the only clock is so called "Internal Clock" CK_INT . What is it? Opened my project's Cu...

External interrupt Handler does not execute

Hi, I'm trying to execute an interrupt with the pin PCO with stm32f303re Nucleo board, but the interrupt routine never executes, actually, it just stops the program. this is my configuration code for the interrupt: //set gpioc 0 as interrupt _...

0693W00000ANkrMQAT.png 0693W00000ANkrgQAD.png

STM32F030C8T6. Reboot problem with high temperature.

I have this sentence and please give me a feedback that is it true or not true."The problem was that DTS had what appeared to be a bad batch of STM32F030C8T6 processors that would fail to reboot after a power off/on cycle once they reached higher tem...

RMach.1 by Associate II
  • 1043 Views
  • 6 replies
  • 0 kudos

Hello! I'm using the STM32L051C8T6 controller. I want to configure ADC polling via DMA with start on the timer event. The interrupt is triggered only once, what could be the problem? I didn't find any data in errata for this case.

I describe in more detail what I did. The STM32L051C8T6 controller operates from an external oscillator at a frequency of 20 MHz, a general purpose timer TIM2 with a prescaler 199 and a counter period 99, thus the counting frequency is 1000 Hz. The 4...

AOgar.1 by Associate
  • 413 Views
  • 1 replies
  • 0 kudos