Yes a hserin timeout that is too small causes some grief even the odd reset, i had to increase it to 300 for hand typed input for a successful
test.
my previous tests had the timeout commented out...
Even in proteus 8 simulator appears the same behavior. After sending a few commands the PWPS stops working and the PIC freezes.
I tested PIC12F1840, that's strange.
I tested the PIC12F1840 and PIC16F1824 with software serial input. PIC frequency set to 8MHz as required PBP at 9600 baud.
It's working, but the response is kinda slow.
1. I just requested a current PBP manual to see if the HWPWM feature now includes >32767Hz.
2. I have the PIC12F1572 data sheet which seems to have a completely differenct PWM operation than...
Unfortunately, same behavior. After sending the command via Bluetooth (I send the command for example: hserout ["Q",dec 155,10,11] in a loop while the pushbutton is pressed). After a while, the servo...
What those two chips have in common is auto context save for interrupts.
i simulated the 1824 and the problem was not experienced, but who would trust a simulator
Re: PWPS Servo Problem
Not helped at all, I try timeouts from 200, 300 up to 600 still freezes.
louislouis Today, 09:25I go hunting a few 16F688 PICs in SMD package and stay with these chips in this application.