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.

TMS320F28377S: SDFM

Part Number: TMS320F28377S

Dear all,

I have two questions to ask about SDFM:
1. After SDFM is enabled, the data is being updated. When reading “SDDATA”, will there be a conflict, for example, the data is being updated while reading?
2. If SDFM uses software start/stop sampling mode, which register is set? Is SDDFPARM.FEN or SDMFILEN?

thank you.

  • Han,

    1) If you make sure to check AFx (Data acknowledge bit) before reading there will not be conflict. Otherwise, there is a possibility of reading metastable data.

    2) SDMFILEN.MFE disables (or) enables all the four filter channel. If you are working on a specific filter channel use SDDFPARM.FEN. Once the filter channel is re-enabled, you need to wait for atleast latency of data filter + 5 SD-Cx clock cycles before you read SDDATA register to ensure you don't read metadata.

    Regards,
    Manoj