Can't seem to send more than 3 bytes from the NRF24L01+ TX to RX module
for (int i=0; i&lt;len; i++) {
        send_command(nrf, CMD_W_PAYLOAD, data[i], len); // populate the TX fifo with data
    }

It seems Tx FIFO is accessed beyond boundaries causing undefined behavior.