STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

cubeMX 6.12.0 and below generates wrong I2C timings

HiI have problems with the I2C frequency when I'm generating code with CubeMX 6.12.0 for the STM32U5A9. The timing register from the I2C3 is generated wrong, which leads to a frequency around 350kHz instead of selected 400kHz in FastMode operation.Th...

nobody_1-1723798827523.png nobody_2-1723798855597.png nobody_0-1723797837248.png
nobody by Associate II
  • 142 Views
  • 2 replies
  • 0 kudos

Resolved! Cude max

 I hope this message finds you well. I am reaching out regarding an urgent matter with my STM32 CubeMX v6.1 project. I have encountered an issue with the I2C functionality that I cannot seem to resolve despite trying various approaches.The specific p...

SMazu3_0-1713767509891.png SMazu3_1-1713767529673.png SMazu3_2-1713767543607.png SMazu3_3-1713767569402.png
SMazu.3 by Associate III
  • 1209 Views
  • 15 replies
  • 3 kudos

Non-standard SPI transfer and receive options

I'm using a STM32G4 and communicating with multiple devices that use a 16 bit + 1 bit (write/read bit followed by six register address bits, 16 data bits, and a parity bit MSB first) on SPI. What I'm seeing is on transfers i have to shift my data 1 b...

RMas by Associate II
  • 269 Views
  • 1 replies
  • 0 kudos

I2C1 stops working over 8MHz STM32F042F6P6

Hello all, I'm having problems with I2C1, i have a code that works perfectly while i configure the HCLK to 8MHz but it stops working when i set any higher frequency. Has anybody faced similar problem? I am using STM32CubeIDE for setting the project, ...

Davaol19 by Associate III
  • 1511 Views
  • 20 replies
  • 7 kudos