2019-06-17 08:06 AM
Hi everyone,
(I am using TrueStudio/St-LinkV2)
I am using the S2LP on a custom board. Everything worked fine (basic transmission, STack packet) until I wanted to use the auto-acknowledgment feature.
Following the procedure (DS, 8.1), I have enabled AUTO-ACK on RX side and enabled ACK request (NACK bit = '0') on TX side.
Here are the results :
Am I missing something? Does someone have any idea how to debug this?
Thanks in advance,
Tristan
2019-06-26 06:47 AM
Almost resolved : now I can get the ack at each transmission, but to get this, I have to re-transmit the message four times (it is always four re-transmissions), by enabling RE_TX option. What I do not understand is, why we need these 4 re-TX to receive an ack on TX side?
Moreover, on RX side, the same message is received four times. I am deeply convinced that we can get an acknowledgment as soon as we transmit the message on first time.
Monitoring DC current consumption on RX side using a digit multimeter, I can see four spikes (ack) on the graph, so now I am sure that the problem is on TX side...
Does someone have any hint?
Tristan