Go to Post You know you're addicted to FIRST when to you: 4's company, 5's a crowd, and 6 is someone off-sides. - Tetraman [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-03-2004, 17:57
bludstayne's Avatar
bludstayne bludstayne is offline
Registered User
#0547
 
Join Date: Nov 2003
Location: Fayetteville, TN
Posts: 10
bludstayne has a little shameless behaviour in the past
Send a message via AIM to bludstayne Send a message via Yahoo to bludstayne
TTL Ports

I need to know some stuff about the TTL ports on the bot controller:
Does it have a buffer?
Parity?
BCC?
CRC?
Data bits?
Baud?
Stop bits?
Inverted?
__________________
I hate signatures. I wouldn't even consider having one.
  #2   Spotlight this post!  
Unread 01-03-2004, 20:58
Scooter's Avatar
Scooter Scooter is offline
Galactic Doughnut!!
#0418 (Purple Haze)
Team Role: Programmer
 
Join Date: Feb 2003
Location: Austin, Texas
Posts: 117
Scooter will become famous soon enoughScooter will become famous soon enough
Send a message via AIM to Scooter
Re: TTL Ports

All of that can be set in the initialize UART function...Look in the .h files (and in UART.h...it may be USART.h)...There you can find definitions for each option.

Bill
__________________
"Those who think that they know everything are especially annoying to those of us who do."
  #3   Spotlight this post!  
Unread 02-03-2004, 01:52
Jay Lundy Jay Lundy is offline
Programmer/Driver 2001-2004
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Jun 2001
Rookie Year: 2001
Location: Berkeley, CA
Posts: 320
Jay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to all
Re: TTL Ports

For information like this, the PIC18F8520 manual is your best friend.

http://www.microchip.com/download/li...x20/39609b.pdf

Start on page 199 of the pdf (197 in the actual manual).

The Tx and Rx pins of the TTL port are wired directly to the RX2 and TX2 (I'm pretty sure it's USART2) pins on the pic, so you can get all your info from the manual.
  #4   Spotlight this post!  
Unread 02-03-2004, 16:41
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: TTL Ports

Quote:
Originally Posted by bludstayne
I need to know some stuff about the TTL ports on the bot controller:
Does it have a buffer?
Parity?
BCC?
CRC?
Data bits?
Baud?
Stop bits?
Inverted?
no buffering.
no parity
no BCC
8 or 9 data bits (configurable)
baud:configurable to jsut about anything you want
1 stop bit(i think)
non-inverted.

See the datasheet for the pic18f8520 for more info. Btw the compiler has built in libraries for using the serial port. See the compiler lirbrary reference guide for more info on that. Btw its "USART2".
__________________
1139 Alumni
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Having trouble with TTL port Gene F Programming 12 10-02-2004 15:23
TTL pins Dave... Control System 3 07-02-2004 23:59
EduBot and USART ports Dave... Programming 13 01-02-2004 00:02
New Controller Specs Posted Jnadke Programming 58 05-10-2003 08:18
RCU has bad Analog ports - what now? Icebreakers Programming 13 26-03-2003 07:27


All times are GMT -5. The time now is 07:52.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi