LL Driver For I2C while integrating BN0086
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-22 4:16 AM - last edited on ‎2024-09-13 2:29 AM by Amel NASRI
Hi
Solved! Go to Solution.
- Labels:
-
STM32Cube MCU Packages
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-23 1:40 AM - edited ‎2024-08-23 5:27 AM
Sorry, I2C example with LL driver is for NUCLEO-L073RZ:
For NUCLEO-L031K6 board, you can use the project LL template provided here:
STM32CubeL0/Projects/NUCLEO-L031K6/Templates_LL at master · STMicroelectronics/STM32CubeL0 · GitHub and follow the readme file to build your application.
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-22 7:05 AM
Hello @Anusree_k ,
You can follow the I2C examples (LL driver) provided in the STM32CubeL0 firmware package for the NUCLEO-L031K6 board:
This will help you on your project implementation.
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-22 9:24 AM
Hello,
I didn't see the LL Driver under the link you suggested. I checked the link, but it uses HAL for the I2C. Could you please verify this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-23 1:40 AM - edited ‎2024-08-23 5:27 AM
Sorry, I2C example with LL driver is for NUCLEO-L073RZ:
For NUCLEO-L031K6 board, you can use the project LL template provided here:
STM32CubeL0/Projects/NUCLEO-L031K6/Templates_LL at master · STMicroelectronics/STM32CubeL0 · GitHub and follow the readme file to build your application.
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-23 3:47 AM
Hello @Anusree_k
what is the size of the data to be read?
The reload mode is used when the data size to be read is greater than 255, however it is mandatory to call LL_I2C_HandleTransfer with LL_I2C_MODE_AUTOEND mode for the last amount of data less than 255 bytes.
please refer to this post for more details
Saket_Om
