|
Re: BEI GyroChip Problems
Andrew,
Silly question, but do you still have the "Putdata(&txdata);" line at the end of the Process_Data_From_Master_uP routine and it's being executed? If that line is missing or not at the end, you may not be passing the new pwm values to the master processor. If your using PWMs 13-16, you need the Generate_Pwms call as well.
You also might want to try printing out the pwm value just before the Putdata call just to verify you have your expected pwm value and it's not getting overwritten somehow.
Mike
|