STM32 MPUs Embedded software and solutions

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32MP1 - I2C frequency too low

In my device tree, we config 400KHz, but on scope we see only ~ 50Hz, and the clock seems weird. Anyone know why? &i2c1 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&i2c1_pins_a>; pinctrl-1 = <&i2c1_sleep_pins_a>; i2c-scl-rising-time-ns = <185>...

_legacyfs_online_stmicro_images_0693W00000bjEZXQA2.png
Dat Tran by Senior II
  • 1164 Views
  • 4 replies
  • 0 kudos

HAL_SPI_Transmit times out

I have STM32CubeIDE Version: 1.12.0 and a STM32MP157F evaluation board.Created a M4 project and assigned SPI1 to it, generated the code.I then created a function to read a register:const uint16_t opcode = 0xe000; uint8_t value = 0; HAL_GPIO_WritePin(...

KBunn.1 by Associate II
  • 1191 Views
  • 6 replies
  • 0 kudos

DMA stops due to ADC Overrun

Hi,I have a problem with the DMA seemingly being shut down due to ADC overrun.What I want to achieve: Three ADC channels should be read indefinitely and the values should be written to memory by DMA as soon as they are ready.What's currently happenin...

RPape.1 by Associate II
  • 2451 Views
  • 8 replies
  • 0 kudos