Another thing that could be causing problems is that SEROUT2/SERIN2 are software bit-banged (no hdw UART involved),
so device B must be sitting waiting at the SERIN2 for the first start bit before...
Are these PICs on the same PCB or on each end of a long cable?
Cable (well PCB traces too of course) has capacitance, with a 10k resistor you're forming quite an RC-filter (relatively speaking)...
Yes it could be a problem. Try with no resistor and see if the problem is in your code or just the lack of power on the link. Then try max 1K resistor.
Hi, I have two devices communicating with SERIN2/SEROUT2. Device A, a PIC18F4550, sends data to device B a PIC16F19197. I'm receiving the data at device B using SERIN2, but like 1 out of 5 times I...
this can not work as you set the qualifier to 0x0d as per my example , ProgIDRx will always be 0x0d
untill you change it , serin will never change it
...
Published on - 21st May 2010 14:37
Number of Views: 7088
Hi all,
Few times ago i did this little utility to help in Timer, Usart, Eusart and PWM calc. It have been tested by some user here and there. Thanks to them
'till now, it's seems to be bug free. It assume a minimum of knowledge on your side so far.
I plan to do another version wich will be more complete. It will include more code generation tool. It's still a work in progress but once i'm fixed on the whole idea, i'll post a Trial version.
It will create code for PBP, Swordfish and probably some other compiler.
You have to know it's a tedious job to read all datasheet and be sure everything is correct. For this reason, there's no release date.
Re: SERIN2 Receiving Wrong Data
Another thing that could be causing problems is that SEROUT2/SERIN2 are software bit-banged (no hdw UART involved),
tumbleweed Today, 13:34so device B must be sitting waiting at the SERIN2 for the first start bit before...