USB peripheral on STM32 as serial interface | VIDEO 21

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ • 20

  • @AnassTalib-t8j
    @AnassTalib-t8j 11 місяців тому +1

    Great video , i have an stm32u59 based board but i can't seem to find the usb library for it , any idea?

  • @CAPTINBARNEY
    @CAPTINBARNEY 3 роки тому

    I don't want to use the microUSB on my núcleo board, is it possible for me to just use a simple female USB PCB and connect it to the same pins as shown in the schematic? Thanks very helpful video I'm just getting started with STM controllers

    •  3 роки тому

      I think you're talking about the usb peripheral connector and not the debug one, which is mini USB. Sure, you can connect one yourself just make sure you have the lines as short as possible, at least data lines D+,D-. If you can, twist them together and it should work. If you check your board's schematic you can see if you need any series resistors if you're connecting directly to the mcu i/o.

  • @andrelacasse6763
    @andrelacasse6763 4 роки тому

    I have stm32l152c. What would be the name of the virtual comm port under linux?

    •  4 роки тому

      If you want to use thw built in port of the st-link, it sould be under name ttyACMx, so under /dev/ttyACMx, where x depends if yoi have more devices like this connected. Should be 0 for this type of serial port dezcribed in the video. In rare case you could look for ttyUSBx device.

    • @andrelacasse6763
      @andrelacasse6763 4 роки тому

      @ Thank you

  • @mustafademirbacak6191
    @mustafademirbacak6191 Рік тому

    i have stm32f407 i write the same code and i tried to read the message with realterm on windows but it didn't work
    thanks for any suggestion

  • @ivand8393
    @ivand8393 4 роки тому

    Could you please provide also the generated code?

    •  4 роки тому

      Github excludes binary and other executable files by default for security reason. Also, people have different boards/processors and these tutorials are universal for all.
      Also these tutorials are just for demonstration, not particulary usefull on their own, thus no point in sharing binary that cannot be modified.

    • @ivand8393
      @ivand8393 4 роки тому

      @ By generated code I mean the source code generated by the configuration tool - these are ASCII files (source code *.c and header files*.h) . The idea is the viewer to be able to compile everything as it was on the video. Thanks

    •  4 роки тому

      That would be possible, but the idea is that in the video I show you how and what to configure and also provide resources, links and additional functions in github. I do not want show any limitations as for a particular board you should use or software. Keeping it universal is what I wanted when I started working and tutorials allways coded project particular to an mcu.

  • @amadeokusch
    @amadeokusch 3 роки тому

    Hi this cannot work in high speed mode?

    •  3 роки тому

      I haven't tested the upper limit, I have just used 115200 and it worked fine.

  • @ECL1PSEEEE
    @ECL1PSEEEE 4 роки тому +1

    Odličan video!

    •  4 роки тому +1

      Hvala ti :)

  • @TimvonHahn
    @TimvonHahn 4 роки тому

    I always get a "libusb: error [udev_hotplug_event] ignoring udev action bind" when trying this. Ideas? (I know I'm a noob, lol). I'm using the STEVAL-STWINKT1 board.

    •  4 роки тому

      This happens to me as well every time I add usb device while I have CubeIde opened. As I have read, its just a message that should not be printed because its not an error, just a log message, but its still in the library. No need to worry.

  • @designworks7347
    @designworks7347 5 років тому +2

    Hope you make a lot a video . isis proteus simulator has cortex m4 you can make a lot of project with a large electroniC component

  • @hamidk4772
    @hamidk4772 3 роки тому

    Outstanding Job.

  • @orientalexpress292
    @orientalexpress292 4 роки тому +1

    Thank you !!!!!