nRF5340: Peripheral Compatibility and Deep Sleep Functionality

Hello all,

I need to verify that all my peripherals in the nRF5340 will work without issues:

  1. I am using 3 UARTs, one with hardware control (for LTE module and fingerprint sensor module).
  2. BLE serial with encryption.
  3. NFC.
  4. I2C interfaces. (3 peripherals).
  5. QSPI interface.

For deep sleep wake-up, I am using 5 wake-up pins + NFC.

Q1: Do I need to take care of anything specific regarding the mentioned peripherals?

Q2: For deep sleep wake-up, is it possible to determine which pin caused the wake-up?

Thank you.





Parents
  • Hi,

    Q1: Do I need to take care of anything specific regarding the mentioned peripherals?

    By deep sleep I assume you mean system OFF low power mode? Generally you should clean up, disable resourses, set GPIO pin states, etc before entering system off mode. But other than that, wakeup from system off is in form of a reset (see Wakeup from System OFF mode reset).

    Q2: For deep sleep wake-up, is it possible to determine which pin caused the wake-up?

    You can ceck the LATCH register to see which pin was asserted (see this post, which is also valid for nRF53).

    You have probably found it allready, but there is a sample for waking up from system off from GPIO and another for waking up on NFC:

  • Hi Einar,

    Thanks for the reply!

    Thank you for clarifying the deep sleep mode wake-up.

    I just need one more clarification regarding the peripheral pin mapping. I used the nRF5340 DK (PCA10095) schematics available online to map the required peripherals. Is this the correct approach, or are there other options available for pin mapping? How can I ensure that the pin mapping will not cause any issues during integration?

    Thank you.

Reply
  • Hi Einar,

    Thanks for the reply!

    Thank you for clarifying the deep sleep mode wake-up.

    I just need one more clarification regarding the peripheral pin mapping. I used the nRF5340 DK (PCA10095) schematics available online to map the required peripherals. Is this the correct approach, or are there other options available for pin mapping? How can I ensure that the pin mapping will not cause any issues during integration?

    Thank you.

Children
Related