|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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? |
|
#2
|
|||||
|
|||||
|
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 |
|
#3
|
|||
|
|||
|
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
|
||||
|
||||
|
Re: TTL Ports
Quote:
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". |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |