Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   TTL Ports (http://www.chiefdelphi.com/forums/showthread.php?t=26268)

bludstayne 01-03-2004 17:57

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?

Scooter 01-03-2004 20:58

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

Jay Lundy 02-03-2004 01:52

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.

Rickertsen2 02-03-2004 16:41

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".


All times are GMT -5. The time now is 04:56.

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