2024-10-09 05:30 AM
Hi, good morning!
First of all, let me tell you that this is my first post (I'm new here in the community of STM32) but I have some experience in the embedded world (I mean, I've used ESP32, Arduino, RPI, BB(Black, Play and AI-64) and other devices for projects at work). The only problem I have is I don't have any experience with STM32 devices and all related stuff so bear in mind with me please.
The thing is, after reading the Wiki section (Getting started) I see the first thing I have to do to connect the hardware (STM32MP157) to my computer is to buy some wires I don't have right now. The Wires are:
I don't have those wires (in this moment). I just have a USB Type-C (5V/3A) which I've been using for all devices I have (Mainly BeagleBone Black, BeagleBone AI64, Raspberry Pi and other devices) for both power supply and connection from host to device. I thought I could use the USB Type-C wire for both power supply and connection and start doing things with the device throught a serial port connection.
So, my question, is, are those wires (the three of them) mandatory to be able to connect to the device?
Another question I would like to ask is, can you suggest me a book to get more experience using the STM32 devices (Both MCU/MPU)?. In my job, I expect to work with the MCU devices mostly altought I'll use some MPU devices for some concepts or prototypes I'll be working in the next years to come.
Thank you so much in advance.
Best regards!
Solved! Go to Solution.
2024-10-10 02:32 PM
I have one MP135F-DK, I guess cable should be same.
For my board, I need two cables, one is for power, this one you can use any charger USB - C cable (I used cell phone power pack with cable.) another USB - c cable like you noticed for Beaglebone... you can connect to this board , it will provide serial port terminal communication.
Even flash SD-card, you no need ST-link cable.
Regards,
Richard
2024-10-10 02:32 PM
I have one MP135F-DK, I guess cable should be same.
For my board, I need two cables, one is for power, this one you can use any charger USB - C cable (I used cell phone power pack with cable.) another USB - c cable like you noticed for Beaglebone... you can connect to this board , it will provide serial port terminal communication.
Even flash SD-card, you no need ST-link cable.
Regards,
Richard
2024-10-14 03:31 AM
Hi @Richard Li , good morning!
Thank you so much for your answer. I received the SMT32MP157F-DK2 and I have to say that it works correctly. Finally I did you you told me, I mean, I used a power supply from my Raspberry PI (Which is a USB Type-C that supports 5V - 3A) and I used a USB TYPE C (the one I'm using for my mobile phone) and I've been able to connect to the device.
When the device boots I'm able to connect to it throught the Tera Term (On Windows) throught SSH and Serial Port.
I see too that there are one RED leds are blinking forever but I thing that's just a warning (I mean, I've seen in other comments in this forum that maybe is due to some signals that aren't availble in the Raspberry PI power supply)
So, thank you so much for your help!
Anyway, I bought the ST-Link/V2 programmer.