Any luck so far? I'm going to have to tackle this someday too...
Type: Posts; User: rswain; Keyword(s):
Any luck so far? I'm going to have to tackle this someday too...
Now this is a handy document to keep around. Think of the times my time has been depreciated trying to guess the right config syntax!
I've been wondering the same thing - I need to move words and was just willing to break them up into two bytes, but maybe it's worth tracking it down to get a final answer.
Interrupts are something like, if you touch a hot stove, the sensor in your hand detects "something's wrong". That signal goes to a specific location in the brain and causes a muscle action to...
Guys,
This weekend I put together software nuggets from both DaveC3 and BigWumpus. In doing so, I could see the influence of most of you that have been working on this thread over the last few...
BigWumpus,
You're right. I wasn't getting the bytes out of the Buffer fast enough. I tried a few things to empty the buffer faster and that helped. Now I don't have an Overflow problem, but I've...
The attachments are the latest code (starting to work on the 18F4685). Still not able to send Master to Slave - Slave gets OVERFLOW flag.
Rswain
Group,
I'm back using the 18F4685, one in Master and one in Slave. I'm now able to read from the Slave, 3 digits (and their even the right ones!). I set up a fast loop to read the digits on the...
Daniel - I'd be happy if any 18F would work. I'm starting to think something's wrong with PBP and 18F.
Thanks for your continued attempts to beat this problem into submission!
I'm going to...
Today I tried changing the Master and Slave addresses to higher numbers. I tried $26, $A6, and $02 just for good measure. They all responded with the same results; the slave sees the address, matches...
Although the 16F guys have been having good luck with low addresses, it makes sense that the errata sheet would point out the old Phillips rule about low addresses. I haven't tried an address above...
Here's my slave code that's not sending back the ACK. I appologize for the "dead code" and commented out parts in advance. Maybe you'll see something I'm missing...
Robert
----------------
...
Guys,
I've been working this problem for nearly a year now. I've tried Soubie's code with no luck, and the code from this thread isn't working either. I'm using the 18F4620 as the master talking...
Joe,
Thanks for not only providing the answer, but the reference as well. Now I won't ever ask that, or even a similar question, ever again! Great forum!:rolleyes:
I need the CCP2MX bit in CONFIG 3H turned OFF, allowing CCP2 to be assigned to port B. There's got to be a way to set it and forget it in the INCLUDE file. I'm sure this is simple, but all the...
Here's a subroutine of how I do it. You might want to modify the start and stop addresses to do exactly what you need it to do.
Rswain
******************************
A var...
You can do what you want to do, but don't think this is going to be an easy project for the weekend. You'll need to convert to square waves, use the internal comparator, use as high a clock speed as...