nrf21540 interface to 528xx

Hello Support,
I'm looking for reference schematic for the interface between nrf52840 (or similar) and the nrf21540 . Is there a simpler version than the developer kit user guide version in 21540 section? Have to trace it all out and can easily miss something.

Also is there some documentation and examples on how to write to nrf528xx USB port (not the usb/jlink on eval board) so I can configure the nrf21540 gain and some other parameters using the spi interface of the nrf52840?


I should be able to do write to nrf528xx USB port and send it out on the SPI port, right?

Thanks!

Parents
  • Hello Kazi,

    I have seen the schematic in the link you provided.
    https://www.nordicsemi.com/Products/nRF21540/Downloads?lang=en#infotabs

    This only shows the nrf21540. It does not show a nrf528xx or another SoC connected.
    Can I assume the net names in schematic are correct for the nrf52840 and there are no other components on these nets needed on the nrf528xx side?

    In regards to SPI interface:
    Sorry, just to be a bit more clear.
    I assume that any real time control would be with done with GPIO such as for TX and RX etc. since fast switching is needed. So it would be "SPI and GPIO"
    However if I want to change gain parameter in real time is there a API command (BDB, or a specific "21540 command") for this I can send to the USB port of nrf52840 which would then be sent to SPI interface to nrf21540 to set gain?

    The links you sent to the other tickets are "private" which I can't see.

    Thanks,
    Jorgen

  • Hi Kazi,

    I just realize that the development kit nrf21540 DK is the nrf52840DK+nrf21540. This will make it easier to test out.
    (I was under impression that I had to plug in the nrf21540 EK to the nrf52840 DK.)

    Just to review questions:

    Again there is no actual schematic on 21540/52840 interface of the nrf21540DK in the user guide.

    1. Can you provide a schematic for this?

    I see some application examples for "light bulb" and "light switch" using 21540 and  82540 in Visual Studio Coder.
    2.Are all the drivers for TX and RX signals etc. to 21540 interface are available in the examples and SDK?

    3. Can I use K-config in VS to configure 21540 including gain parameter?
    4. Is the configuration for the 21540 being written through the 52840 SPI or ?
    5. Can I write the USB port of the 52840 chip to set the gain on 21540 (not using Jlink debugger) and how?

    Thanks again,
    Jorgen

Reply
  • Hi Kazi,

    I just realize that the development kit nrf21540 DK is the nrf52840DK+nrf21540. This will make it easier to test out.
    (I was under impression that I had to plug in the nrf21540 EK to the nrf52840 DK.)

    Just to review questions:

    Again there is no actual schematic on 21540/52840 interface of the nrf21540DK in the user guide.

    1. Can you provide a schematic for this?

    I see some application examples for "light bulb" and "light switch" using 21540 and  82540 in Visual Studio Coder.
    2.Are all the drivers for TX and RX signals etc. to 21540 interface are available in the examples and SDK?

    3. Can I use K-config in VS to configure 21540 including gain parameter?
    4. Is the configuration for the 21540 being written through the 52840 SPI or ?
    5. Can I write the USB port of the 52840 chip to set the gain on 21540 (not using Jlink debugger) and how?

    Thanks again,
    Jorgen

Children
No Data
Related