2024-12-01 02:53 AM
Hello,
I am a student and a newbie with microcontrollers. I have worked with ESP and Arduino before. For a low-powered IoT project, i got the B-L462E-CELL1 board. I looked for examples regarding this board but failed to find any. I saw the example from X-CUBE-CELLULAR but it was too complicated to understand. It also showed errors when i built the project.
Is there any step by step guide to build the first blinky project with this board or can anyone help or suggest how to proceed with it. I saw some youtube videos and tried to use the reference manual and datasheet to turn on LEDs. The code built was without error but the device is not acting as it is expected. Below i have attached a ss of the IDE.
Regards,
Sarfaraj
Solved! Go to Solution.
2024-12-02 03:43 AM
Hello @SSWM and welcome to the community,
You need to download these tools:
STM32CubeMx tool from here.
STM32CubeIDE toolchain from here.
You need to refer to the user manual of the board: UM2743
According to this documentation, the board is based on STM32L462REY6TR microcontroller:
Now we need to know which LED resources are available on the board. Again, the same user manual provides it in the table 4 as well as their GPIOs connections:
These information are sufficient to start to blink LED(s).
Not obvious to tell you step by step how to do as it will be an article but I've created a project for you with which LD1, LD2 and LD3 are toggling.
If that answers your question please accept it as solution.
Thank you.
2024-12-02 03:43 AM
Hello @SSWM and welcome to the community,
You need to download these tools:
STM32CubeMx tool from here.
STM32CubeIDE toolchain from here.
You need to refer to the user manual of the board: UM2743
According to this documentation, the board is based on STM32L462REY6TR microcontroller:
Now we need to know which LED resources are available on the board. Again, the same user manual provides it in the table 4 as well as their GPIOs connections:
These information are sufficient to start to blink LED(s).
Not obvious to tell you step by step how to do as it will be an article but I've created a project for you with which LD1, LD2 and LD3 are toggling.
If that answers your question please accept it as solution.
Thank you.
2024-12-02 09:14 AM
Hello @SofLit,
Thank you for your reply. The detailed description helped a lot along with the blinky project. I wrote a similar code and tried to run it with the default clock settings (80Mhz). There was no error in the code. However, I couldn't see the LEDs blinking. I also noticed there are a lot of other changes that you made on the .ioc file, along with the clk to be 4 Mhz. If it is okay with you, can you also give some more guidance on what to keep in mind while configuring the microcontroller in general? Or could you suggest a good article for beginners?
I have already downloaded the reference manual, datasheet and user manual. As a beginner, it's a bit overwhelming to start with this device. Anyway, thanks again.
Regards,
Sarfaraj