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! Porting USART code to STM32L0.

I am porting a code written for the stm32f4 to stm32l0. The code uses the ll diver to configure USART1 with the following statement:LL_AHB1_GRP1_EnableClock(LL_AHB1_GRP1_PERIPH_GPIOA)The LL_AHB1_GRP1_PERIPH_GPIOA value is not defined for the STM32L0....

GErma.1 by Associate III
  • 494 Views
  • 1 replies
  • 0 kudos

I am testing the ethernet on our custom board with a STM32H745IHx MCU attached to an 8740A phy chip. We want to use RMII mode. Currently, I am failing the loopback test. We are not sure why this failure is occurring.

I put my code on a nucleo board, and the loopback test works, so I don't think it's my code. This problem occurs only on our setup. I have included a schematic of our setup so you can see it clearly. The loopback mode is enabled by setting the l...

DOrvi.1 by Associate II
  • 3899 Views
  • 15 replies
  • 1 kudos

I am using the STM32G0xx_LL_Driver on the Debian product based on DragonBoard820c. We have the Snapdragon 820 processor which I have used as master, and MCU from ST is the slave device. For SPI transaction I'm unable to toggle Chip Select pin.

GPIO_InitStruct.Pin = SPI_NSS_Pin; GPIO_InitStruct.Mode = LL_GPIO_MODE_ALTERNATE; GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_LOW; GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL; GPIO_InitStruct.Pull = LL_GPIO_PULL_UP; GPIO_InitStruct.Alternate ...

YJain.1 by Associate II
  • 303 Views
  • 0 replies
  • 0 kudos

STM32F3 UART Interrupt Bug

Hi, if I call: HAL_UART_Receive_IT, and I disable all the error IRQ (I don't want to be waken if I sleep) with the following instruction: __HAL_UART_DISABLE_IT(&huartx,UART_IT_ERR) ;The uC stops to run because the HAL doesn't manage the IRQ error if ...

Resolved! Where to find documentation on GPIO_InitTypeDef ?

Hi everyone,I am student who is new to STM32. I am trying to understand how to program the MCU and noticed GPIO_InitTypeDef data type. I went into the reference manual but did not find anything about it. Is there a document including all the function...

jefazo92 by Associate III
  • 5436 Views
  • 17 replies
  • 1 kudos