-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
area: SPISPI busSPI busbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: STM32ST Micro STM32ST Micro STM32priority: lowLow impact/importance bugLow impact/importance bug
Description
Reported by Erwan Gouriou:
tests/drivers/spi/spi_loopback fails on nucleo_f334r8.
bus error: (irq & poll)
Faulting instruction address: 0x8001f0e (drivers/spi/spi_context.h:229)
Imprecise data bus error
Fatal fault in ISR! Spinning...
Following part of code is pointed:
drivers/spi/spi_context.h:
{code:java}
void spi_context_update_tx(struct spi_context *ctx, u8_t dfs)
{
if (!ctx->tx_len) {
return;
}
ctx->tx_len--;
if (!ctx->tx_len) {
ctx->current_tx++;
ctx->tx_count--;
{code}
Issue lies since introduction of SPI LL Based driver.
Not a regression since there was no SPI driver for STM32F3 based socs before that.
Issue remains with mbolivar rework of driver:
#832
(Imported from Jira ZEP-2419)
Metadata
Metadata
Assignees
Labels
area: SPISPI busSPI busbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: STM32ST Micro STM32ST Micro STM32priority: lowLow impact/importance bugLow impact/importance bug