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: EVA capure issue

Part Number: TMS320F2812


My customer finds that the bit  EvaRegs.EVAIFRC.bit.CAP2INT is accidentialy cleared when they clear the bit EvaRegs.EVAIFRC.bit.CAP2INT, i check the EV reference guide, but can not find clue to the relationship between the two clear action, any comments for this issue? thanks.

http://www.ti.com/lit/ug/spru065e/spru065e.pdf

 

  • Hardy,

              it looks like writing a 0 should have not effect. Writing a 1 should reset the flag.

    Can you confirm my understanding of your post?...

    1. The customer reads the bit, sees a 1.
    2. The customer then writes a 0 to the bit.
    3. The customer reads the bit one more time and sees a 0.

    Regards,
    Cody

  • My writing mistake, it should be that when I write 1 to clear EvaRegs.EVAIFRC.bit.CAP2INT bit , the EvaRegs.EVAIFRC.bit.CAP3INT is accidently cleared at the same time, i can not find any clue for why CAP3INT is cleared.
  • Hardy,

    CAP2INT and CAP3INT should be independent.

    When you write to CAP2INT are both CAP2INT and CAP3INT cleared, or just CAP3INT?

    If only one is cleared, you should check if you are writing to the correct bit. Are you using the TI provided headerfiles, have the header files been modified at all?

    Regards,
    Cody