??? 01/30/12 21:43 Read: times |
#185735 - Why ASM? Responding to: ???'s previous message |
Dave Mcnamara said:
Can someone show me a piece of ASM code in order to send 0x7E,0x01,0x00,0x00,0x00,0x00,0x01 over a serial port Why does it have to be ASM? The procedure required is the same irrespective of what language you use - it's just a matter of writing to SBUF, and monitoring the UART status to see when it's ready for the next byte. This is bog-standard 8051 serial comms. |
Topic | Author | Date |
Help. Writing Hex code from serial port to External device | 01/01/70 00:00 | |
Look at this | 01/01/70 00:00 | |
Using 8051 | 01/01/70 00:00 | |
Why ASM? | 01/01/70 00:00 | |
Design your subroutine(s) | 01/01/70 00:00 | |
RI Flag | 01/01/70 00:00 | |
READ_SERIAL | 01/01/70 00:00 | |
RI setup | 01/01/70 00:00 | |
are you sure? | 01/01/70 00:00 | |
CKCON | 01/01/70 00:00 | |
well, then | 01/01/70 00:00 | |
Correct | 01/01/70 00:00 | |
RI and TI | 01/01/70 00:00 | |
Ok | 01/01/70 00:00 | |
Diff Of TI and RI | 01/01/70 00:00 | |
Uart stall | 01/01/70 00:00 | |
Oscilloscope | 01/01/70 00:00 |