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
  • 220 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
  • 398 Views
  • 3 replies
  • 0 kudos