summaryrefslogtreecommitdiffstats
path: root/bsps/arm/atsam/spi (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps/arm/: Scripted embedded brains header file clean upJoel Sherrill2022-03-102-12/+0
| | | | Updates #4625.
* arm/atsam: Make interrupt server configurableSebastian Huber2020-08-051-16/+11
| | | | | | | | | | | | | The external UART over SPI device SC16IS752 uses the interrupt server for interrupt processing. The interrupt server is also heavily used by libbsd. The interrupt processing for the SC16IS752 is time critical and doesn't work if network traffic is processed at the same priority. With #4033 custom interrupt servers are available. Change atsam_sc16is752_spi_create() to support user-defined interrupt servers. Introduced atsam_sc16is752_spi_config to cut down the argument count of this function. Close #4039.
* bsp/atsam: Use PIO for SC16IS752.Christian Mauderer2019-10-231-21/+23
| | | | This allows to mix SC16IS752 chips with other interrupts.
* bsp/atsam: Fix SPI driver DMA supportSebastian Huber2019-03-191-144/+154
|
* bsp/atsam: Fix use after freeSebastian Huber2019-03-111-2/+1
|
* bsp/atsam: Accept only 8/16 bits per wordSebastian Huber2019-03-061-5/+3
| | | | | | For proper 16 bits per word support we need probably some DMA adjustments. For 9 to 15 bits per word we need support for the variable peripheral select, see SR_MR[PS] register bit.
* bsp/atsam: Fix SPI CS change supportSebastian Huber2019-03-061-40/+12
| | | | | The previous approach contained a severe bug which disabled the SPI module in some cases leading to a blocked SPI bus.
* bsp/atsam: Change CS delay after transferSebastian Huber2019-03-061-17/+35
|
* bsp/atsam: Make SPI CS delays configurableSebastian Huber2019-03-061-5/+14
|
* bsp/atsam: Simplify SPI configurationSebastian Huber2019-03-061-37/+42
| | | | | Do not use SPID_Configure() since this will enable the peripheral each time and performs a software reset.
* bsp/atsam: Use binary semaphore for SPISebastian Huber2018-10-011-10/+7
| | | | Update #3534.
* bsp/atsam: Fix handling of slow SPI speeds.Christian Mauderer2018-08-091-1/+20
| | | | | This patch fixes an overflow in the frequency calculation of the SPI driver for slow SPI speeds.
* bsps: Move SPI drivers to bspsSebastian Huber2018-04-233-0/+809
This patch is a part of the BSP source reorganization. Update #3285.