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
  • 941 Views
  • 1 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
  • 1282 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
  • 731 Views
  • 2 replies
  • 1 kudos

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
  • 982 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
  • 388 Views
  • 1 replies
  • 0 kudos