User manual

46 P/N 54A0028-2 012017© 2017 LeddarTech Inc. Printed in Canada. All rights reserved.
Transaction configuration
Table 22: Transaction configuration bank
Offset
length
Type
Description
0
1
uint8_t
Secure-transaction enabled flags:
1 = Enables the CRC calculation and validation on any
transaction. This flag is enabled by default.
0 = No CRC validation. The CRC field is still required in
SPI protocol but can be set to any value.
1
1
uint8_t
Transaction modes:
0 = Free run. The READY pin is asserted on each ready
detection frame. The host must be able to read data on
time.
1 = Blocking read. On the READY pin assertion, host
must read all data from traces or detections bank (data
transaction control source configuration) to continue
acquisition.
2 = Partial blocking read. On the READY pin assertion,
host can read all data from traces of the detection bank
and the acquisition is still running. Possible loss of
detection frames if the host reading data is very long.
2
2
uint16_t
CRC of the last transaction
4
2
uint16_t
Bit-field information of last transactions:
All bits to 0: No transaction error
Bit-0: Access right violation
Bit-1: Invalid address
Bit-2: Command not found
Bit-3: Write disabled
Bit-4: CRC failed
Bit-5: Command execution error
Bit-6: Invalid packet
6
1
uint8_t
Data transaction control source:
0 = On trace
1 = On detections
This register determines which data type will control the