Support STM32F446 where to start
Posted: Wed Dec 23, 2015 10:40 am
Hi together,
my new hardware uses the STM32F446RE, due to the better shielding of the internal ADC compared to the STM32F405RC.
The peripherals seem to be the same as in the F405, but the definitions seem to be diffrent.
By looking around in the chibios code i found that stm32_registy.h does not support the STM32F446. This alone is no big deal i thought,
copy the section from the F405 and check the config with the Refmanual.
The hal_lld.h is no problem also. Same procedure as with the stm32_registry.h
But my real problem is a file like "stm32f446xx.h" which is needed. Where can i get a Chibios compatible file?
The version from the CubeHAL is crap. So i found the Version 1.6.1 of the stm32f4xx.h from the old ST Libs. Do i get it right, that the chibios cpu specific files like "stm32f405xx.h" are a seperation of the "stm32f4xx.h" by ST in which all F4 types are included and seperated by if defs ?
How is the general procedure to include a new derivate of an cpu line?
If i'am finished i can share the files here.
Regards
Tec
my new hardware uses the STM32F446RE, due to the better shielding of the internal ADC compared to the STM32F405RC.
The peripherals seem to be the same as in the F405, but the definitions seem to be diffrent.
By looking around in the chibios code i found that stm32_registy.h does not support the STM32F446. This alone is no big deal i thought,
copy the section from the F405 and check the config with the Refmanual.
The hal_lld.h is no problem also. Same procedure as with the stm32_registry.h
But my real problem is a file like "stm32f446xx.h" which is needed. Where can i get a Chibios compatible file?
The version from the CubeHAL is crap. So i found the Version 1.6.1 of the stm32f4xx.h from the old ST Libs. Do i get it right, that the chibios cpu specific files like "stm32f405xx.h" are a seperation of the "stm32f4xx.h" by ST in which all F4 types are included and seperated by if defs ?
How is the general procedure to include a new derivate of an cpu line?
If i'am finished i can share the files here.
Regards
Tec