14.6.4.6 Calculation of Start Address
Since the payload size of the FIFOs can be configured individually, the start address of an individual object depends on the configuration of all previous objects. The application can read back the start addresses of each message object to double-check whether they were correctly configured.
The TEF starts at the beginning of the message memory.
The TXQ starts after the Transmit Event FIFO.
The message FIFO object starts after the Transmit Queue.
If CxCON.STEF = 0
, then TEF does not
exist in RAM and Stef is zero. In this case, if TXQ is available, the TXQ starts at the
base address defined by CxFIFOBA.
If CxCON.TXQEN = 0
, then TXQ does not
exist in RAM and Stxq is zero.
The start of the nth FIFO can be calculated as follows: