STM32L452RC support

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderators: barthess, RoccoMarco

zmolnar
Posts: 7
Joined: Wed Jul 18, 2018 12:46 pm
Been thanked: 2 times

STM32L452RC support

Postby zmolnar » 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

User avatar
Giovanni
Site Admin
Posts: 12021
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 543 times
Been thanked: 455 times
Contact:

Re: STM32L452RC support

Postby Giovanni » Tue Mar 05, 2019 8:53 pm

Hi,

Bugs are possible, if you have evidence of a problem please report it in "bug reports", we review everything posted there. You could also submit patches there.

About L432, it is separated because differences with the other models in the clock tree. It was just easier to make a different file. If it does not have ASCR then it should use GPIOv2, board files should also be modified.

Giovanni


Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 3 guests