cancel
Showing results for 
Search instead for 
Did you mean: 

How i can convert SPL to HAL

Lemon21
Associate

resource: https://github.com/ArduCAM/Arducam_Mega

I need to integrate Arducam camera using STM32L4xx, but i cannot found the library, the resource i was found is using SPL instead of HAL. Someone please help me to resolve this issue 

8 REPLIES 8
Pavel A.
Evangelist III

Here you can find help with the conversion.

Amel NASRI
ST Employee

Hi @Lemon21 ,

You may use the SPL2LL converter. The documentation can help you to understand how to use it.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

There is no SPL for STM32L4 ?

The only STM32 mentioned on your linked page is STM32F103 - so you're going to have to do some porting anyhow

Im using STM32cubeIDE, so need using HAL protocol

 

Thank you for the sharing

Thank you! I will look into it further

SofLit
ST Employee

As said by @Andrew Neil there is no SPL for L4 but according to the link you shared, the example is using STM32F1 and not L4.

So you need to look first at the differences between the products, clocks, pinouts etc (refer to the AN4649 "Migrating from STM32F1 Series to STM32L4 Series / STM32L4+ Series microntrollers") , study the LL lib and use SPL to LL converter as stated by @Amel NASRI  (for F1) then move on to the migration from F1 to L4.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
PS: This is NOT an online support (https://ols.st.com) but a collaborative space. So please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help/support.

@Lemon21 wrote:

Im using STM32cubeIDE, so need using HAL protocol


Not true - you can certainly use SPL code in CubeIDE.

There are plenty of old ST examples which still use SPL, and work fine in CubeIDE.

As far as the IDE is concerned, it's all just C source code.