Search found 48 matches

by chradev
Mon Feb 12, 2018 2:59 pm
Forum: STM32 Support
Topic: chSyshalt with reason "chThdResumeI" from SPID1
Replies: 6
Views: 1763

Re: chSyshalt with reason "chThdResumeI" from SPID1

Dear Kristoffer, This thread is too old but I would like to test your DW1000 driver under latest ChibiOS. Could you give me a permission to use your driver for DW1000: https://gitlab.com/totalkrill/dw1000-driver and the whole project from GitLab: https://gitlab.com/totalkrill/fresknode/tree/master T...
by chradev
Wed Jan 13, 2016 4:22 pm
Forum: STM32 Support
Topic: STM32F407 + USB + ULPI Interface
Replies: 72
Views: 15740

Re: STM32F407 + USB + ULPI Interface

I have already do that in my previous post. You can download it following the link:
http://forum.chibios.org/phpbb/download/file.php?id=933

Regards
Chris
by chradev
Thu Dec 24, 2015 4:42 pm
Forum: STM32 Support
Topic: STM32F407 + USB + ULPI Interface
Replies: 72
Views: 15740

Re: STM32F407 + USB + ULPI Interface

I try it increasing USBEndpointConfig.in_multiplier for USB FS/HS data endpoints only from 2 (default) to 4 and 8. In both cases (4 and 8) USB HS throughput increases from ~5 to ~7.4 MBps when connected to Linux on a20-Lime2-SOM. When USB HS was connected to i7 PC with Windows 7 throughput increases...
by chradev
Thu Dec 24, 2015 12:03 am
Forum: STM32 Support
Topic: STM32F407 + USB + ULPI Interface
Replies: 72
Views: 15740

Re: STM32F407 + USB + ULPI Interface

Hi to All, I have made some more tests with different buffer sizes and would like to update preliminary figures. Unfortunately, when buffer size was set to 16 kB or more the following linker error is observed: Linking build/ch.elf rules.ld:359 cannot move location counter backwards (from 20021f50 to...
by chradev
Wed Dec 23, 2015 5:29 pm
Forum: STM32 Support
Topic: STM32F407 + USB + ULPI Interface
Replies: 72
Views: 15740

Re: STM32F407 + USB + ULPI Interface

Hi Giovanni, How much would you estimate the advantage of the new system compared to normal queues? As I can see in preliminary tests performance is increased at: * USB FS from ~585 to ~958 kBps or with more than 60% (close to one measured with stm32cube implementation - ~1048 kBps), * USB HS from ~...
by chradev
Wed Dec 23, 2015 4:51 pm
Forum: STM32 Support
Topic: STM32F407 + USB + ULPI Interface
Replies: 72
Views: 15740

Re: STM32F407 + USB + ULPI Interface

Increasing buffers size to 1k performs slightly better: SDU2 Throughput [kBps] vs time [sec] @ 1024 buffer size: cur max min avg 75 4659.2 6927.3 4622.8 4683.5 Unfortunately, my tests with stm32cube show the best results at 36kB transmit buffer size. At 1k buffer size USB HS the performance is ~10 M...
by chradev
Wed Dec 23, 2015 4:22 pm
Forum: STM32 Support
Topic: STM32F407 + USB + ULPI Interface
Replies: 72
Views: 15740

Re: STM32F407 + USB + ULPI Interface

Adding condition to fill the buffers only once did not influence performance at all. (void) obqGetEmptyBufferTimeout(&SDU2.obqueue, TIME_INFINITE); if (cn < 2) memcpy(SDU2.obqueue.ptr, buf, SERIAL_USB_BUFFERS_SIZE); obqPostFullBuffer(&SDU2.obqueue, SERIAL_USB_BUFFERS_SIZE); count += SERIAL_U...
by chradev
Wed Dec 23, 2015 2:16 pm
Forum: STM32 Support
Topic: STM32F407 + USB + ULPI Interface
Replies: 72
Views: 15740

Re: STM32F407 + USB + ULPI Interface

Hi Giovanni, I have just run brief tests with almost no changes against chibios-svn-8631-trunk. The following implementation is used as a test basis (see more in btest-2.zip): static uint8_t buf[] = "0123456789abcdef0123456789abcdef..."; // 1024 buffer count += chSequentialStreamWrite(chp,...
by chradev
Tue Dec 22, 2015 7:23 pm
Forum: STM32 Support
Topic: STM32F407 + USB + ULPI Interface
Replies: 72
Views: 15740

Re: STM32F407 + USB + ULPI Interface

Thanks Giovanni,

I will update my performance test application, perform new assessment and post new figures as soon as have them.

Best regards
Chris
by chradev
Sun Dec 20, 2015 10:19 am
Forum: STM32 Support
Topic: STM32F407 + USB + ULPI Interface
Replies: 72
Views: 15740

Re: STM32F407 + USB + ULPI Interface

Hi Giovanni, It is good news.Proposed solution is very interesting because it can be applied at other cases as well. It will be big advantage if both linear and circular buffers can be supported in the new object. I am ready to help in testing and assessment phases of the implementation so please ke...

Go to advanced search