Files
OpenCellular/chip/stm32
Wei-Han Chen 9a7e82bac8 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>
2018-01-25 00:15:48 -08:00
..
2018-01-08 17:22:48 -08:00
2014-10-07 20:58:52 +00:00
2018-01-08 05:41:23 -08:00
2018-01-08 05:41:23 -08:00
2017-07-28 17:45:13 -07:00
2018-01-08 05:41:23 -08:00
2016-04-25 16:49:02 -07:00
2015-06-18 19:07:00 +00:00
2018-01-08 05:41:23 -08:00
2017-04-26 11:25:57 -07:00
2018-01-08 05:41:23 -08:00
2018-01-08 05:41:23 -08:00
2018-01-08 05:41:23 -08:00
2014-10-07 20:58:52 +00:00
2017-07-28 17:45:13 -07:00
2018-01-12 14:31:07 -08:00
2016-04-25 16:49:01 -07:00
2018-01-08 05:41:23 -08:00
2017-02-23 11:36:21 -08:00
2018-01-08 05:41:23 -08:00
2015-08-24 19:08:35 +00:00
2015-08-24 19:08:30 +00:00
2015-08-24 19:08:30 +00:00
2015-08-24 19:08:30 +00:00
2015-08-24 19:08:30 +00:00
2015-08-24 19:08:30 +00:00
2016-09-02 21:17:22 -07:00
2017-12-18 20:32:58 -08:00