Skip to main content
11 events
when toggle format what by license comment
Sep 29, 2023 at 15:20 vote accept SRobertJames
Sep 29, 2023 at 10:27 answer added Justme timeline score: 1
Sep 29, 2023 at 5:27 comment added SRobertJames @Justme It's the ST-Link module built into the Nucleo board (not a discrete ST-Link), produced by ST.
Sep 29, 2023 at 5:15 comment added Mau5 @justme You are right. Sorry for that.
Sep 29, 2023 at 4:48 comment added Justme @Mau5 Your calculations are way off. Having an interrupt every 1us would mean bit rate of 10 Mbps. 115200 bps means interrupt every 86 us.
Sep 29, 2023 at 4:46 comment added Justme I do have to ask; do you use a genuine ST-Link, or a clone? Most people here just say they have an ST-Link but in reality they just have something with a same name for $5 on some shady online store.
Sep 29, 2023 at 4:45 comment added Mau5 One thing I can imagine is that your controller is to slow to catch every interrupt. If you are sending 8bit at e.g. 115200bit/s, and you get an interrupt each 8bit, that gives you roughly 1us between two transmissions.. Is your system fast enough to process this? If you are using HAL functions and HAL ISR callbacks, the answer is no.
Sep 29, 2023 at 4:22 comment added Justme I have never had or heard anyone has issues with it. But I cannot answer that question what is the error and drop rate - it may have problems when benchmarked like that. Given that and and other questions you have, it is more likely the problem is in your F4 end. However, you can verify that by removing F4 out of the equation, simply use a wire to loop back the VCP TX to VCP RX directly.
Sep 29, 2023 at 4:08 history edited SRobertJames CC BY-SA 4.0
added 454 characters in body
Sep 29, 2023 at 3:58 history edited SRobertJames CC BY-SA 4.0
added 419 characters in body
Sep 29, 2023 at 3:53 history asked SRobertJames CC BY-SA 4.0