STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

CubeMX/HAL RCC_MCO3 bug

When generating code for the STM32L051C8Tx and STM32L053C8Tx MCUs using CubeMX I am experiencing a build error when setting channel 1 of TIM21 in input capture mode. The following line is added in main.c within the void SystemClock_Config(void) funct...

SPetr.6 by Associate II
  • 245 Views
  • 1 replies
  • 0 kudos

I am trying to use fatfs with STM32L496g. Whenever i call f_mount, i am getting res = 1, (A hard error occurred in the low level disk I/O driver). I am using a discovery board for now. The sample project that comes along with it, is working fine.

I have tried debugging, and the error comes wheneverf_mkfs -> find_volume-> checkfs -> move_window -> disk_write is called.looking at it, i see the implementation in diskio.cDRESULT disk_write ( BYTE pdrv, /* Physical drive nmuber to identify the d...

Ashei.8 by Associate II
  • 432 Views
  • 3 replies
  • 0 kudos

Bug in SPI Transmit ?

Dear ST-Team,I am using the HAL SPI driver (v1.11.0) on an STM32L072 in blocking mode, 8-bit data size and calling HAL_SPI_Transmit. After some calls, the assert fails because the buffer I am calling it with has a non 16-bit aligned address.I think t...

anio1491 by Associate II
  • 1129 Views
  • 7 replies
  • 0 kudos