STM32L452RC support
Posted: Tue Mar 05, 2019 8:31 pm
Hi!
I designed a board using STM32L452RC and I've modified HAL to support this MCU. Everything compiles fine, but I couldn't try it so far, because the board is not ready yet.
I have some question regarding HAL. I modified hal_lld.h, stm32_registry.h and created a new linker script.
1. Why is a separate platform_stm32l432.mk needed?
2. In the config of STM32L433 MCU SPI2 and I2C2 are disabled although they do exist in the controller. What is the reason behind? (Page 61-62)
3. GPIOv3 is used for this architecture, which handles ASCR as well. I think it might be wrong, because this micro does not have this register based on the documentation. ASCR exists in the high performance mcu-s like L476 but not in these (Page 274).
Here is the reference manual:
STM32L41xxx/42xxx/43xxx/44xxx/45xxx/46xxx advanced ArmĀ®-based 32-bit MCUs
This is my first approach to understand and modify HAL, so of course, it can happen that I missed something. Could you please help me to clarify my questions?
BR,
Zoltan
I designed a board using STM32L452RC and I've modified HAL to support this MCU. Everything compiles fine, but I couldn't try it so far, because the board is not ready yet.
I have some question regarding HAL. I modified hal_lld.h, stm32_registry.h and created a new linker script.
1. Why is a separate platform_stm32l432.mk needed?
2. In the config of STM32L433 MCU SPI2 and I2C2 are disabled although they do exist in the controller. What is the reason behind? (Page 61-62)
3. GPIOv3 is used for this architecture, which handles ASCR as well. I think it might be wrong, because this micro does not have this register based on the documentation. ASCR exists in the high performance mcu-s like L476 but not in these (Page 274).
Here is the reference manual:
STM32L41xxx/42xxx/43xxx/44xxx/45xxx/46xxx advanced ArmĀ®-based 32-bit MCUs
This is my first approach to understand and modify HAL, so of course, it can happen that I missed something. Could you please help me to clarify my questions?
BR,
Zoltan