cancel
Showing results for 
Search instead for 
Did you mean: 

HAL Library Migration to SPL Library

RKade.1
Associate III

Dear All,

Am converting one code from HAL Library to SPL Library.

In same am using SPI BUS , for it one of function is used which is as mentioned below:-

" HAL_SPI_Transmit(&_W25QXX_SPI,pBuffer,NumByteToWrite_up_to_PageSize,100); "

Same i wanted to convert to SPL Library, can any one support to do that ?

Thanks in advance.

Rohit

3 REPLIES 3
Ozone
Lead

You will hardly get any support from ST for migrating back to abandoned software.

I would recommend to first check the availabilty of a SPL for your unnamed MCU.

The last supported family, if I remember correctly, was the F43x. All later variants only got Cube support.

The next suggested step would be downloading the SPL package for your MCU, and checking the SPI examples.

There are surely some you can use for your application.

If you have a later MCU with exclusively Cube support, you can either try the LL-library (part of Cube), or forgo libs at all, and directly access the hardware.

For the latter method, using at least the LL headerfile for the MCU variant is recommended.

Amel NASRI
ST Employee

Hi @RKade.1​ ,

Did you tried to use the SPL2LL converter?

-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.