Skip to main content
Andrew Androsow
Associate II
October 17, 2020
Solved

I2S and Low-level drivers (LL)

  • October 17, 2020
  • 4 replies
  • 1935 views

Hello everyone! Is it possible to initialize an I2S interface using LL drivers?There is only one option in the CubeMX (project manager->advanced settings): HAL. Other peripherals (for example I2C, TIM, USART, SPI) have 2 options HAL/LL. Is it any sense to use LL with I2S at all?

Thanks for response!

This topic has been closed for replies.
Best answer by TDK

If it's not an option in CubeMX, it's probably not supported or not finished. LL came after HAL and doesn't have all of its capabilities.

> Is it any sense to use LL with I2S at all?

I don't think LL should ever be used, or anything. Either stick with HAL or use your own register-level code. The LL functions are largely renamed register accesses. Your choice, of course.

4 replies

TDK
TDKBest answer
October 17, 2020

If it's not an option in CubeMX, it's probably not supported or not finished. LL came after HAL and doesn't have all of its capabilities.

> Is it any sense to use LL with I2S at all?

I don't think LL should ever be used, or anything. Either stick with HAL or use your own register-level code. The LL functions are largely renamed register accesses. Your choice, of course.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Andrew Androsow
Associate II
October 17, 2020

Thanks for the help!

ST Technical Moderator
October 19, 2020

Hello @Andrew Androsow​ ,

Which device are you using ?

As said @TDK: it's maybe not yet supported, or maybe you are using an old CubeMX version, so you should update it and use latest release.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Andrew Androsow
Associate II
October 20, 2020

Hello Imen DAHMEN! The version of my CubeMX is 6.0.1.I had upgraded it (software and libraries) 5 days ago.