STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32G0CUBE DMA HAL DRIVER FILE PROBLEM

In 'STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_dma.c', Line 1032, 'hdma->DMAmuxChannelStatusMask = 1UL << (channel_number & 0x1cU)' , why the channel number is anded with 0x1C? shouldn't that be anded with 0x7f?

qqqwa by Associate
  • 567 Views
  • 2 replies
  • 0 kudos

Is there a way to make HAL_ETH_GetReceivedFrame wait for a frame to be received ? Also can the frame be filtered by ethertype ?

I am trying to receive raw ethernet frames on my STM32F746G and i want to wait for their arrival and filter them by etherType.In the reference manual only filtering by Source or Destination address is possible and i don't seem to understand where to ...

khaaal by Associate II
  • 712 Views
  • 3 replies
  • 0 kudos

HAL_UART_DMA_Receive problem

Hi guys.I have a problem with this hal function.The problem is that every time I use this function the first byte received is not what I transfer to it.For example when I send AT (ESP8266 AT command) to the module it must return AT OK,but every time(...

sending data problem LWIP without RTOS

Hello,I am trying to send data periodically as a client in MCU.I am using program called SocketTest v 3.0.0 from PC.Connection is OK but I can't see other values.These are my codes.---------------------in main.c------------------------   #include "m...

Zek_De by Senior
  • 754 Views
  • 6 replies
  • 0 kudos

MCU freezes when starting ADC in DMA mode

Hello, i want to start an ADC in DMA Mode, but everytime i run HAL_ADC_Start_DMA the MCU stops.Here is the section of my code where it happens: if(newpwmperiod == 1 && adc_dma_status == 0){ HAL_UART_Transmit(&huart2, test, 4, HAL_MAX_DELAY); ...

AKons by Associate
  • 469 Views
  • 0 replies
  • 0 kudos

Resolved! The Speed of GPIO is much lower than expected.

I am using stm32f205ret. I want to toggle as fast as possible. According to the data sheet i should be able to do it at 60 MHZ. I use cubeMX to initialize my code. I basically set all clocks to max. I set one pin (gpio port C pin 5) as GPIO_OUTPUT. I...