Hello,
As I am using max30003 ECG with nrf52840 Using NRFX_SPIM example code( SDK15.2-PCA100056 ), I have developed drivers and I am able to read device id through my driver successfully. I have also done reading and writing on all registers except ECG_FIFO.
I have referred MAX 30003 ECG driver which is given by MAXIM.
in Nrfx_spim coding, I have changed spi_config.orc from 0xFF to 0x00 to avoid overrun error.
but I unable to get data in my Receiver buffer.
kindly compare the MAXIM Drivers and NRF_SPIM codes below and help me find the error I am trying my best since past 2 months but unable to find the error it will be great if we are able to do this together and the project will be successfully finished since this is the only part of code remaining.
NRF CODE:
In Reg_READ Function:
if I Change from xfer_desc.rx_length = 3; to xfer_desc.rx_length = 4;
Then i got some data in Receiver Buffer.
Let Me know This changes is correct or not?
NOTE: PLEASE MAKE IT PRIVATE THREAD
Thanks and Regards,
Rohit
MAXIM Drivers