Search found 403 matches

by FXCoder
Thu Feb 19, 2026 1:37 pm
Forum: Bug Reports
Topic: Small correction in xshell.c
Replies: 1
Views: 5275

Re: Small correction in xshell.c

Fixed in trunk.
by FXCoder
Thu Feb 19, 2026 1:34 pm
Forum: Bug Reports
Topic: XSHELL - hook function upon character reception
Replies: 1
Views: 8081

Re: XSHELL - hook function upon character reception

Hi Wolf,
The hook has been added in trunk.
The function gets the instance pointer and the character.

Code: Select all

    XSHELL_INPUT_CHAR_HOOK(xshp, c);


--
Bob
by FXCoder
Sat Feb 07, 2026 12:44 am
Forum: STM32 Support
Topic: STM32H7 Silicon errata for SPI peripheral
Replies: 6
Views: 3562

Re: STM32H7 Silicon errata for SPI peripheral

Hi,
The errata states that issue occurs only after a simplex SPI transmission.
ChibiOS SPIv3 driver uses duplex for send and receive with DMA (the receive side acts to terminate a send transaction).
For polled a simple direct write of transmit register is followed by waiting on receive.

So it seems ...
by FXCoder
Thu Feb 05, 2026 12:25 pm
Forum: Bug Reports
Topic: SIO spurious IRQs on STM32 USARTv3 when no callbacks/events enabled
Replies: 10
Views: 6485

Re: SIO spurious IRQs on STM32 USARTv3 when no callbacks/events enabled

Hi,
That special NONEMPTY pseudo value is for MCUs with large FIFO (e.g. H7).
One eighth of an H7 USART FiFO is 2 characters so in a use case with char by char input (like shell console) there is no input on each keystroke if a FIFO threshold is used.
The line idle takes care of re-enabling the ...
by FXCoder
Sun Oct 12, 2025 7:58 am
Forum: ChibiOS/HAL
Topic: WSPI driver hangs in wspiCommand with wspip->thread NULL on STM32H743
Replies: 8
Views: 10190

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

Hi Alex,
I have a prototype NUCLEO H753 board with 2 x Winbond W25Q512JV parts attached.
One is normal SPI connected the other is QSPI connected.
Both Winbond chips are on breakout boards with 10cm Dupont leads back to Nucleo.
This is not ideal of course and to make this work I put snubbers (47R ...
by FXCoder
Sun Jun 08, 2025 3:04 am
Forum: STM32 Support
Topic: STM32F4 + ChibiOS UART Receive Using DMA – Best Practice?
Replies: 3
Views: 15640

Re: STM32F4 + ChibiOS UART Receive Using DMA – Best Practice?

In The F4 series you also have DMA double buffer mode.
See Ref Manual 10.3.9 Double buffer mode .

So making use of this with the two DMA buffers allows processing (or copy out) of one DMA buffer while another packet is incoming on the other buffer. Not unlike what you would do with circular but ...
by FXCoder
Sun Jun 01, 2025 3:12 pm
Forum: Bug Reports
Topic: stm32f1xx has no MCR register in DAC
Replies: 3
Views: 31011

Re: stm32f1xx has no MCR register in DAC

Fixed in trunk and 21.11.4
by FXCoder
Sat May 10, 2025 6:40 am
Forum: ChibiOS/HAL
Topic: DFU mode HSE is not oscillating
Replies: 6
Views: 20381

Re: DFU mode HSE is not oscillating

FYI #define BOARD_OTG_NOVBUSSENS has no effect on the internal STM32 boot loader (only on the ChibiOS driver).

AN2606 provides details on the internal STM32 boot loader.
See m
I expect from a quick look at AN2606 that you will need to have the VBUS pin connected for the STM32 boot loader to detect ...
by FXCoder
Tue Mar 18, 2025 2:16 am
Forum: Bug Reports
Topic: Cache-related problem in some STM32 HAL drivers
Replies: 4
Views: 16824

Re: Cache-related problem in some STM32 HAL drivers

Addressed the SPI dummy variables as well by allowing the entire driver structure to be located in non-cache.
Drivers now have this for allocation...

/** @brief SPI1 driver identifier.*/
#if STM32_SPI_USE_SPI1 || defined(__DOXYGEN__)
SPI_SPID1_MEMORY SPIDriver SPID1;
#endif

So just define ...
by FXCoder
Mon Feb 24, 2025 1:44 pm
Forum: Bug Reports
Topic: STM32G071 ADC calibration issue?
Replies: 20
Views: 79647

Re: STM32G071 ADC calibration issue?

It can be closed now.