Fixed bug 3608241.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5438 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2013-03-16 09:59:51 +00:00
parent 9f9d400604
commit 56a1ab369f
2 changed files with 3 additions and 2 deletions

View File

@ -293,7 +293,7 @@ void spi_lld_start(SPIDriver *spip) {
spip->spi->CR1 = 0; spip->spi->CR1 = 0;
spip->spi->CR1 = spip->config->cr1 | SPI_CR1_MSTR | SPI_CR1_SSM | spip->spi->CR1 = spip->config->cr1 | SPI_CR1_MSTR | SPI_CR1_SSM |
SPI_CR1_SSI; SPI_CR1_SSI;
spip->spi->CR2 = spip->config->cr2 | SPI_CR2_SSOE | spip->spi->CR2 = spip->config->cr2 | SPI_CR2_FRXTH | SPI_CR2_SSOE |
SPI_CR2_RXDMAEN | SPI_CR2_TXDMAEN; SPI_CR2_RXDMAEN | SPI_CR2_TXDMAEN;
spip->spi->CR1 |= SPI_CR1_SPE; spip->spi->CR1 |= SPI_CR1_SPE;
} }

View File

@ -86,7 +86,8 @@
***************************************************************************** *****************************************************************************
*** 2.5.2 *** *** 2.5.2 ***
- FIX: Fixed fixed I2C malfunction after fixing bug 3607518 (bug 3607549) - FIX: Fixed STM32 SPI (V2) driver hangs (bug 3608241).
- FIX: Fixed fixed I2C malfunction after fixing bug 3607518 (bug 3607549).
- FIX: Fixed spurious interrupt disabling an STM32 DMA stream (bug 3607518) - FIX: Fixed spurious interrupt disabling an STM32 DMA stream (bug 3607518)
(backported to 2.4.4). (backported to 2.4.4).
- FIX: Fixed start of any ADC disables VREF and VBAT (bug 3607467) - FIX: Fixed start of any ADC disables VREF and VBAT (bug 3607467)