| ??? 11/04/07 07:09 Read: times |
#146568 - DB-9 Connector to 8052 protocol |
I have to interface to an existing device and send serial data via the 9600 baud UART via a serial communications port using a DB-9 connector (pins 2,3, &5).
I have to send data in the following formats: *S\r\n, *N\r\n, *W <ASCII Number>\r\n, *X <data>\r\n and must receive commands in the following formats: *L, *T, *D, *A, *B, *V, *R, *Z <data>, *M, *J I have to send and receive this data via the UART. What are the equivalent HEX values for these commands so I can load and receive them properly. I am writing the code in assembly. Are there any other serial protocols I must obey? The specs are 9600 baud, data bits 8, parity none, stop bits 1, flow control none. Also is there a optoisolated TX/RX chip that would isolate the CPU from the outside world? |
| Topic | Author | Date |
| DB-9 Connector to 8052 protocol | 01/01/70 00:00 | |
| HEX Values? | 01/01/70 00:00 | |
| grunt work | 01/01/70 00:00 | |
| Nope | 01/01/70 00:00 | |
| and how about the asterick? | 01/01/70 00:00 | |
| Asterix the Gaul | 01/01/70 00:00 | |
| Stop Bit | 01/01/70 00:00 | |
| Something like this | 01/01/70 00:00 | |
| C format string | 01/01/70 00:00 | |
| CR LF hex values | 01/01/70 00:00 | |
| Experience? | 01/01/70 00:00 | |
| old hermit | 01/01/70 00:00 | |
| These days... | 01/01/70 00:00 | |
| LP programming | 01/01/70 00:00 | |
| maybe | 01/01/70 00:00 | |
Needhams | 01/01/70 00:00 |



