Search found 37 matches

by Alex
Thu Sep 25, 2025 5:29 pm
Forum: ChibiOS/HAL
Topic: WSPI driver hangs in wspiCommand with wspip->thread NULL on STM32H743
Replies: 8
Views: 9157

Re: WSPI driver hangs in wspiCommand with wspip->thread NULL on STM32H743

Hello!
I continue my unsuccessful attempts to run littlefs/wspi on QUADSPI Flash W25Q128JV. The problems I described in my two previous messages are now absent. I am using the latest version of ChibiOS from GitHub, commit from September 24, 2025. I also switched from the STM32H743 processor to the ...
by Alex
Sun Sep 21, 2025 5:44 pm
Forum: ChibiOS/HAL
Topic: WSPI driver hangs in wspiCommand with wspip->thread NULL on STM32H743
Replies: 8
Views: 9157

Re: WSPI driver hangs in wspiCommand with wspip->thread NULL on STM32H743

I'm using ChibiOS 21.11.x 2024,
but hal/lib/complex from last version Chibios (commit 9dd2b400e7ec5532ac598cc4de1077a1d695ab7b (HEAD -> master, origin/master, origin/HEAD)

Additionally, the project fails to run properly with the latest ChibiOS version. The issue is in the ChibiOS-RT kernel ...
by Alex
Sun Sep 21, 2025 4:47 pm
Forum: ChibiOS/HAL
Topic: WSPI driver hangs in wspiCommand with wspip->thread NULL on STM32H743
Replies: 8
Views: 9157

Re: WSPI driver hangs in wspiCommand with wspip->thread NULL on STM32H743

Hi,
I'm using ChibiOS on STM32H743 with QUADSPI in Quad SPI mode (XSNOR_BUS_MODE_WSPI_4LINES, N25Q/4Wire config adapted for MX25L12835F and W25Q128JV, dummy cycles = 8, prescaler = 15 for 12.5 MHz from PLL2_R_CK at 25 MHz, HSE = 8 MHz, PLL2: DIVM=4, DIVN=400, FRACN=0, DIVR=32).

JEDEC ID (0x9F ...
by Alex
Fri Sep 19, 2025 6:59 pm
Forum: ChibiOS/HAL
Topic: WSPI driver hangs in wspiCommand with wspip->thread NULL on STM32H743
Replies: 8
Views: 9157

WSPI driver hangs in wspiCommand with wspip->thread NULL on STM32H743

Hi,
I'm using ChibiOS on STM32H743 with the WSPI driver. In wspiCommand (hal_wspi.c), execution hangs at msg = osalThreadSuspendS(&wspip->thread) because wspip->thread is NULL. The driver is initialized with wspiStart(&WSPID1, &wspi_config), end_cb is NULL. What could cause wspip->thread to remain ...
by Alex
Tue Apr 27, 2021 6:25 am
Forum: Bug Reports
Topic: STM32L052 ADC driver prescaler always > 1
Replies: 5
Views: 7460

Re: STM32L052 ADC driver prescaler always > 1

if STM32_ADC_PRESCALER_VALUE < 2
#error "Invalid value assigned to STM32_ADC_PRESCALER_VALUE"
by Alex
Tue Apr 27, 2021 5:04 am
Forum: Bug Reports
Topic: STM32L052 ADC driver prescaler always > 1
Replies: 5
Views: 7460

STM32L052 ADC driver prescaler always > 1

STM32L052 ChibiOS 20.3.3 The ADC driver does not allow setting the prescaler value to 1 (ADC_CCR_PRESC = 0). This is correct?
by Alex
Wed Mar 24, 2021 10:16 am
Forum: Bug Reports
Topic: STM32L052 DAC Driver
Replies: 2
Views: 5915

STM32L052 DAC Driver

STM32L052xx
STM32_HAS_DAC1_CH1 FALSE

This is correct?
by Alex
Thu Mar 26, 2020 7:58 am
Forum: STM32 Support
Topic: RT-STM32F401RE-NUCLEO64 demo project build errors
Replies: 3
Views: 3145

Re: RT-STM32F401RE-NUCLEO64 demo project build errors

Hi,

There is no support for those timers in the F4 HAL yet.

The platforms with support for all timers are so far: L0, L4, L4+, F7, H7, G0, G4.

Giovanni

Thank you for your help. But there is another problem in the same demo project. Calling the chHeapAlloc(0, int n) function generates a ...
by Alex
Wed Mar 25, 2020 6:40 am
Forum: STM32 Support
Topic: RT-STM32F401RE-NUCLEO64 demo project build errors
Replies: 3
Views: 3145

RT-STM32F401RE-NUCLEO64 demo project build errors

Tried to use GPTD9 and GPTD11 in the RT-STM32F401RE-NUCLEO64 demo project from ChibiOs 20.3.0. Building the project gives errors "TIM9 ISR not defined by platform" and "TIM11 ISR not defined by platform"
by Alex
Wed Sep 20, 2017 9:24 am
Forum: ChibiOS/HAL
Topic: gptcallback_t as non-static method of class
Replies: 0
Views: 2915

gptcallback_t as non-static method of class

How to use spicallback_t and gptcallback_t as non-static method of class?

private&#58;
gptcnt_t interval;
void gpt_cb(GPTDriver *gptp);
void spi_cb(SPIDriver *spip);
SPIConfig spi_cfg = {spi_cb, 0, 4, SPI_CR1_BR_0 | SPI_CR1_BR_1 };
GPTConfig gpt_cfg = {1000000, gpt_cb, 0, 0};

in my case ...