Search found 35 matches

by tsichevski
Tue Apr 17, 2018 10:01 am
Forum: ChibiOS/HAL
Topic: How to abort USB transmit?
Replies: 2
Views: 674

How to abort USB transmit?

Hi all, I use hal_usb driver in ChibiOS_17.6.3 to transmit data from a STM32 device to host computer. I start transfer with the usbStartTransmitI(), and wait for the "data transmitted" interrupt. The question is: how can I prematurely abort the transfer which is already started? Regards, V...
by tsichevski
Sun Mar 11, 2018 5:56 pm
Forum: ChibiOS/HAL
Topic: hal_queues vs. hal_buffers with USB
Replies: 3
Views: 784

Re: hal_queues vs. hal_buffers with USB

Hi, hal_buffers offers better performance for blocks of data, hal_queues is byte-based, queues have been removed from RT and added to HAL, the book refers to RT 3.0, now we are at 5.0 and some things have changed, also, the book only covers RT, not HAL. Giovanni Thank you, Giovanni, so, I gather, i...
by tsichevski
Sun Mar 11, 2018 2:05 pm
Forum: ChibiOS/HAL
Topic: hal_queues vs. hal_buffers with USB
Replies: 3
Views: 784

hal_queues vs. hal_buffers with USB

Hi all, I want my device to implement a simple subset of MTP (https://en.wikipedia.org/wiki/Media_Transfer_Protocol) over USB. What is the best way to do it with ChibiOS? I consider using the hal_serial_usb, but it is based on hal_buffers, and I cannot understand why. Why this is better than hal_que...
by tsichevski
Fri Feb 09, 2018 12:53 am
Forum: Development and Feedback
Topic: What is the difference between hal modules v1 and v2 version?
Replies: 2
Views: 711

What is the difference between hal modules v1 and v2 version?

Hi all,

There are two versions of some hal modules, for example:

os/hal/ports/STM32/LLD/SPIv1
os/hal/ports/STM32/LLD/SPIv2

What is the difference?
If I start a new development, which version should I use?

Thanks,
Vladimir

Go to advanced search