4 Replies Latest reply on Apr 17, 2012 3:57 AM by JoMe_264151

    TX8SW Moule BUG!

              although shadow register are implemented the TX8SW communication affect other pin in the same port.   
      In my application I have a software serial syncronous communication in the same port with clock and data line normally high, during TX8 comm both of these lines go down causing a false SPI clock.   
         
      Filippo Giuliani   
      ELMARC S.p.a.   
        • 1. Re: TX8SW Moule BUG!
                  Filippo   
          To be fair, I only use this for debugging output and accept this problem. It can also drop characters as well. It is best to use TX8 hardware unless you are really stuck.   
          Dave Clark   
          • 2. Re: TX8SW Moule BUG!
                    Hi Filippo,   
               
            You are right about shadow implementation in the TX8SW module. However there is an error in the implementation and the shadow register does not come into the picture. I came across the same error and just had to add two lines of code above the shadow register implementation, to make sure it does not affect other pins of the port. Unless, you have a crunch for blocks, I would suggest hardware implementation of TX8.   
               
            Vivek   
            • 3. Re: TX8SW Moule BUG!

              What was the 2 lines of code?  I really have no option but to use the TX8SW solution.

              • 4. Re: TX8SW Moule BUG!
                JoMe_264151

                JBL,

                   

                this thread is rather old and there have been updates made to the TX8SW-usermodule which is now at version 1.2.

                   

                Better have a try to test if this issue still exists.

                   

                Bob