Hi There, I have the SMBUS example code for STM32L4R5ZI-Nucleo.
As per the spec this code should be fully compatible with STM32L496z-Nucleo. However, when I flash the example FW from STM32L4R to STM32L496 the SMBUS functionality does not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-23 8:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-23 11:07 PM
There are significant differences between L496 and L4R5. The application source code using HAL may be compatible (because the differences are handled by HAL routines specific to the MCU), but the binaries - rather not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-24 9:40 AM
>>As per the spec this code should be fully compatible with..
That's a bit of a reach. They are quite different. You'll have to pay attention to the details.
Post lacks a lot of detail about pins you're involving or code
Perhaps formulate this as a question, rather than a statement, with enough code in a ZIP or GITHUB to see what it's is you're doing, and why it might be flawed.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-24 11:18 AM
Ah...Okay right that makes more sense now.
I initially tried converting the system workbench examples for the L4R5 MCU, into a .ioc file by copying over the required .c and .h files, but this was still giving me errors despite the .ioc project being for the same MCU.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-24 11:09 PM
I have done the reverse migration and the main point to take care was DMAMUX for me. It does not exist in L496.
