![]() |
Parity on the RC controller
Is it posible to set the parity to even on the RC?
|
Re: Parity on the RC controller
Can you be a little more specific about what you're talking about? Parity is something I usually associate with error-detecting memory. The IFI Robot Controller has none of that.
|
Re: Parity on the RC controller
Quote:
Code:
Bits per second: 115200If you do find a way to do so, please post here to let us know! Thanks! |
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. |
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] |
Re: Parity on the RC controller
Hey, I am back.
Anyone can help me ith this? |
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.
|
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? |
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 |
Re: Parity on the RC controller
Quote:
Quote:
|
| All times are GMT -5. The time now is 21:08. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi