mastering-stm32 icon indicating copy to clipboard operation
mastering-stm32 copied to clipboard

Repository of all examples presented in the "Mastering STM32" book

Results 8 mastering-stm32 issues
Sort by recently updated
recently updated
newest added

GPIOA peripheral is connected to AHB1 bus

UART_HandleTypeDef huart2; I guess you dont need this line.

https://github.com/cnoviello/mastering-stm32/blob/master/nucleo-f446RE/Middlewares/FatFs/src/drivers/sd_diskio_spi.c#L354 ACMD41 returns 0x05 (includes the illegal command flag) here I think this line https://github.com/cnoviello/mastering-stm32/blob/master/nucleo-f446RE/Middlewares/FatFs/src/drivers/sd_diskio_spi.c#L259 should have been ``` cmd_message[0] = cmd | 0x40; ``` I'm using a SanDisk 64...

It seems like I have to include stdio.h in order for my STM32F411RE to not have a warning about implicit declaration of function sprintf

There's an issue with the DMA in polling mode example. When configuring the DMA you have not selected the channel (it seems like it's just omitted) causing the DMA initalisation...

for instance, in nucleo-f411RE/src/ch14/main-ex1.c: ``` data = (uint8_t*)malloc(sizeof(uint8_t)*(len+2)); // ... /* We are now ready to transfer the buffer over the I2C bus */ returnValue = HAL_I2C_Master_Transmit(hi2c, DevAddress, data, len...

Hi, I've just tried your custom booloader example on a nucleo l073RZ with system workbench and it always fails with a HardFault: 0xfffffffe () at 0xfffffff9 __register_exitproc() at 0x8003862 atexit()...