unfortunately, I didn't get a consistent break signal with it.
Here is my code :
if (blnBreak) {
error = SrmControl(gPortID, srmCtlStartBreak, 0,&flagsSize);
SysTaskDelay(30*SysTicksPerSecond()/1000);
error = SrmControl(gPortID, srmCtlStopBreak, 0,&flagsSize);
}
With this code I've expected to have 30mS of Break signal.
When the Processor execute the StopBreak, I got an tiny inverted signal
(around 2ms before the break signal falls) .
How can I prevent from this? Using a signal scope I was able to see that the
period of this event is the same of a bit (for instance: if I set the port
to 10400bps I got a 96uS of wrong break signal in the middle).
Thanks in advance.
Mauricio
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
