BSP for STM32L4xx Nucleo?

5 posts / 0 new
Last post
SamHo
Offline
Last seen: 1 month 3 weeks ago
Joined: 12/12/2018 - 9:33am
BSP for STM32L4xx Nucleo?

Hi,

Not sure if anyone has asked before. 

Is there BSP for stm32L451 or other L4 family nucleo? also with RS232 turning driver?

I only have the L451 nucleo board with me,

I have already implemented the DFSDM drivers for PDM Microphone and able to playback to the internal dac with internal op-amp driving a balance armature speaker. 

Now I am trying to implement the AWE Core to see what DSP I can do. 

Many Thanks

 

Axel Nilsson
Offline
Last seen: 1 week 4 min ago
Joined: 12/19/2016 - 2:02pm

Hi Sam,

 

There is a reference BSP for the STM32L496 Discovery board on our downloads page: https://dspconcepts.com/downloads

For a sample of a target that uses RS232, check out any of the SHARC BSPs on the downloads page. 

 

 

-Axel

 

SamHo
Offline
Last seen: 1 month 3 weeks ago
Joined: 12/12/2018 - 9:33am

Hi Axel, 

Thanks for your quick response.  

I am using L452RE nucleo boards with 160Kbytes RAM,  I am having RAM overflowed at the moment.  The example for STM32L496 Discovery has 320Kbytes RAM. I have tried optimised for size but no luck.  It seems like there are many static libraries, are all of them needed?  Or is there any other ways to reduce the size? 

thank you for your help!

Sam

Axel Nilsson
Offline
Last seen: 1 week 4 min ago
Joined: 12/19/2016 - 2:02pm

To save space on your target, you can trim down the list of modules in the ModuleList.h file that defines the macro LISOFCLASSOBJECTS. For example, removing all of the Fract32 modules will save you a lot of space if you only intend to use Float modules. 

 

-Axel

SamHo
Offline
Last seen: 1 month 3 weeks ago
Joined: 12/12/2018 - 9:33am

Great! thank you for your help