ISSUE: STM32WL55JC2 SPI1 not working when project file is generated from CubeMX but works while using example file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-23 12:20 AM
Hello,
Currently I am working on STM32WL55JC single core where I initialized PB3, PB4, PB5 and PA15 for SPI1 line with a FLASH Memory MT25QL.
I tried basic with reading Flash memory ID.
It worked when i used the SPI_FullDuplex_ComPolling_Master example as shown in first picture but when i tried to create my own project file it didn't worked {0xf as shown in 2nd Picture). I even tried generating code using Ioc file of SPI_FullDuplex_ComPolling_Master example.
What could be the reason? Am I missing something here?
I am using STM32Cube FW_WL V1.3.0.
Thank you
- Labels:
-
SPI
-
STM32CubeMX
-
STM32WL series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-23 1:40 AM
Hello @SSaya.1​ ,
Which CubeMX version used? Please make sure to use latest release of CubeMx.
If possible, share your ioc file for check.
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-23 2:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-02 8:33 AM
Hello @SSaya.1​ ,
Referring to your screenshots, it seems that you added private user code to both the example and your own project.
So, to further analyze these added parts in the code, could you please provide the whole projects you are working on.
Thanks,
Rim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-21 4:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-21 4:07 AM
