Just an update for anyone interested. My issue looks like it is related to the STM32F7 errata 2.4.1:
"A data is read in the instant when the FIFO buffer gets full at the end of a read transfer, an extra data is unduly written in the FIFO buffer"
I initially wrote this off as I'm not hitting all the ...
Search found 20 matches
- Fri Feb 13, 2026 2:28 am
- Forum: General Support
- Topic: error_cb design patterns when using WAIT
- Replies: 6
- Views: 6338
- Tue Feb 10, 2026 10:43 pm
- Forum: General Support
- Topic: error_cb design patterns when using WAIT
- Replies: 6
- Views: 6338
Re: error_cb design patterns when using WAIT
Hey Giovanni,
Yeah, ok I think I have a bit of tunnel-vision on my issue I'm trying to track down. I appreciate the reality check.
Thanks again.
You need to understand what is the cause triggering it.
Yeah, ok I think I have a bit of tunnel-vision on my issue I'm trying to track down. I appreciate the reality check.
Thanks again.
- Mon Feb 09, 2026 11:23 pm
- Forum: General Support
- Topic: error_cb design patterns when using WAIT
- Replies: 6
- Views: 6338
Re: error_cb design patterns when using WAIT
Hi Giovanni,
Thanks for your reply. I'm actually not 100% sure my issue is due to TEF - it is just a hypothesis at the moment and I'm still in the process of getting to the bottom of it. It can take hours before the problem pops up.
I suppose I was more interested how you intended error_cb etc to ...
Thanks for your reply. I'm actually not 100% sure my issue is due to TEF - it is just a hypothesis at the moment and I'm still in the process of getting to the bottom of it. It can take hours before the problem pops up.
I suppose I was more interested how you intended error_cb etc to ...
- Mon Feb 09, 2026 7:52 am
- Forum: General Support
- Topic: error_cb design patterns when using WAIT
- Replies: 6
- Views: 6338
error_cb design patterns when using WAIT
Hiya,
I'm interested in some advice on intended design patterns for error_cb.
I'm in the process of tracking down an issue with QSPI on STM32F7. I'm using wspiSend and wspiReceive with WSPI_USE_WAIT = TRUE.
I have a thread that makes periodic calls to wspiSend and (very occasionally) that thread ...
I'm interested in some advice on intended design patterns for error_cb.
I'm in the process of tracking down an issue with QSPI on STM32F7. I'm using wspiSend and wspiReceive with WSPI_USE_WAIT = TRUE.
I have a thread that makes periodic calls to wspiSend and (very occasionally) that thread ...
- Thu Nov 06, 2025 11:20 pm
- Forum: STM32 Support
- Topic: STM32F410 uart DMA and lost break/frame error interrupt
- Replies: 6
- Views: 6325
Re: STM32F410 uart DMA and lost break/frame error interrupt
Hi Giovanni,
I did not have any success with LIN, nor did I have success with uart interrupts servicing break (or idle) flags in the conditions I previously spoke about.
I think I've found a solution - I'm not using uart TC anymore. I'm using DMA TC to send a break. Reference manual says that when ...
I did not have any success with LIN, nor did I have success with uart interrupts servicing break (or idle) flags in the conditions I previously spoke about.
I think I've found a solution - I'm not using uart TC anymore. I'm using DMA TC to send a break. Reference manual says that when ...
- Wed Nov 05, 2025 7:10 am
- Forum: STM32 Support
- Topic: STM32F410 uart DMA and lost break/frame error interrupt
- Replies: 6
- Views: 6325
Re: STM32F410 uart DMA and lost break/frame error interrupt
Hey,
My understanding is that LIN expects break at the start of the frame, followed by sync.
The datasheet mentions that "as soon as a framing error occurs, the receiver stops until the break detection circuit receives a 1, if the break word was not complete, or a delimiter character if a break has ...
My understanding is that LIN expects break at the start of the frame, followed by sync.
The datasheet mentions that "as soon as a framing error occurs, the receiver stops until the break detection circuit receives a 1, if the break word was not complete, or a delimiter character if a break has ...
- Tue Nov 04, 2025 10:58 pm
- Forum: STM32 Support
- Topic: STM32F410 uart DMA and lost break/frame error interrupt
- Replies: 6
- Views: 6325
Re: STM32F410 uart DMA and lost break/frame error interrupt
Hey Giovanni,
Yeah stm32f410 does have break detection, but it seems it only really works with LIN mode enabled. It also seems the expectation then is that break would signal start of frame, rather than end of frame or data has arrived.
Also it looks like one of my oscilloscope shots didn't make it ...
Yeah stm32f410 does have break detection, but it seems it only really works with LIN mode enabled. It also seems the expectation then is that break would signal start of frame, rather than end of frame or data has arrived.
Also it looks like one of my oscilloscope shots didn't make it ...
- Tue Nov 04, 2025 10:22 am
- Forum: STM32 Support
- Topic: STM32F410 uart DMA and lost break/frame error interrupt
- Replies: 6
- Views: 6325
STM32F410 uart DMA and lost break/frame error interrupt
Hi all,
Im using STM32F410 uart 1 to transmit and receive.
I use DMA to transmit bytes. I then use TC interrupt to send a break,
then push an event to an event queue to signal that the transmitter is free.
void interface_uart_tx_eot_isr(if_uart_t* p) {
if (p->tx_last_in_chunk) {
// Transmit ...
Im using STM32F410 uart 1 to transmit and receive.
I use DMA to transmit bytes. I then use TC interrupt to send a break,
then push an event to an event queue to signal that the transmitter is free.
void interface_uart_tx_eot_isr(if_uart_t* p) {
if (p->tx_last_in_chunk) {
// Transmit ...
- Thu Oct 03, 2024 2:24 am
- Forum: ChibiOS/RT
- Topic: New event behaviour while busy
- Replies: 14
- Views: 47410
Re: New event behaviour while busy
Thanks Bob - that is very helpful!
- Wed Oct 02, 2024 7:23 am
- Forum: ChibiOS/RT
- Topic: New event behaviour while busy
- Replies: 14
- Views: 47410
Re: New event behaviour while busy
Hey Bob,
Thanks for that. I'm not quiet understanding your approach just yet, but I'll have a read and experiment and see how I get on.
Thanks for that. I'm not quiet understanding your approach just yet, but I'll have a read and experiment and see how I get on.