--- Quote Start ---
originally posted by badomen@Jun 23 2005, 11:12 AM
i learned a new term reading this post so now i'm curious..... what is "clean" cts/rts mode? (i know flow control but what do you mean by "clean"???). by clean if you mean a clean signal ........ rs232 has never been known to be "clean". --- Quote End ---
Hej BadOmen,
with "clean" I meant that only the CTS/RTS and TxD and RxD are used. It is maybe a strange and unofficial term, but since i now have problems with tools like "Hyperterminal" and also "Matlab", where you just specify "FlowControl = Hardware" and do not really know, which pins take part in the communication, I think the term is justified... (When assigning CTS/RTS in a more advanced terminal program, the communication works).
By the way, maybe someone has a experiences with Matlab and CTS/RTS-communication with Nios. I read the Matlab documentation, but did not get it working.
Here are my matlab commands (but I tried other as well):
>> s2 = serial('COM2');
>> set(s2, 'BaudRate', 115200);
>> set(s2, 'FlowControl', 'hardware');
>> set(s2, 'DataTerminalReady', 'off');
>> fopen(s2)
>> fprintf(s2, '%d', 3);
Matlab "freezes" after execution of these commands...
So, if somebody has a good idea, it would be great...