2016-08-11 01:02 AM
Hi,
In file stm32f4xx.h from en.stsw-stm32068.zip #define RCC_APB1RSTR_SPI2RST ((uint32_t)0x00008000)#define RCC_APB1RSTR_SPI3RST ((uint32_t)0x00010000)is wrong !!in the document DocID018909 Rev 12 , Reference manual for STM32F4 RCC_APB1RSTR_SPI2RST is in bit 14 and not bit 15 RCC_APB1RSTR_SPI2RST is in bit 15 and not bit 162016-08-11 01:50 AM
This is a known and [DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Incorrect%20definitions%20in%20older%20stm32f4xx.h&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=82]already fixed problem.
However, in the old firmware packages, the then-current versions of libraries etc. are perpetuated. I don't think there is a good solution to this sort of problems except adding a note to the bundle - but that is unlikely to be read anyway... JW2016-08-11 03:01 AM
Hi,
This bug is reported and should fixed in the appropriate way this time.Sorry for such inconvenience.-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.