Search found 39 matches

by HDKLog
Mon Jul 15, 2019 5:50 pm
Forum: General Support
Topic: Using MMC driver with other SPI devices
Replies: 3
Views: 188

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

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

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

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

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

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

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

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 ...
by HDKLog
Sat Mar 31, 2018 12:20 am
Forum: General Support
Topic: Running Chibios on custom board with stm32f103 MCU Topic is solved
Replies: 7
Views: 1519

Re: Running Chibios on custom board with stm32f103 MCU Topic is solved

I replaced my MCU to stm32F103 from STLink part of NUCLEO board and there was no difference. Then I started to search problems in manuals and found there description of flash locking issue. After that I decide to check connection with MCU through OpenOCD. I tried to press and hold reset button then ...
by HDKLog
Thu Mar 29, 2018 8:13 pm
Forum: General Support
Topic: Running Chibios on custom board with stm32f103 MCU Topic is solved
Replies: 7
Views: 1519

Re: Running Chibios on custom board with stm32f103 MCU Topic is solved

Thank you for quick reply Giovanni.

I tried to disable all drivers even PAL driver but no results. I have 2 boards and both wont work. I don't know what to check now...

Go to advanced search