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

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
  • 498 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...

SDIO + SD Card + USB MSD .....Windows Problem

Hey everybody,I just got it working that I can use my SD Card as an USB MSD. I can write, read and delete files. Everything looks good.The only problem is that when I connect the USB cable to my computer it takes like 2-3 minutes until the SD card is...

JCorn.2 by Associate II
  • 369 Views
  • 1 replies
  • 0 kudos

IrDA not working on L0-series

Using CubeMX v5.3.0 to generate IrDA on USART2 at both 115200 and 9600 baud doesn't seem to work. I have enabled both the interrupt and DMA in CubeMX and left both pins pulled high. The generated code was then opened in Keil uVision V5.28.0.0 where I...

Erfdd by Associate
  • 337 Views
  • 0 replies
  • 1 kudos

Ethernet Buffer issue.

I need some help. I'm using the STM32F46 with the PHI(LAN8742A) to communicate with Android's Tablet using LWIP. The communication works great, but after sent some data from the tablet to the MCU, the communication collapse. If I increase the size of...

SArma by Associate
  • 497 Views
  • 0 replies
  • 0 kudos