| Electronic Components Datasheet Search |
|
NRF9160-SICA-R7 Datasheet(PDF) 244 Page - Nordic Semiconductor |
|
|
|||||||||||||||||||||||||||||
NRF9160-SICA-R7 Datasheet(HTML) 244 Page - Nordic Semiconductor |
|
244 / 400 page ![]() Peripherals 6.14.5 Pin configuration The CSN, SCK, MOSI, and MISO signals associated with the SPI slave are mapped to physical pins according to the configuration specified in the PSEL.CSN, PSEL.SCK, PSEL.MOSI, and PSEL.MISO registers respectively. If the CONNECT field of any of these registers is set to Disconnected, the associated SPI slave signal will not be connected to any physical pins. The PSEL.CSN, PSEL.SCK, PSEL.MOSI, and PSEL.MISO registers and their configurations are only used as long as the SPI slave is enabled, and retained only as long as the device is in System ON mode, see POWER — Power control on page 64 chapter for more information about power modes. When the peripheral is disabled, the pins will behave as regular GPIOs, and use the configuration in their respective OUT bit field and PIN_CNF[n] register. PSEL.CSN, PSEL.SCK, PSEL.MOSI, and PSEL.MISO must only be configured when the SPI slave is disabled. To secure correct behavior in the SPI slave, the pins used by the SPI slave must be configured in the GPIO peripheral as described in GPIO configuration before enabling peripheral on page 244 before enabling the SPI slave. This is to secure that the pins used by the SPI slave are driven correctly if the SPI slave itself is temporarily disabled, or if the device temporarily enters System OFF. This configuration must be retained in the GPIO for the selected I/Os as long as the SPI slave is to be recognized by an external SPI master. The MISO line is set in high impedance as long as the SPI slave is not selected with CSN. 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 signal SPI pin Direction Output value Comment CSN As specified in PSEL.CSN Input Not applicable SCK As specified in PSEL.SCK Input Not applicable MOSI As specified in PSEL.MOSI Input Not applicable MISO As specified in PSEL.MISO Input Not applicable Emulates that the SPI slave is not selected. Table 77: GPIO configuration before enabling peripheral 6.14.6 Registers Base address Peripheral Instance Secure mapping DMA security Description Configuration 0x50008000 0x40008000 SPIS SPIS0 : S SPIS0 : NS US SA SPI slave 0 0x50009000 0x40009000 SPIS SPIS1 : S SPIS1 : NS US SA SPI slave 1 0x5000A000 0x4000A000 SPIS SPIS2 : S SPIS2 : NS US SA SPI slave 2 0x5000B000 0x4000B000 SPIS SPIS3 : S SPIS3 : NS US SA SPI slave 3 Table 78: Instances Register Offset Security Description TASKS_ACQUIRE 0x024 Acquire SPI semaphore TASKS_RELEASE 0x028 Release SPI semaphore, enabling the SPI slave to acquire it SUBSCRIBE_ACQUIRE 0x0A4 Subscribe configuration for task ACQUIRE SUBSCRIBE_RELEASE 0x0A8 Subscribe configuration for task RELEASE EVENTS_END 0x104 Granted transaction completed EVENTS_ENDRX 0x110 End of RXD buffer reached EVENTS_ACQUIRED 0x128 Semaphore acquired 4418_1315 v2.0 244 |
|
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 |
| 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 |