2022-09-17 11:38 AM
I recently bought the STM32L0538-DISCO board. I have seen the following video in youtube where you can see the functions of this board in full. Where can I find the source code for STM32Cube?
On the info page of the board I have not found one that works for STM32Cube.
Thank you very much
Solved! Go to Solution.
2023-01-06 03:15 AM
I finally got the demo program running on a RevB03 board. :rocket:
Sharing this for my future self or for others in the same situation:
5. Build and flash
The dimensions of this display must be different from the original, because the GUI looks truncated but otherwise it works as documented in the readme.txt
2022-09-17 12:41 PM
The materials might well predate the auto-generated stuff.
The CubeL0 directories should have project files for assorted tools (KEIL, IAR), with applications and demos under the board's directory.
STM32Cube_FW_L0_V1.11.3\Projects\32L0538DISCOVERY\Demonstrations\readme.txt
2022-09-17 12:52 PM
In the D:\ST\en.stm32cubel0_v1-12-0\STM32Cube_FW_L0_V1.12.0\Projects\32L0538DISCOVERY\Demonstrations\ directory I find a project. This I can import and compile with the Cube without error, but I load it and it doesn't do anything.
I have previously made a bilnk program and it works without problem. If I load the demo project, it loads without error, but it never overwrites the blink project. It's very strange.
2022-09-17 01:43 PM
You could try debugging it, or use the free Keil licence.
I'd suspect the issue with importation relates to the linker script, or GNU/GCC specifics. Precompiled .HEX files are provided.
2022-09-17 07:42 PM
Check the board user manual for revisions. Maybe BOM has changed without Demo SW update and may not be working anymore. Not all components in a disco have the same longevity or SW compatibility.
2022-09-18 09:37 AM
I have managed to compile and load the demo project, both with the Cube and Keil. The result is the same, the two leds blink, the screen shows nothing and the buttons and the touch do not react.
A demo and evaluation kit is not supposed to have these problems.
2022-09-22 05:07 AM
Finally I have contacted ST directly and they have confirmed that they have changed components and that they have not modified the project.
I have been told to contact the manufacturers by and adapt the code myself. Thing that I see inadmissible because for that you buy a plate with the ST support behind.
I have contacted one of the manufacturers and the code and documentation they have provided is terrible.
2022-11-22 10:37 AM
Do you know what components changed? I have two brand new boards with the same problem, even when downloading the demo binary.
I found a newer version of the user manual that includes board revisions (we have B-03):
Board revision history: MB1143 revision B-03 The revision B-03 of the MB1143 board corresponds to:
• E-paper display U4 replaced with impact on firmware
• Several part references updated due to obsolescence (such as transistors or others, see bill of materials for details)
Board known limitations: Revision B-03
• No demonstration software is provided from this revision.
2022-11-22 11:18 AM
Hi SStew,
It looks like they changed the screen to GDEY0213B74, but I don't have the BOM.
They told me that they updated the BSP. I'll pass you the link:
https://github.com/STMicroelectronics/STM32CubeL0/tree/master/Projects/32L0538DISCOVERY/Examples
We tested it and it gave us some problem, so we ended up discarding the demo board and continue the project on our own. A pity for the board, really.
I hope you have more patience and luck.
Best regards
2022-11-22 11:38 AM