2024-06-28 02:09 AM
I have made my own PCB with STM32F427VIT6 for a project. But if I tried connecting with the cube IDE, I could not connect it through the Type C port, I could only connect it with STlink. Even my laptop doesn't detect the port. Can anyone help debug this issue?
2024-06-28 02:15 AM
What you do (in your program) with the USB ? host? device ? mode ?
Just "connecting" the pins - will do nothing. (except bootloader/firmware, if boot0 hi.)
2024-06-28 02:29 AM
I tried uploading the firmware through Type C, but I couldn't so I did it with stlink. my boot0 was high when I tried with type c.
2024-06-28 02:54 AM
So you/it had : boot0 hi , then (hard) reset ... ? (boot only checked at end of hard reset)
Then you should see it in CubeProgrammer, in dfu mode, to connect . (Might need USB plug out -> in , to let the system check: new device here now.
2024-06-28 03:14 AM
I did the same., but its not detecting. can you tell me the sequence ?. first I should make the boot0 high then hard set right ?. I the same
2024-06-28 03:28 AM
Right.
1. set boot0 hi . (and keep it hi)
2. reset
3. USB device now "seen" by host -> enumeration (on Win , some "ding dong" ...)
4. in CubeProgrammer now : -> USB setting, should see (find @(refresh , try) ) a new DFU port to connect...
2024-06-28 03:43 AM
I tried the same but it's not working. is there any chance that if the external oscillator does not work USB C also will not work ?. because my oscillator was wrong I have to replace it with a passive one. in my board, I have an active one. will that cause this issue?