Skip to content

Commit e5f32ff

Browse files
committed
Add SPIM description to README.md
1 parent b72adbe commit e5f32ff

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

targets/TARGET_NORDIC/TARGET_NRF5x/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,24 @@ The tables must be placed in a C compilation file.
9090
1. If an instance is being used exclusively for either I2C or SPI, the objects can safely be called from multiple threads.
9191
1. If an instance is being used for both I2C and SPI, the user must provide thread safety between the objects.
9292

93+
#### SPIM
94+
Description below taken from nRF52840 datasheet.
95+
96+
*The SPI master can communicate with multiple SPI slaves using individual chip select signals for each slave.*
97+
98+
*Listed here are the main features for the SPIM*
99+
100+
- *EasyDMA direct transfer to/from RAM*
101+
- *SPI mode 0-3*
102+
- *Individual selection of I/O pins*
103+
- *Optional D/CX output line for distinguishing between command and data bytes*
104+
105+
SPIM Instance 3 can provide transfer speeds up to 32 Mhz.
106+
107+
##### Configuration
108+
Enabled in the *sdk_config.h* by setting the **NRFX_SPIM_ENABLED** macro
109+
110+
As SPI and SPIM use the same hardware you should disable the SPI configuration at the same time (**NRFX_SPI_ENABLED**)
93111

94112
### Serial
95113

0 commit comments

Comments
 (0)