3 Replies Latest reply on Nov 18, 2011 7:53 PM by anand.srinivasan.asokan

    PINFLAGS inconsistency between FX2 TRM and AN

    chris.stankevitz

       Hello,

         

       

         

      TRM: EZ-USB_TRM2.pdf

         

      AN: AN613453.pdf (attached)

         

       

         

      TRM section 15.5.3 says the EP2 empty flag is:

         

        1000 (binary) = 0x8 (hex)

         

       

         

      AN613453's source code listing says

         

        PINFLAGSCD = 0xE0; // FLAGD - EP2 Emtpy flag

         

      Which implies the EP2 empty flag is

         

        1110 (binary) = 0xE (hex)

         

       

         

      Which is correct?

         

       

         

        EP2EF = 1000 = 0x8 [TRM]

         

        EP2EF = 1110 = 0xE [AN613453]

         

       

         

      Thank you,

         

       

         

      Chris