STMicroelectronics SPC572L series Reference Manual page 1220

Table of Contents

Advertisement

Deserial Serial Peripheral Interface (DSPI)
Equation 28
Last-in EntryAddress = CMDFIFOBase + 4 × (CMDCTR + CMDNXTPTR –
1)mod(CMDFIFOdepth)
CMD FIFO Base – Base address of CMD FIFO
CMDCTR – CMD FIFO Counter
CMDNXTPTR – Command Next Pointer
CMD FIFO Depth – Command FIFO depth, implementation specific
46.6.6.3
Address calculation for the first-in entry and last-in entry in the RX FIFO
The memory address of the first-in entry in the RX FIFO is computed by the following
equation:
Equation 29
First-in EntryAddress = RX FIFOBase + (4 × POPNXTPTR)
The memory address of the last-in entry in the RX FIFO is computed by the following
equation:
Equation 30
Last-in EntryAddress = RX FIFOBase + 4 × (RXCTR + POPNXTPTR –
1)mod(RXFIFOdepth)
RX FIFO Base – Base address of RX FIFO
RXCTR – RX FIFO counter
POPNXTPTR – Pop Next Pointer
RX FIFO Depth – Receive FIFO depth, implementation specific
1220/2058
DocID027809 Rev 4
RM0400

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SPC572L series and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents