Search found 50 matches

by robert_o
Tue Jun 04, 2024 6:37 pm
Forum: General Support
Topic: Conceptual Question (USB Data Transfer)
Replies: 2
Views: 17364

Re: Conceptual Question (USB Data Transfer)

Thanks for your reply Giovanni. That is what i am doing now. I send 16k in a 32k buffer and start a "write thread" if the checksum is ok. Then i send another 16k in the second half while the writing of the data continues. I just have some problems with the feedback how much is written alre...
by robert_o
Tue Jun 04, 2024 9:58 am
Forum: General Support
Topic: Conceptual Question (USB Data Transfer)
Replies: 2
Views: 17364

Conceptual Question (USB Data Transfer)

Hello everybody, i would like to build an XSFV Player (CPLD Programmer) with ChibiOS. I already have a working Version on: ( Github ). The Board is a STM32F401 "BlackPill" Board. I have a modified communications protocol from an old project which uses a block transfer with checksum. The cl...
by robert_o
Fri Jul 21, 2023 10:01 pm
Forum: STM32 Support
Topic: two USB CDC with shell - only one working
Replies: 7
Views: 5971

Re: two USB CDC with shell - only one working

Just one thought: isn't it possible to create an additional UNIdirectional ttyACM? From an endpoint count it should work: "fullsize" ttyACM: 2-IN, 1-OUT "small" ttyACM 1-IN, 1-OUT total: 3-IN, 2-OUT which should work. The small tty can be used for uploading data from the PC (OUT ...
by robert_o
Fri Jul 21, 2023 9:05 pm
Forum: STM32 Support
Topic: two USB CDC with shell - only one working
Replies: 7
Views: 5971

Re: two USB CDC with shell - only one working

I think i found the problem. Quote: "It's worth noting that CDC requires 2 IN and 1 OUT endpoints, so the working with multiple CDC devices depends really on the USB instance you are using (FS or HS).Within the OTG_FS we have 3 IN / 3 OUT endpoints, so you can only have one CDC. Otherwise, with...
by robert_o
Fri Jul 21, 2023 8:30 pm
Forum: STM32 Support
Topic: two USB CDC with shell - only one working
Replies: 7
Views: 5971

Re: two USB CDC with shell - only one working

I just looked at the Reference Manuals of the F303 and the F411 and i don't even know where to look.
The USB FS Peripherals are different because the F411 has OTG Feature which the F303 hasn't.
I am lost.

-robert
by robert_o
Fri Jul 21, 2023 8:02 pm
Forum: STM32 Support
Topic: two USB CDC with shell - only one working
Replies: 7
Views: 5971

Re: two USB CDC with shell - only one working

Thank you for your quick answer.
I additionaly tested a Nucleo F401 and a F411RE board. Both show the same result.
I use the USB_FS NOT the HS because the F401 and the F411 don't have it. So i assumed it is the same as the F3, but i'll check.

I am quite new to USB.

thanks,
robert.
by robert_o
Fri Jul 21, 2023 6:55 pm
Forum: STM32 Support
Topic: two USB CDC with shell - only one working
Replies: 7
Views: 5971

two USB CDC with shell - only one working

Hello everybody. I am trying to get the USB_CDC_IAD from the testhal dir to work on my F411CE board. I already got it working on a F303 Nucleo (i had to port it from Discovery F303 to Nucleo64 F303) and it works as it should. I have two shells in two ttyACM ports. I use a "Blackpill" board...
by robert_o
Sun Sep 18, 2022 8:09 pm
Forum: STM32 Support
Topic: How to get rid of error: selected ST frequency is not obtainable because integer rounding Topic is solved
Replies: 5
Views: 3659

Re: How to get rid of error: selected ST frequency is not obtainable because integer rounding Topic is solved

Thanks for the reply. I don't understand.
With 60Mhz Timer freq and 10kHz Systick the prescaler could be 6000?
Why is this not obtainable?
by robert_o
Sun Sep 18, 2022 7:53 pm
Forum: STM32 Support
Topic: How to get rid of error: selected ST frequency is not obtainable because integer rounding Topic is solved
Replies: 5
Views: 3659

Re: How to get rid of error: selected ST frequency is not obtainable because integer rounding Topic is solved

Never mind.
I found a solution with:
M=25, N=192, P=2, Q=4 which gives 96MHz System Clock and no error.
cheers.

Go to advanced search