2013-06-05 01:36 PM
told me to report on this forum any corrections needed in reference docs and code.
These corrections apply to the latest published reference manuals for STM32F3xx:
RM0316: STM32F302xx, STM32F303xx and STM32F313xx advanced ARM-based 32-bit MCUs DM00043574.pdf
DocID 022558 Rev 2.0
RM0313: STM32F37xx and STM32F38xx advanced ARM-based 32-bit MCUs DM00041563.pdf
DocID 022448 Rev 1.0 1) Table 24. Programmable data width & endian behavior; Source port width=32, Destination port width=16: Transfer operations should read ''WRITE BxBy[15:0]'' not ''...[7:0]'' 2) USART Section 5.4 Baud rate generation; Example 1 In case of oversampling by 8: calculation should read ''0x3 >> 1'' not ''... << 1''. -Gary #corrections-reference-manual #corrections-reference-manual2013-06-06 02:40 AM
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.
2013-06-06 02:34 PM
Here are a few more.
RM0316: STM32F302xx, STM32F303xx and STM32F313xx advanced ARM-based 32-bit MCUs DM00043574.pdf
DocID 022558 Rev 2.0 1) GPIO Section 4.3 (and in Table 22) GPIOx_OSPEEDR Reset value for Port A: Should be ''0x0C000000'' not ''0x64000000''. 2) GPIO Section 4.4 (and in Table 22) GPIOx_PUPDR Reset value for ports C-F: Should be ''0x00000000'' not ''0x0C000000''.
RM0313: STM32F37xx and STM32F38xx advanced ARM-based 32-bit MCUs DM00041563.pdf
DocID 022448 Rev 1.0 1) GPIO Section 4.1 (and in Table 22) GPIOx_MODER Reset value for Port A: Should be ''0xA8000000'' not ''0x28000000''. Reset value for Port B: Should be ''0x00000280'' not ''0x00000000''. 2) GPIO Section 4.3 (and in Table 22) GPIOx_OSPEEDR Reset value for Port A: Should be ''0x0C000000'' not ''0x00000000''. Reset value for Port B: Should be ''0x000000C0'' not ''0x00000000''. 3) GPIO Section 4.4 (and in Table 22) GPIOx_PUPDR Reset value for ports A: Should be ''0x64000000'' not ''0x24000000''. Reset value for ports B: Should be ''0x00000100'' not ''0x00000000''. -Gary2013-06-13 01:50 AM
Hello Gary,
Will check for RM0313 but I don't understand how did you get new reset values that you suggest for RM0316. Could you please explain? Thanks & Regards, ST.MCUTo give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2013-06-13 04:42 PM
I loaded the following for firmwareusing the STM32 ST-LINK Utility:
void __attribute__((noreturn)) Reset_Handler()
{
// Need to enable the port clocks
RCC->AHBENR |= RCC_AHBENR_GPIOAEN|...|RCC_AHBENR_GPIOEEN;
for (;;) { }
}
Then I examined the register values in the Device Memory window.
-Gary
2013-06-19 07:13 AM
Hello Gary,
You are right. Thanks again for your contribution. Your feedbacks will be taken into account in next reference manuals releases. MaylaTo give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.