Search found 48 matches

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: 1592

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: 1592

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: 1592

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: 1592

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: 1592

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: 1201

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: 1201

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.
by robert_o
Sun Sep 18, 2022 7:39 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: 1201

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

I have a STM32F411CE (blackpill Board) with HSE=25MHz. I selected M=15, N=144, P=4, Q=5, AHBP=1, APB1=2, APB2=1 which gives 60MHz System Clock and 48MHz USB Clock. I've got the Error: chibios_trunk/os/hal/ports/STM32/LLD/TIMv1/hal_st_lld.c:322:2: error: #error "the selected ST frequency is not ...
by robert_o
Tue Jun 15, 2021 7:10 pm
Forum: User Projects
Topic: A text editor for ChbiOs
Replies: 2
Views: 4681

Re: A text editor for ChbiOs

Yes i do. I wanted a possibility to alter the config with a smartphone, a bluetooth connection and a simple terminal program like "Bluetooth terminal" or Serial bluetooth terminal".

Go to advanced search