To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 620
619  |  621
Subject: 
Re: Using NXT Port 4 EIA-485
Newsgroups: 
lugnet.robotics.nxt
Date: 
Mon, 9 Apr 2007 11:58:27 GMT
Viewed: 
19303 times
  
In lugnet.robotics.nxt, John Hansen wrote:
In lugnet.robotics.nxt, John Barnes wrote:
In lugnet.robotics.nxt, Christian Mock wrote:
Hi,
is there currently any software-support (pbLua, NXT-G, NXJ) for NXT Port4
highspeed serial communication (EIA-485) ?
Thanks for more informations
Christian

As far as I know, there isn't any support for this interface in either the
standard firmware or any of the other third party firmware implementations.

The interface runs at 921,600 bps so it will be fast enough to be really useful.
I am hoping that, eventually, it will be supported.


What is not supported about this port in the standard NXT firmware?  You can
read from it and write to it using the IOMapRead and IOMapWrite syscall
functions.  Looking at the firmware source code it certainly looks like
everything is setup to work properly where if you write to the HSOutBuf and
properly set the HsState and HsFlags values that it will send data and receive
data into the HSInBuf.  What sort of additional support is needed to make this
interface (more) useable?

John Hansen

Do you think it is possible to read/write binary and ascii data to this device
or is there a special protocol neccessary ?
What about bitrate of EIA-485 device ? Is it possible to adjust bitrate to
anything more usable (9600, 38400, 115200) ? When interfacing a standard UART
(e.g AVR MCU with internal UART) it is neccessary to support more "standard"
bitrates which can be derived from MCU clock (8-16 MHz)...

Christian



Message is in Reply To:
  Re: Using NXT Port 4 EIA-485
 
(...) What is not supported about this port in the standard NXT firmware? You can read from it and write to it using the IOMapRead and IOMapWrite syscall functions. Looking at the firmware source code it certainly looks like everything is setup to (...) (17 years ago, 9-Apr-07, to lugnet.robotics.nxt)

15 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR