R
Richard Henry
- Jan 1, 1970
- 0
-------------------------------------------alx3d said:I need some advice in designing a pushbutton interface to send commands via
RS-232 port.
I need to find a microcontroller that will take pushbutton inputs and send
the proper commands (Sony Protocol of remote-1) via RS-232 to a digital
video recorder board.
Any advice on the proper microcontroller that I have to use?
Thank's in advance for your help!
Alex
ELECTRICAL INTERFACE:
- EIA RS-422
DATA FORMAT :
- 38.4 kbps
- Asynchronus, full duplex communications
- 8 data bits, odd parity, 1 stop bit.
COMMAND BLOCK FORMAT
-------------------------------------------------------------------------- -------------------------------------------
| 1 byte | 1 byte | 1 byte
| n-2 byte | 1 byte | 1 byte |
| Bits 7-4 Bits 3-0 | |
| | |
|
-------------------------------------------------------------------------- -------------------------------------------
| CMD-1 | DATA | CMD-2 | DATA-1
| - - - | DATA-n | CHECKSUM |
| | COUNT | |
| | |
|
--------------------------------------------------------------------------
As long as we are looking for interfaces, I need a micro that has a hardware
serial port on one side and an I2C bus on the other, and not much else.
I'll even settle for a non-micro dedicated piece of hardware (or hard-coded
micro disguised as a piece of hardware). Bonus points will be awarded for
including the EIA-232 (or even EIA-422) hardware drivers and receivers.
**Note** EIA (Electronic Industries Association) has replaced RS
(Recommended Standard) in the name of many standards. Don't fell bad if you
mixed them up - the Wikipedia article on EIA-422 starts out with "formerly
RS-422", but later makes a reference to "RS-232".