This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf2401+ replacement with NRF52832 via SPI

I have an arduino mega based design working with nrf24L01+ via SPI. As certification is the next step, I found a NRF52832 based module that would meet all certification requirements. Is it possible to just drop that module in and talk to it via SPI so that my codebase can largely remain the same? I know that the NRF52 is much more powerful, but we I have lots of peripherals and libraries that use those on the mega, so simply switching is not going to work because of these external components. I know it's overkill to "degrade" the nrf52 to work that way, but it is much cheaper to use that off-the-shelf module than to go for unique certification instead.

Andrew

  • No you can't do that. The nRF52 doesn't support the serial protocol the old modules use at all. They contain their own MCUs and are designed to be programmed instead of driven.

    You could write that protocol yourself if you wanted, have the nRF52 emulate the nrf24, if you're only using a subset of the commands that may not even be particularly hard. You'd still need to learn to code the nRF52 however and set it up as an SPI slave.

Related