Search found 12 matches

by sabdulqadir
Fri Dec 14, 2018 10:24 pm
Forum: Small Change Requests
Topic: Speed profiling using hal_serial_usb Topic is solved
Replies: 4
Views: 564

Re: Speed profiling using hal_serial_usb Topic is solved

Thanks Giovanni,
I do have a concern though. Should this change be pulled out to the configuration files? That way, the application would be able to fine tune this parameter.

Thanks,
AQ
by sabdulqadir
Mon Dec 10, 2018 9:21 pm
Forum: Bug Reports
Topic: otg_core_reset: wrong operation sequence? Topic is solved
Replies: 5
Views: 322

Re: otg_core_reset: wrong operation sequence? Topic is solved

I noted the same in STM32cubemx code. They test AHBIDL bit before the reset.

Thanks,
AQ
by sabdulqadir
Mon Dec 10, 2018 8:18 pm
Forum: ChibiOS/HAL
Topic: USB-HID working with IIO but now with hidraw subsystem
Replies: 5
Views: 374

Re: USB-HID working with IIO but now with hidraw subsystem

Hi, I do not have much experience with HID, but my two cents, try placing your led turn-on in: static void usb_lld_serve_interrupt(USBDriver *usbp) { ... /* IN/OUT endpoints event handling.*/ src = otgp->DAINT; } in os/hal/ports/STM32/.....hal_usb_lld.c You should be able to trace from there if you ...
by sabdulqadir
Thu Nov 22, 2018 1:16 am
Forum: General Support
Topic: Mailboxes and queues examples?
Replies: 9
Views: 3905

Re: Mailboxes and queues examples?

Hi, The test/ directory in the sources root has examples for most kernel features. In specific you should look to test/testmbox.c and test/testqueues.c. Fabio Utzig Have the structure changed? Could not find these in the current distribution. Or am i not looking at the correct stuff (https://github...
by sabdulqadir
Thu Nov 22, 2018 12:30 am
Forum: Small Change Requests
Topic: Enable programmatic termination of shell Topic is solved
Replies: 4
Views: 594

Re: Enable programmatic termination of shell Topic is solved

Just to make sure, this means the shell would terminate when the USB device is detached?
Would you guys be able to tell who is requesting the termination?
Thanks,
AQ
by sabdulqadir
Wed Nov 07, 2018 7:54 pm
Forum: Small Change Requests
Topic: Speed profiling using hal_serial_usb Topic is solved
Replies: 4
Views: 564

Speed profiling using hal_serial_usb Topic is solved

Hi All, I have been testing the speed on hal_serial_usb, testing with different size for SERIAL_USB_BUFFERS_SIZE , SERIAL_USB_BUFFERS_NUMBER and the size of buffer which goes in chnWrite(&SDU2, (const uint8_t *)&test_buff, TEST_BUFFER_SIZE) . I realized what matters most is S...
by sabdulqadir
Fri Sep 21, 2018 11:44 pm
Forum: ChibiOS/HAL
Topic: Having issues with usb otgv1 on STM32F723
Replies: 15
Views: 765

Re: Having issues with usb otgv1 on STM32F723

Hi Giovanni,
Would you be able to answer my questions above?

Thanks,
AQ
by sabdulqadir
Mon Aug 06, 2018 3:05 pm
Forum: ChibiOS/HAL
Topic: Having issues with usb otgv1 on STM32F723
Replies: 15
Views: 765

Re: Having issues with usb otgv1 on STM32F723

Hi Giovanni, I found my bug. The delay-call, introduced by me during PHY initialization was not set appropriately. chSysPolledDelayX(); Having corrected that, i wanted to ask this. Should more information be available on these API? In the generated document, it says argument expects cycles, but cycl...
by sabdulqadir
Thu Jul 19, 2018 3:45 pm
Forum: ChibiOS/HAL
Topic: Having issues with usb otgv1 on STM32F723
Replies: 15
Views: 765

Having issues with usb otgv1 on STM32F723

Hi, I am using STM32F723 in one of our application which utilizes it to provide USB 2.0 device. I am using the HAL provided by chibiOS. One of the benefits of STM32F723 is the built-in PHY for USB. The chibi HAL/LLD does not support this chip yet, so I made few changes to HAL/LLD (copied from the cu...

Go to advanced search