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 / 667
666  |  668
Subject: 
Re: Using NXT Port 4 EIA-485
Newsgroups: 
lugnet.robotics.nxt
Date: 
Mon, 16 Apr 2007 21:08:13 GMT
Viewed: 
17721 times
  
Christian Mock wrote:
Hi,
is there currently any software-support (pbLua, NXT-G, NXJ) for NXT Port4
highspeed serial communication (EIA-485) ?
This port can be used for connecting some new hardware (camera, SD-Card-storage)
to the NXT...

Christian,

There is currently no direct support for this in pbLua, but it's not
too hard to add. The HighSpeed port is port 4, and it has basically
3 wires that control how it works.

PA4/5 are the RX and TX to UART0 right on the ARM
PA7 is RTS from the UART0, and basically it controls the direction
     of the 485 driver.

To use the 485 port, you need to make sure that the DIG0/1 lines
on that port are set to INPUT, or you'll end up fighting between the
DIG0/1 and the 485 driver.

I'll look at doing something on this soon, but keep a few things
in mind.

1. This is NOT an SPI interface - which is what the SD cards need
2. It's a simple half duplex serial port, so any complex comms
    will need a protocol wrapped around it.
3. It should still be possible to bit-bang the I/O lines, but you
    won't get true SPI out of it since you need CLK, MOSI, MISO for
    SPI.

Ralph



Message has 1 Reply:
  Re: Using NXT Port 4 EIA-485
 
(...) Ralph, I'm using an ATMega8 as frontend processor between NXT and SD-Card. Step1: NXT===>I2C===>ATMega...==>SD-Card Disadvantage: Very low speed (9600) Step2: NXT===>EIA-485===>AT...==>SD-Card This should work in an easy way, FAT-Support for (...) (17 years ago, 17-Apr-07, to lugnet.robotics.nxt)

Message is in Reply To:
  Using NXT Port 4 EIA-485
 
Hi, is there currently any software-support (pbLua, NXT-G, NXJ) for NXT Port4 highspeed serial communication (EIA-485) ? This port can be used for connecting some new hardware (camera, SD-Card-storage) to the NXT... Thanks for more informations Bye (...) (17 years ago, 7-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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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