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
...
Yes, I'm aware you declare it, but you don't assign anything to it. It's there as a newly declared variable with the contents of null. So, I'm guessing serin is waiting for a null character to arrive...
Published on - 13th May 2011 21:45
Number of Views: 6491
The attach zip contains a number of projects, the clock application is called "Clock_8_BIT_par_TFT.pbp" This project has a external RTC that can be set via USB with VB6.
There are a few other projects to drive this display including a SPI interface.
Disclaimer; I am not a programmer so my code may not be the most efficient.
Re: SERIN2 Receiving Wrong Data
Are these PICs on the same PCB or on each end of a long cable?
HenrikOlsson Today, 12:15Cable (well PCB traces too of course) has capacitance, with a 10k resistor you're forming quite an RC-filter (relatively speaking)...