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! STM32F334R8 ADC problem

Hello everyone! I am trying to use the ADC of my NUCLEO-F334R8 board. I want to read the PC1 pin (ADC12, channel 7). I try to initialize the ADC with the following code: void BSP_ADC_Init() { // Enable GPIOC clock RCC->AHBENR |= RCC_AHBENR_G...

Santos by Associate II
  • 1814 Views
  • 9 replies
  • 1 kudos

Resolved! SPI STM32H743 function problem

Hi, I have problem with my SPI peripheral. For generate inicial code I used STM32 Cube IDE Version 6.14.1, and programming IDE STM32 Cube IDE Version 1.18.1.Description of problem:1.I want simple to check loop with transmit and receive data, but when...

HAL_PCD PCD_GET_EP_RX_CNT only return 0

Hello, I am working on a stm32u083rc. I'm trying to establish a USB Serial connection using the HAL_PCD library. I'm at the enumeration stage and trying to read the data sent by the PC (windows).The USB device is initialized with CubeMX (STM32Cube FW...

Resolved! HAL_DMA_RegisterCallback with SPI

Hi, I'm just struggling with the same problem. I use SPI with DMA non-circular mode and want a callback for receive complete. I can set the callback function with HAL_DMA_RegisterCallback but in HAL_SPI_TransmitReceive_DMA it will be overwritten: /*...

STmine by Associate
  • 939 Views
  • 3 replies
  • 0 kudos

STM32N6 SystemIsolation_Config

 Hello all,I'm working with the STM32N6 series and I'm trying to correctly configure the isolation between the secure and non-secure domains using the RIF (Runtime Isolation Framework).I found example code like this in a template (STM32CubeN6)  stati...