This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F2812 RXFIFO RESET



Hi i have a question when i configure this registers SpiaRegs.SPIFFRX.bit.RXFIFORESET=1, automatically appears a  0 in SpiaRegs.SPIRXBUF register and i didnt star sclk signal.

Anohter question when i clear this registers SpiaRegs.SPIFFRX.bit.RXFIFORESET=1 I erase all values of fifo recieve register or just put the pointer in the first position?

Thanks.

 

  • Oscar,

    The control and configuration registers are clocked by LSPCLK so these settings can take affect without the SPICLK running.

    According to the SPI reference guide definition for RXFIFO Reset:

    SPI Reference Guide said:

    Write 0 to reset the FIFO pointer to zero, and hold in reset.

    So you can assume that the pointer is reset without clearing the data.  Given that the FIFO data can only be read through the RXBUF register, resetting the pointer is functionally the same as clearing the data too.

    -Tommy