I2C Timing Calculation for STM32H7
I want to know how to calculate the Timing register content on my own for the I2C clock speed, I know that it can be generated by the STMCubeMX.
Ask questions, find answers, and share insights on STM32 products and their technical features.
I want to know how to calculate the Timing register content on my own for the I2C clock speed, I know that it can be generated by the STMCubeMX.
Hello community,Processor : STM32F105 (Cortex M3)Compiler : GCC 6.3.1I would like to execute the following assembly instruction :udiv R3,R2,R3where :R2 = 64 000 000R3 = 1Instead of getting R3 = 64 000 000, I get R3 = 2047I tried to execute strictly t...
Hi - I'm having trouble getting DFSDM input to work with DMA - I'm unable to set the `DMAEN` bit in the DFSDM register.One troubleshooting angle: What register pointer to you pass to the DMA's CPAR? I assume `DFSDM_ FLTxRDATAR` for regular (non-injec...
MCU: STM32F105RCTxFirmware Version: STM32Cube FW_F1 V1.8.0I have DMA setup to read 8 channels of the ADC into a fixed buffer and I'm having an issue where after an extended period of time (usually hours) the ADC channels are read into the wrong buffe...
I am trying to get the USART3 to work with DMA, and so far have been unable to. After the initial cubeIDE project setup, I verified that standard (non DMA) RX and TX were working fine.Moving to DMA, I was getting Direct Mode Error interrupts, and a l...
Hi,I am using STM32F746G_DISCO board to create different pages for the LCD. I see only one page with 4 tabs project already takes 300KByte flash memory code space. The STM32F746 only has 1MByte flash. So I like to store the LCD graph code related mo...
Hello everybody!I can't use USART2 in STM32G030K8 to transfer data.The TC flag of the ISR register is not set after writing data to the TDR register for an infinite time, if I use it to control the transfer of a byte, the program hangs without transf...
We have connected 7 channels in ADC2 to a STM32F769II processor. The DMA to ADC is enabled and the rank for conversion too is configured. But on testing, the ADC values are being shown in buffer location very different from its rank.This happened in ...
Hello!i am working with the STM32H745 dual core nucleo board.i have noticed that the app that i built runs perfectly when i debug it using IAR, on the other hand, it does not when i just connect the nucleo board to power and try to communicate with i...