Hi to all
I am using the eZ430-RF2480 SampleApp Firmware in order to fix it to my application. In particular I need to increase the throughput for continuous data transmission of ADC samples.
I saw that a bottleneck is due to halSlaveReset, which is put inside getSRDY1 function, used for rpc POLL command.
In particular it:
1) detects SRDY low
2) prepare POLL command buffer (cmd = 0x0000)
3) low MRDY
4) wait 10msecs
5) check SRDY: if high perform halSlaveReset, otherwise continue to perform the SPI POLL command
I debugged the program and sometimes I saw the code enters into halSlaveReset: it slows all.... I commented the step 5) and I had no problems during data transmission.
The question:
- how is possible that during POLL command (SRDY low and than MRDY high) the SRDY becomes high?
- which is the doc where is described the reset procedure and its reason?
- why network runs even if halSlaveReset is disabled?
Thanks a lot in advance for helping.