AnsweredAssumed Answered

Error find in libraries of STM32F4

Question asked by nicolas.rose.001 on Aug 11, 2016
Latest reply on Aug 11, 2016 by Amel N
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 16 





Outcomes