
GR716-DS-UM, May 2019, Version 1.29
227
www.cobham.com/gaisler
GR716
All bits are cleared to 0 at reset.
Valid SIZE values are between 0 and 16384.
Note that each message occupies four 32-bit words.
Note that the resulting behavior of invalid SIZE values is undefined.
Note that only (SIZE*4)-1 messages can be stored simultaneously in the buffer. This is to simplify
wrap-around condition checking.
25.8.15 Receive Channel Write Register [CanRxWR] R/W
Table 249.
Receive Channel Write Register
19-4:
WRITE
Pointer to last written m1
All bits are cleared to 0 at reset.
The field is implemented as relative to the buffer base address (scaled with the SIZE field).
The WRITE field is written to automatically when a transfer has been completed successfully, indicat-
ing the po1 of the last message received.
Note that the WRITE field can be use to read out the progress of a transfer.
Note that the WRITE field can be written to in order to set up the starting point of a transfer. This
should only be done while the receive channel is not enabled.
25.8.16 Receive Channel Read Register [CanRxRD] R/W
Table 250.
Receive Channel Read Register
19-4:
READ
Pointer to last read m1
All bits are cleared to 0 at reset.
The field is implemented as relative to the buffer base address (scaled with the SIZE field).
The READ field is written to in order to release the receive buffer, indicating the po1 of the
last message that has been read out.
Note that it is not possible to fill the buffer. There is always one message position in buffer unused.
Software is responsible for not over-reading the buffer on wrap around (i.e. setting WRITE=READ).
25.8.17 Receive Channel Interrupt Register [CanRxIRQ] R/W
Table 251.
Receive Channel Interrupt Register
19-4:
IRQ
Interrupt is generated when CanRxWR.WRITE=IRQ, as a consequence of a message reception
All bits are cleared to 0 at reset.
31
20
19
4
3
0
WRITE
31
20
19
4
3
0
READ
31
20
19
4
3
0
IRQ