nrf21540 SPI communication voltage level problem

Hi

I connected the nRF21540 to a nRF52840 like in the application notes.

Here is the schematic:

I implemented the driver and now I try to communicate over the SPI with the nRF21540.

First, I try to read the Partnumber. When I set the power dowen off, the SPI signals are ok, but of course I have no feedback from the MISO.

yellow is the SP I Clock, green is MISO, orange is MOSI, lila is ChipSelect

Signals ok:

As soon as I set PowerDown = ON = nRF21540 enabled, the second SPI MOSI pulse is there, but really low (nRF21540 pulls down the level!)

What is the reason of this and how this can be solved?

Reagrds

Parents Reply
  • ok, and to set the nrf21540 in PG mode, I have to send over SPI

    Write Enable to field UICR_EN in register CONFREG1 to enable UICR Program state. -> 0xC1 0x04

    Write Enter to field KEY in register CONFREG1 to enter UICR Program state. -> 0xC1 0xF4

    Read the PartNumber -> 0x94 0x00

    -> still no Feedback on the MISO line!

    Whats wrong? There are only some commands, It can't be so difficult to read out the PartNumber. Can you please tell me what is missing in the communication codes or which PIN is special to drive or anything else?

Children
Related