summaryrefslogtreecommitdiff
path: root/board/nautilus/battery.c
diff options
context:
space:
mode:
authorWei-Han Chen <stimim@google.com>2018-01-08 16:51:26 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-01-25 00:15:48 -0800
commit9a7e82bac8f8fbfa10e0e2a1f1ea33fb1d6b75cc (patch)
tree0834587dfa4a95ed38fed2974b470beaa862ca5b /board/nautilus/battery.c
parente68469b5242b9b95ea5de45c965825da35b7eaab (diff)
downloadchrome-ec-9a7e82bac8f8fbfa10e0e2a1f1ea33fb1d6b75cc.tar.gz
stm32: make half-duplex SPI works on STM32F0
According to RM0091, steps for using DMA for SPI peripheral should be: 1. enable DMA RX / TX 2. enable SPI 3. wait for DMA to complete 4. disable DMA RX / TX 5. disable SPI BUG=b:70482333 TEST=tested on reworked staff (half-duplex) TEST=tested elm (full-duplex) Change-Id: I095409195cd1e0379995f0bfa6605c2e1a0dfd3c Reviewed-on: https://chromium-review.googlesource.com/853715 Commit-Ready: Wei-Han Chen <stimim@chromium.org> Tested-by: Wei-Han Chen <stimim@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'board/nautilus/battery.c')
0 files changed, 0 insertions, 0 deletions