hello there i want to interface adxl345 with nrf51822 using SPI interface i am new to spi. i am using spi master with spi slave example. i want to write 0x08 in 0x32 register then in function
spi_send_recv(m_tx_data, m_rx_data, TX_RX_BUF_LENGTH);
should i write
m_tx_data= {0x32,0x08}
what should i do?? if i want to read register 0x33??