Forum Discussion
Altera_Forum
Honored Contributor
13 years agoRS-422 to RS-232 Conversion
Hello Friends, I am trying to convert RS-422 data (arrive at 1 mbps) from remote machine in to a RS-232 format. remote machine/system send RS-422 data (CLK+, CLK-, DATA+ and DATA-) toward ...
Altera_Forum
Honored Contributor
13 years agoYou'd make life easier for the software timings if you added a small fifo into the hardware. And also (maybe) treat the data as 32bit.
Depending on any other tasks you expect to perform, using interrupts at all may be ill advised. A simply spin/delay loop is more likely to have less problems. It is often the case that it is best to run small embedded systems without any interrupts at all. Just check each possible event source (etc) often enough. In this case get the non-interrupt version working first.