Search found 41 matches

by HDKLog
Sun Mar 15, 2020 3:41 pm
Forum: Small Change Requests
Topic: Byte peeking from streams Topic is solved
Replies: 3
Views: 884

Re: Byte peeking from streams Topic is solved

Hello Giovanni, how about implementing it in descendants of BaseSequentialStream class where it is easy and trivial. You can move it in BaseSequentialStream when implementation will be available in all descendants of BaseSequentialStream.

Harry.
by HDKLog
Sun Mar 15, 2020 12:58 pm
Forum: Small Change Requests
Topic: Byte peeking from streams Topic is solved
Replies: 3
Views: 884

Byte peeking from streams Topic is solved

Hello, It would be very useful to have a "peek" method for Streams. There are many cases when you need to get the first byte of the stream without popping it out and having method streamPeek() along with streamPut() and streamGet() will help to reduce extra workaround and keeping code more...
by HDKLog
Mon Jul 15, 2019 5:50 pm
Forum: General Support
Topic: Using MMC driver with other SPI devices
Replies: 3
Views: 413

Re: Using MMC driver with other SPI devices

So each time I call any MMC driver function I should put it in between spiAcquireBus() and spiReleaseBus() and also if I use FATFS library i should put all FATFS function calls between them. Shouldn't be nice to have these all encapsulated in MMC driver functions calls and option like HAL_USE_MMC_SP...
by HDKLog
Sun Jul 14, 2019 6:05 pm
Forum: General Support
Topic: Using MMC driver with other SPI devices
Replies: 3
Views: 413

Using MMC driver with other SPI devices

Hello, I've got one of these TFT display breakout boards with SD card socket which shares same SPI interface with display. I already wrote driver which communicates with display and follows ChibiOS Hal communication with mutual exclusion: spiAcquireBus() spiStart() spiSelect() //spiSend(), spiReceiv...
by HDKLog
Wed Jan 16, 2019 3:02 pm
Forum: Bug Reports
Topic: usb_event called not within interrupt handler Topic is solved
Replies: 8
Views: 1274

Re: usb_event called not within interrupt handler Topic is solved

Hello Giovanni, I tested my code on the workspace computer and wasn't able to reproduce error. I don't remember all details of my test where I have catched this error and everything seems to work fine. If I will catch this error again I will let you know with all details and conditions.
by HDKLog
Fri Jan 11, 2019 12:05 am
Forum: General Support
Topic: Does ChibiOS have drivers for integrated operational amplifiers?
Replies: 4
Views: 728

Does ChibiOS have drivers for integrated operational amplifiers?

Hello. I want to use opamp's integrated in STM32F303 MCU. I know ADC driver was tempt to be portable and generic as much as possible, to be used with many different MCU's but is there any extended futures in ADC or separated driver for integrated opamp's? Also any example code of integrated opamp's ...
by HDKLog
Thu Jan 10, 2019 11:31 pm
Forum: Bug Reports
Topic: usb_event called not within interrupt handler Topic is solved
Replies: 8
Views: 1274

Re: usb_event called not within interrupt handler Topic is solved

Hello Giovanni, Sorry for late response, I was busy with projects and don't have notifications enabled. I have installed ChibiStudio preview on Windows 7 and correct me if I'm wrong, it uses GCC, OpenOCD and GDB fro debuging. there was available GCC 5.4 and 7.0, I don't remember exactly but I think ...
by HDKLog
Wed Nov 21, 2018 9:26 pm
Forum: Bug Reports
Topic: usb_event called not within interrupt handler Topic is solved
Replies: 8
Views: 1274

Re: usb_event called not within interrupt handler Topic is solved

Giovanni wrote:Hi,

Moved in "bug reports", I need to verify this.

Giovanni


Hello Giovanni. Did you check this bug? I don't see any tickets related to it on sourceforge in section bugs.
by HDKLog
Tue Nov 06, 2018 4:04 pm
Forum: Bug Reports
Topic: usb_event called not within interrupt handler Topic is solved
Replies: 8
Views: 1274

Re: usb_event called not within interrupt handler Topic is solved

I think _usb_reset() in hal_usb.c is the place to look in. It calls _usb_isr_invoke_event_cb(usbp, USB_EVENT_RESET) which then calls usb_event().
by HDKLog
Tue Nov 06, 2018 11:44 am
Forum: Bug Reports
Topic: usb_event called not within interrupt handler Topic is solved
Replies: 8
Views: 1274

usb_event called not within interrupt handler Topic is solved

Hello! I'm using USB driver with CDC on board with STM32F103 MCU and it works fine but when I turn on debug checks system halts on chSysLockFromISR() within usb_event() callback function at start when I call usbStart() in main. Is there something wrong? I use ChibiOS version 182 and here is my call ...

Go to advanced search