Other Parts Discussed in Thread: ENERGIA, PGA460
Hello
I have encountered an unclear documentation of the behaviour at the Ultrasonic results command (5).
According to the PGA460-Q1 latest data sheet this is a response command with no data sent to PAGA460.
This implies that only sync byte and command byte needs to be transferred to get the Ultrasonic measurement results.
In the Energia example there is in addition a checksum transmitted.
Line 1039; byte buf5[3] = {syncByte, UMR, calcChecksum(UMR)};
What is correct?
I tried both and got an RX response already after the command. So I would expect checksum is not necessary?
What I am wondering in addition is the fact is that I get no checksum results (always 0x00) in last byte from the PGA460 in the MISO line.
This is the case w and w/o checksum in TX at the receiver transfer (14 byte for 3 objects but also for other number of objects)
In Energia no RX checksum is analyzed.
Is this a correct behaviour?
Where is this documented?
BR
Oliver

