STM32 MCUs Embedded 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
  • 464 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 ...

mDNS on LWIP TCP server

I'm tying to setup TCP server using ethernet communications (Nucleo-F767ZI) and find that I can ping the board using the router allocated IP address but I'd like to do the same using Hostname. In STM32CubeMx .ioc file, under Network Interface Options...

jaykay by Associate
  • 922 Views
  • 4 replies
  • 0 kudos

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
  • 1964 Views
  • 21 replies
  • 20 kudos