Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

NRF52820-QDAA-R Datasheet(PDF) 244 Page - Nordic Semiconductor

Part # NRF52820-QDAA-R
Description  nRF52820
PDF  437 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NORDIC [Nordic Semiconductor]
Direct Link  https://www.nordicsemi.com/
Logo NORDIC - Nordic Semiconductor

NRF52820-QDAA-R Datasheet(HTML) 244 Page - Nordic Semiconductor

Back Button NRF52820-QDAA-R Datasheet HTML 240Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 241Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 242Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 243Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 244Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 245Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 246Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 247Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 248Page - Nordic Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 244 / 437 page
background image
Peripherals
Mode
Clock polarity
Clock phase
CPOL
CPHA
SPI_MODE0
0 (Leading)
0 (Active high)
SPI_MODE1
0 (Leading)
1 (Active low)
SPI_MODE2
1 (Trailing)
0 (Active high)
SPI_MODE3
1 (Trailing)
1 (Active low)
Table 71: SPI modes
6.15.1.1 SPI master mode pin configuration
The different signals SCK, MOSI, and MISO associated with the SPI master are mapped to physical pins.
This mapping is according to the configuration specified in the PSEL.SCK, PSEL.MOSI, and PSEL.MISO
registers respectively. If the CONNECT field of a PSEL.xxx register is set to Disconnected, the associated SPI
master signal is not connected to any physical pin. The PSEL.SCK, PSEL.MOSI, and PSEL.MISO registers and
their configurations are only used as long as the SPI master is enabled, and retained only as long as the
device is in ON mode. PSEL.SCK, PSEL.MOSI, and PSEL.MISO must only be configured when the SPI master
is disabled.
To secure correct behavior in the SPI, the pins used by the SPI must be configured in the GPIO peripheral
as described in GPIO configuration on page 244 prior to enabling the SPI. The SCK must always be
connected to a pin, and that pin's input buffer must always be connected for the SPI to work. This
configuration must be retained in the GPIO for the selected I/Os as long as the SPI is enabled.
Only one peripheral can be assigned to drive a particular GPIO pin at a time. Failing to do so may result in
unpredictable behavior.
SPI master signal
SPI master pin
Direction
Output value
SCK
As specified in PSEL.SCK
Output
Same as CONFIG.CPOL
MOSI
As specified in PSEL.MOSI
Output
0
MISO
As specified in PSEL.MISO
Input
Not applicable
Table 72: GPIO configuration
6.15.1.2 Shared resources
The SPI shares registers and other resources with other peripherals that have the same ID as the SPI.
Therefore, the user must disable all peripherals that have the same ID as the SPI before the SPI can be
configured and used.
Disabling a peripheral that has the same ID as the SPI will not reset any of the registers that are shared
with the SPI. It is therefore important to configure all relevant SPI registers explicitly to secure that it
operates correctly.
See the Instantiation table in Instantiation on page 18 for details on peripherals and their IDs.
6.15.1.3 SPI master transaction sequence
An SPI master transaction is started by writing the first byte, which is to be transmitted by the SPI master,
to the TXD register.
Since the transmitter is double buffered, the second byte can be written to the TXD register immediately
after the first one. The SPI master will then send these bytes in the order they are written to the TXD
register.
The SPI master is a synchronous interface, and for every byte that is sent, a different byte will be received
at the same time. This is illustrated in SPI master transaction on page 245. Bytes that are received will
be moved to the RXD register where the CPU can extract them by reading the register. The RXD register is
double buffered in the same way as the TXD register, and a second byte can therefore be received at the
4463_156 v1.0
244



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com