Mercurial > public > ostc4
changeset 140:f6c52eb0e25d FlipDisplay
Increase prescalar => frame takes about 4ms.
author | Ideenmodellierer |
---|---|
date | Thu, 28 Feb 2019 19:03:29 +0100 |
parents | decb0461302a |
children | 30d855ea60d8 |
files | Discovery/Src/ostc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Discovery/Src/ostc.c Thu Feb 28 19:02:34 2019 +0100 +++ b/Discovery/Src/ostc.c Thu Feb 28 19:03:29 2019 +0100 @@ -81,7 +81,7 @@ cpu2DmaSpi.Init.CLKPolarity = SPI_POLARITY_LOW; cpu2DmaSpi.Init.CLKPhase = SPI_PHASE_1EDGE; cpu2DmaSpi.Init.NSS = SPI_NSS_SOFT;//SPI_NSS_HARD_OUTPUT;//SPI_NSS_SOFT; - cpu2DmaSpi.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_8; + cpu2DmaSpi.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_128; cpu2DmaSpi.Init.FirstBit = SPI_FIRSTBIT_MSB; cpu2DmaSpi.Init.TIMode = SPI_TIMODE_DISABLED; cpu2DmaSpi.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLED;