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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/08/02 21:51
Read: times


 
#32187 - ASCII data stream help........
Hello,
I am looking for some help with bringing in an ASCII data stream into the serial port of a 80C320 processor and storing it in external memory (BBRam). Here is the Data stream Comming in :

11 50453 4324 234 67 100 0 0

11 = Tells Processor that command is a list of particle counts.

50453 = First Particle count Value
4324 = Second Particle Count Value
234 = Third Particle Count Value
67 = Forth Particle Count Value
100 = Flow rate
0 = Water Content ppm (Ignore, not used)
0 = Temperature (Ignore, not used)

Example:

;Receive interrupt.
RXC: push PSW
push ACC
mov a,SBUF
cjne a,#11,ENDRX (Make sure its a command #11)
mov a,SBUF
movx ?????

(From here I dont really know where to go, that is if what I have already is right ?)



ENDRX:
RETI

Someone please help !!

David Polakiewicz Jr.

List of 5 messages in thread
TopicAuthorDate
ASCII data stream help........            01/01/70 00:00      
RE: ASCII data stream help........            01/01/70 00:00      
RE: ASCII data stream help........            01/01/70 00:00      
RE: ASCII data stream help........            01/01/70 00:00      
RE: ASCII data stream help........            01/01/70 00:00      

Back to Subject List