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.

SM320F2812GHHMEP - XINTCNF2 Register "Write Buffer Depth"

Our SW team can not see any speed gains when increasing the write buffer depth from 0 to 3. In what situation will the setting 3 gain most advantage?

/Mikael

  • Hi Mikael,

    This depends on how XINTF is used? Write buffer will help when CPU does 3-4 writes to XINTF and then does some other task. In that case user will notice that CPU can move to IInd task quickly (write to XINTF does not stall CPU). But if code is doing burst of writes then advantage will for first 3 accesses only for CPU. Please note that this does not change actual WR access time for XINTF. If code is doing WR-RD-WR to XINTF then there will be no advantage. So it all depends on the code.

    Regards,
    Vivek Singh
  • Hi Mikael, Let me know if there are any further queries on this.

    Regards,
    Vivek Singh