Look at the SERIN2/SEROUT2 commands in the manual.
They allow you to specify optional flow control pins which you would connect to the RTS/CTS pins of the module you're using if it has hdw flow...
Type: Posts; User: tumbleweed; Keyword(s):
Look at the SERIN2/SEROUT2 commands in the manual.
They allow you to specify optional flow control pins which you would connect to the RTS/CTS pins of the module you're using if it has hdw flow...
Yes, the MSSP does both.
Well, that's going to make I2C operations about ten times slower than what it could be running at.
A while back you mentioned using software SPI and complained about it being slow too.
You'd...
If you're running at 8MHz then no wonder everything is slow.
32MHz (or 64MHz for something like an 18F26K22) would definitely be faster, way faster.
The I2C won't necessarily be a lot faster on...
If you're trying to write something totally generic that can be used with all the 8-bit PIC's then the most generic solution is to use the bit-banged I2C routines.
If you want a faster method then...
In that case, if you're looking for speed then an I2C EEPROM isn't the best of choices.
I have no idea how slow the bit-banged I2CREAD is (probably pretty slow).
A 24C256 isn't all that slow, but...
Would 1K of EEPROM be enough for what you're doing?
If so, switch to a pic18, like an 18F26K22. It'll be MUCH faster than trying to read from an I2C EEPROM.
They should show up. I've had this happen for a number of chips lately... 0 stock but I can still get free samples.
I have a feeling they have more stock than they're letting on, probably for...
I don't know if it's different for AUS, but for the US MicrochipDirect has a "sample" request that allows you to get up to two devices x qty 3 of each every 30 days.
It's showing the PIC18F47Q43...
It sounds like you are describing the R-M-W (read-modify-write) effect that you get when setting one bit of a PORT output.
When you do a bit operation on a PORT, the entire PORT is read, the bit is...
I meant to open a windows command prompt and run ICD3CMD.exe from the command line so you can play around with the various options and see what the results are.
As I said, you don't get much output...
For the MCS IDE, if you tack on a "-B" that puts it into batch mode and it should leave the command window open.
Here's an example command line:
-P$target-device$ -F$hex-filename$ -W -B
ICD3CMD...
Did you look in the file "Readme for RealICECMD_ICD3CMD.htm", sections 8 (command line options) and 11 (examples)?
They're all pretty similar...
Have you setup the commandline options for icd3cmd? They can be found in the MPLABX folder docs\Readme for RealICECMD_ICD3CMD.htm
See http://www.picbasic.co.uk/forum/showthread.php?t=23910 for...
So where in the datasheet does it tell you what the PLL does while it's "not working"?
My point is that while you can enable the PLL in the config, it's "subject to oscillator requirements", which...
Which part is pretty clear... the statement "subject to oscillator requirements" and parameter F10 (4-8MHz), or that the config bit enables the PLL?
richard's right, but I wonder if it might be safer to start off with '__config _PLLEN_OFF' and enable it with OSCCON when you change the freq.
Reasoning: the PLL is spec'd for an input of...
If you just need more RAM for a display buffer there are much faster devices than an external EEPROM, like the 23LC512 serial SPI SRAM.
Also, since SHIFTOUT runs at approx 50KHz, you could even...
Once you figure out how an LED works, then you can skip any additional circuitry you have driving the MOSFET relay LED input, and just treat it like a normal LED.
All you need is a resistor in...
If you start off with B=0 and C=0 you can skip half those statements and only do the ones where A.x = 1
Yes, assuming you really do want a shift and don't want to rotate the value shifted out of B back into the MSB of the array.
There's no need to copy the array bytes to A and B, but if it helps you...
What do you mean by this?
Do you want the pic to generate a square wave output from 11Hz to 11MHz on an output pin?
For those with an aversion to MPLABX, or who just want a simple, easy to use standalone tool
there is a new, updated version of the old CLCDesignerTool available.
CLCDesignerTool V4 adds features...
Completely unnecessary, just like it is with python on the PC.
OPA1CON = %1100000 ' Opamp 1 Enabled, SP set.
Isn't that missing a bit?
Try
OPA1CON = %11000000 ' Opamp 1 Enabled, SP set.
For OPAMP1 you have