Hi,
I'm using an nRF52840 and I need to implement a driver in c for an external chip. The c driver is written, and I only need to add specific functions regarding the SPI like a function for transmitting bytes and another function to receiving bytes. I tried using nrfx_spim_xfer with a transfer descriptor of NRFX_SPIM_XFER_TRX(NULL, 0, <receive buffer>, <receive buffer size>) for receiving bytes and NRFX_SPIM_XFER_TRX(trBuffer, trCount/8, NULL, 0) for transmitting byte, but it does not seem to work. The driver is suppose handle the protocol, and the functions are more low-level, unlike the usual use of nrfx_spim_xfer.
Is there a different function I should use? Any suggestions for what should I do?
Thanks

