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

Back to Subject List

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


 
#106993 - still same problem...
Responding to: ???'s previous message
Kai Klaas said:
If you urgently need the parity check, then you could transmit 7bit ASCII in an 8bit frame, filling the 8th bit with your paritiy bit.
Kai


Hi,
I rewrote the program as you said....7 bit ASCII in a 8 bit frame and checked for the parity....for example.I put 0110 0010B
in Accumulator and checked for parity, if parity flag is set, then I would ORL A,#1000 0000B and then transmit the byte.I configured the serial communication software as 9600,Even,8,1 and the received byte was 1110 0010B.But when I changed the configuration on serial communication software to 9600,Odd,8,1
the byte received was 1110 0010B!!!
The problem seems to be persistant...

The configuration of serialwatcher.exe was

PORT NUMBER:Port 1
DATA WIDTH: 8 bits
PARITY: odd
HARD. HANDSHAKE:None
SOFT HANDSHAKE:None
ENABLE: DTR RTS
SPEED:9600








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