andysworkshop / stm32plus

The C++ library for the STM32 F0, F100, F103, F107 and F4 microcontrollers
http://www.andybrown.me.uk
Other
745 stars 224 forks source link

Is STM32 L4 Supported (NUCLEO-L432KC)? #208

Open WillGreen opened 6 years ago

WillGreen commented 6 years ago

The NUCLEO-L432KC is by far the most powerful board ST produce in the small Nucleo-32 format. This format is ideal for use with breadboards and in compact designs. However, it uses the low power STM32 L4 STM32L432KC rather than an STM32 F4. Both the F4 and L4 are based on the Cortex M4F.

Will stm32plus work with this board? I understand things like clock speeds and memory configuration will need setting up, but is the library fundamentally compatible, or is the L4 too different?

Any information would be useful before I decide whether to order a board.

hellow554 commented 6 years ago

This is related to #174 . Maybe you can answer the questions in the issue (in particular: is there a standard peripheral library?)

WillGreen commented 6 years ago

The difference is that the STM32 L4 is based on the same Cortex M4F as the STM32 F4. The F7 is a completely different MCU design: Cortex-M7F. So I think these are quite different questions.

hellow554 commented 6 years ago

Maybe my answer was a little bit unclear, sorry. Is there a standard peripheral library for the L4? If yes, I see nothing that would be against implementing the L4, else wise it would be difficult because if the current implementation design of this library

WillGreen commented 6 years ago

@hellow554 now I understand! Apologies for any confusion. Alas it seems the L4 is too new for the standard peripheral libraries. So I guess I'm out of luck.

The options would appear to be: a) Going with L4 and not using stm32plus b) Building my own small F4 board

Thanks for your help.

andysworkshop commented 6 years ago

I've just tacked on a NUCLEO-L496ZG-P to my latest Digikey order. It's a bit larger than the one you referred to but the core's the same. I can't promise anything soon but we'll see how it goes.

WillGreen commented 6 years ago

Thanks. I look forward to hearing how you get on with the L496Z.

jcw commented 4 years ago

Me too ...