Subject:
|
Re: Using NXT Port 4 EIA-485
|
Newsgroups:
|
lugnet.robotics.nxt
|
Date:
|
Tue, 17 Apr 2007 12:26:05 GMT
|
Viewed:
|
17583 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
>
> 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
Ralph,
I'm using an ATMega8 as frontend processor between NXT and SD-Card.
Step1: NXT===>I2C===>ATMega8==>SPI===>SD-Card
Disadvantage: Very low speed (9600)
Step2: NXT===>EIA-485===>ATMega8/16===SPI==>SD-Card
This should work in an easy way, FAT-Support for SD-Cards is available
and running...
Bye
Christian
|
|
Message has 1 Reply: ![](/news/x.gif) | | Re: Using NXT Port 4 EIA-485
|
| (...) Great idea Christian! What kind of API do you need to make this work? I think these might get things started: nxt.RS485SetParam( speed, parity, databits, stopbits ) nxt.RS485SendData( string, bytes ) string = nxt.RS485GetData( bytes ) status = (...) (17 years ago, 17-Apr-07, to lugnet.robotics.nxt)
|
Message is in Reply To:
![](/news/x.gif) | | Re: Using NXT Port 4 EIA-485
|
| (...) 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 (...) (17 years ago, 16-Apr-07, to lugnet.robotics.nxt)
|
15 Messages in This Thread: ![Using NXT Port 4 EIA-485 -Christian Mock (7-Apr-07 to lugnet.robotics.nxt)](/news/x.gif) ![](/news/246.gif) ![Re: Using NXT Port 4 EIA-485 -John Barnes (8-Apr-07 to lugnet.robotics.nxt)](/news/x.gif) ![](/news/246.gif) ![RE: Using NXT Port 4 EIA-485 -"Dick Swan" <dickswan@sbcglobal.net> (8-Apr-07 to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)](/news/x.gif) ![](/news/46.gif) ![Re: Using NXT Port 4 EIA-485 -Christian Mock (9-Apr-07 to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)](/news/x.gif) ![](/news/46.gif) ![Re: Using NXT Port 4 EIA-485 -Juergen Stuber (10-Apr-07 to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)](/news/x.gif) ![](/news/46.gif) ![Re: Using NXT Port 4 EIA-485 -Christian Mock (10-Apr-07 to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)](/news/x.gif) ![](/news/46.gif) ![Re: Using NXT Port 4 EIA-485 -Sivan Toledo (25-May-07 to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Using NXT Port 4 EIA-485 -John Hansen (9-Apr-07 to lugnet.robotics.nxt)](/news/x.gif) ![](/news/246.gif) ![Re: Using NXT Port 4 EIA-485 -Christian Mock (9-Apr-07 to lugnet.robotics.nxt)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Using NXT Port 4 EIA-485 -John Barnes (9-Apr-07 to lugnet.robotics.nxt)](/news/x.gif) ![](/news/46.gif) ![Re: Using NXT Port 4 EIA-485 -John Hansen (10-Apr-07 to lugnet.robotics.nxt)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: Using NXT Port 4 EIA-485 -Ralph Hempel (16-Apr-07 to lugnet.robotics.nxt)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: Using NXT Port 4 EIA-485 -Ralph Hempel (17-Apr-07 to lugnet.robotics.nxt)](/news/x.gif) ![](/news/46.gif) ![Re: Using NXT Port 4 EIA-485 -Christian Mock (17-Apr-07 to lugnet.robotics.nxt)](/news/x.gif)
- 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
|
|
|
|