STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I have an issue with the HAL_DMA_TransmitReceive() function. I am using full-duplex SPI communication between STM32F030R8T6 as master, and Nucleo-C031C6 as slave. I am only using DMA on the master side. My DMA clock is at 40MHz, SPI clock is at 10MHz.

The problem is I can successfully transmit-receive up to 4 bytes of data. Above that amount, anomalies happen. I need to transfer 20 bytes of data in both directions. Does this have anything to do with RXFIFO and TXFIFO buffers being 4 bytes, or is i...

DDjur.1 by Associate II
  • 773 Views
  • 4 replies
  • 0 kudos

Can't get ADC values

I have an STM32G474RE, I have not used any HAL or LL libraries, I have only programmed using the registers, my issue is that I am only getting 0 on the output of the ADC, I read through the reference manual and still couldn't solve the problem. I hav...

_legacyfs_online_stmicro_images_0693W00000dDeuQQAS.png
Epsilon03 by Associate II
  • 2719 Views
  • 8 replies
  • 0 kudos

DMA is jamming the RTC

Hello, I have a problem with RTC and UART reception using the DMA.I am currently working with the L476RG core board. The RTC clock is the LSE. The UART is configured in cyclic mode on the Rx PIN.I have done a simple data logging and could check that ...

_legacyfs_online_stmicro_images_0693W00000dDcblQAC.png _legacyfs_online_stmicro_images_0693W00000dDccKQAS.png
JFlui.1 by Associate II
  • 600 Views
  • 2 replies
  • 0 kudos

Resolved! How to read GPIO direction using HAL?

Hello world,I'm developing a FW for STM32F107VCT6 which can change GPIO direction programmatically: there is a terminal command which can switch individually 7 pins* mapped on different ports between GPIO_MODE_OUTPUT_PP \ GPIO_MODE_INPUT.I'm wonderin...

Spaghetto by Associate III
  • 1202 Views
  • 3 replies
  • 2 kudos