Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/09/06 17:11
Read: times


 
#106906 - parity even or odd
Responding to: ???'s previous message
Erik Malund said:
How do you know that c places the dats byte in the accumulator

Erik



I used the Keil debugger and verified the instructions step by step and the 'C' does place the byte in the accumulator and calculate the parity correctly.The problem is with the TB8_0 bit being transmitted after 8 bits of data is transmitted.I am not able to amke out whether TB8_0 bit is transmitted or not.

Moreover, irrespective of TB8_0 being transmitted or not, the Hyperterminal or any software for that matter(used for serial communication) is recognizing the data sent.Actually speaking, when I set the configuration on hyperterminal as 9600,1,even,8........... a byte (say for example, 01010101) which has even parity,will have a parity bit added to it and be transmitted as 01010101 + 1 parity bit.....and the hyperterminal being configured as 9600,1,odd,8 should be able to recognize it.

But when I change the configuration of hyperterminal as 9600,1,Odd,8 it should not recognize 01010101 + 1 ........
In my case the hyperterminal is recognizing the byte as 0x55!!!!
How is this possible??




List of 15 messages in thread
TopicAuthorDate
Parity code            01/01/70 00:00      
   Not necessarily your problem!            01/01/70 00:00      
      hyperterminal            01/01/70 00:00      
         serial watcher            01/01/70 00:00      
            Serial watcher            01/01/70 00:00      
   as stated in the crossposting            01/01/70 00:00      
      parity even or odd            01/01/70 00:00      
         Rotten program            01/01/70 00:00      
            serial watcher            01/01/70 00:00      
               UART Rx parity (and other errors) on PC            01/01/70 00:00      
   Comparing with google entries            01/01/70 00:00      
      7 bits            01/01/70 00:00      
         7bit ASCII in 8bit frame?            01/01/70 00:00      
            still same problem...            01/01/70 00:00      
               Make the parity check by yourself            01/01/70 00:00      

Back to Subject List