STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! ADC problems

Hi,  I am having a strange ADC problem on my STM32L431 device. I am sampling 6 channels without DMA using polling method with the following code:     while (1) { /* USER CODE END WHILE */ /* USER CODE BEGIN 3 */ ADC_Select_CH0(); HAL...

tompa by Associate III
  • 1204 Views
  • 5 replies
  • 0 kudos

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
  • 4504 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
  • 1498 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
  • 1338 Views
  • 7 replies
  • 2 kudos