STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! SPI Interrupt Driven Slave Receive Error

I am using STM32H7B3I-DK running a touchgfx application and acting as SPI Master, and Nucleo-H743ZI as SPI Slave. Both are configured in interrupt mode not using HWNSS. The Master is sending 1,2,3,4,5,6,7,8 but the slave is receiving random numbersI ...

Resolved! What is preferred: goto or if else()

This is a question about programming style, preferences, efficiency, and risk.We are working on a state machine were multiple conditions are checked for a potential state transition. We are debating what is better, safer, more efficient, or simply mo...

Kmax18 by Senior II
  • 2645 Views
  • 21 replies
  • 20 kudos

Resolved! Does DP83848 PHY work with the stm32H7(43)

Hi All,I'm having a terrible (fun) time trying to get the DP83848 to work with the STM32H743 (RMII).No packets, no interrupts, nothing. - it's just dead to the world.I can get things working with the LAN7842 and I can get the DP83848 working with the...

MS.9 by Associate III
  • 626 Views
  • 2 replies
  • 1 kudos

Resolved! STM32G030 CHxN issue

Hello there. I am working on STM32G030 based FW. It appeared the TIM1x_CH1N doesn't work. I found out this part of code doesn't initialize negative channel(stm32g0xx_hal_tim.c). Moreover it may skip all channels configurations. It seems to be a hard...

MaxEE_0-1731076406357.png MaxEE_1-1731076681034.png
MaxEE by Associate II
  • 760 Views
  • 7 replies
  • 2 kudos

STM32F042 I2C Debug Problem

Hello,Today, I was receiving my eeprom data normally with my normally working I2C code, but when I entered debug mode, the uwtick increased on my processor, but it was not receiving my commands. The LED indicating that the code was running was not bl...

Ekran görüntüsü 2024-10-26 192800.png
Sergen by Associate III
  • 634 Views
  • 4 replies
  • 2 kudos

Resolved! H7 SystemInit contains line with no effect

I had debugging problems with a H7 target, and by stepping thru the boot process I found the following line in SystemInit(): /* * Disable the FMC bank1 (enabled after reset). * This, prevents CPU speculation access on this bank which blocks the...

JojoS by Associate III
  • 626 Views
  • 4 replies
  • 1 kudos