|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Parity on the RC controller
I'm going to speculate that you may be seeking to change the serial port settings for the programming port on the IFI Robot Controller. If that is the case, I am not personally aware of any way to change the serial port parameters for the programming port from the default values:
Code:
Bits per second: 115200 Data bits: 8 Parity: None Stop bits: 1 Flow control: None If you do find a way to do so, please post here to let us know! Thanks! |
|
#2
|
|||||
|
|||||
|
Re: Parity on the RC controller
Quote:
Thus, if you really need to have parity added to the RC serial ports, this would need to be added in your software. Then again, maybe somebody out there has already written the code needed to add serial port parity calculations / processing to Kevin's serial port driver? If so, I wouldn't be surprised if he'd be willing to add it to the master version of his code if it is sent to him for that purpose. |
|
#3
|
||||
|
||||
|
Re: Parity on the RC controller
Thank you for the replies.
I am trying to change the parity on the TTL port. I am sure I need to change parity in order to do what i need to do. If you want I can upload the serial API that I wrote for the laptop that I am using to communicate to the RC(through an IR). [Tested the parity with Hyper Terminal communicating through the same IR but this time from the laptop to a PC, only even parity works]. EDIT: I was able to get the RC and laptop to sent signals, just with a problem the RC was giving a error value(255) . [It printed "other Data" only at start and shut down of the RC (on IFI Loader terminal), I made it print the "other Data" as an integer which was 255] Last edited by FIRSTMa2104 : 17-03-2008 at 15:03. |
|
#4
|
||||
|
||||
|
Re: Parity on the RC controller
Hey, I am back.
Anyone can help me ith this? |
|
#5
|
||||
|
||||
|
Re: Parity on the RC controller
I think I need to "BUMP" this post to the active topics again, I am sry for triple post but i need an answer.
|
|
#6
|
|||||
|
|||||
|
Re: Parity on the RC controller
Ken Streeter already answered you: there is no hardware support for parity on the serial communication ports on the PIC18F8722 used in the Robot Controller.
You said you wrote a "serial API". Can't you change it so that it doesn't require an extra parity bit? |
|
#7
|
|||||
|
|||||
|
Re: Parity on the RC controller
Quote:
As I mentioned earlier, this serial port does not natively support parity calculations. I'd suggest you take a look at the PIC18F8722 Data Sheet (from the Microchip web site.) Section 20.2 says that "Parity is not supported by the hardware, but can be implemented in software and stored as the 9th data bit." If you would like to add parity calculations to Kevin's serial port code, it could probably be done without too much hassle, but would need to be implemented in software. Pages 250 and 251 of the PIC18F8722 data sheet describe the register bit settings that would need to be changed to have the serial port expect the 9th data bit (for parity). Best regards, --ken |
|
#8
|
||||
|
||||
|
Re: Parity on the RC controller
Quote:
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How the heck do you use an XBOX360 controller with the chicklet?? | waialua359 | Control System | 58 | 17-02-2008 12:43 |
| Programming The CMUcam for the Vex controller | 987HighRoller | Programming | 3 | 24-06-2006 15:27 |
| communication between the robot controller and the interface | Shlomi32 | General Forum | 4 | 05-12-2005 16:53 |
| Can the pic controller send the data to pc? | sunnyrx7turbo | Control System | 2 | 05-08-2005 13:14 |