I am attempting to use the ts-7800 connected to a SICK ladar.
based upon the documentation at:
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7800-linux/docs/ts7800-preliminary-manual.html
I can configure port #2 on header #2 as rs-422. I was able to
successfully set bit 15 (per note 1) for rs422 communication.
I used the peekpoke example to setup a memory map.
I need to configure the port to operating at the non-standard 500k
baud. 500k baud translations to a divisor of 25. I have configured the
port to use the 38400 baud slot, so it should be using the baud rate
set by the divisor is register 0xE80000EC.
However, I can not seem to make the divisor value stick in the
register. When I write to 25 to register 0xE80000EC (using a volatile
short pointer), then read it back, the returned value is 0.
It seems like there is some magic writing to these registers that I do
not understand, and that i have no found documentation for. The kernel
driver initializes all of these registers in reverse sequence. I
attempted to do the same thing, and after reading them back i received
values that were non-zero, but did not match the expected values.
Have any of you configured these boards to operate at a different baud
rate? All the capability seems to be there, I just haven't figured out
the magic.
Thanks...
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|