2020-10-17 04:17 AM
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!
Solved! Go to Solution.
2020-10-17 07:37 AM
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.
2020-10-17 07:37 AM
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.
2020-10-17 09:37 AM
Thanks for the help!
2020-10-19 04:23 AM
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
2020-10-20 09:05 AM
Hello Imen DAHMEN! The version of my CubeMX is 6.0.1.I had upgraded it (software and libraries) 5 days ago.