This is the least useful response I've ever gotten from Microchip help. Anyway, does anyone know the answer? The question is: Do I need an external RC circuit for the clock generator on MCP23017....
Type: Posts; User: GeoJoe; Keyword(s):
This is the least useful response I've ever gotten from Microchip help. Anyway, does anyone know the answer? The question is: Do I need an external RC circuit for the clock generator on MCP23017....
VOUTB = 1000xxxxxxxxxxxx
I had it set to XT instead of INTRC. I had to set it in the configuration programmer menu drop down though. I thought I had it set correctly in the code. Oh well I'll start working on getting the DAC...
Here is the spec sheet on the DAC
http://focus.ti.com/lit/ds/symlink/dac7553.pdf
Sorry for the hodge podge
Here is the schematic
I've got a big one here. I can't get the TI DAC output to change. Here is my test code:
INTCON = %00000000 ' Enable TMR0 interrupts
INTCON2 = %10000000 ' ENABLES PORTB PULL UPS
'T0CON =...
CURRENT1 = CURRENT1 - CURRENT1 >> 6
Works great. Seems so clear now.
Hi all,
I'm trying to digitally filter a noisy adcin value.
Here is what I've tried.
adcin 4, current ' INITIALIZE CURRENT MEASUREMENT FILTER
CURRENT1 = CURRENT1 - CURRENT1 >> 6...
I am constantly battling between using C and PBP. I absolutely love PBP. I can get my work done far faster than with C. I have had to use C in the recent past to create BLDC motor controller that PBP...
http://www.melabs.com/downloads/labx1sch.pdf
I don't think you have the MCLR connected correctly. Try wiring like the above and see what happens.
Here is what I have done.
Bypassing, bypassing, bypassing. Make sure you have plenty of bypass capacitance on your pic power pins.
In really bad situations I have had to put a small inductor on...
You should disable the interupts before the interupt routine then enable them again when it is complete.
example:
Disable ' Disable interrupts during interrupt handler
tickint:
Stuff...
You need to clear the interupt flag again before resume.
It's always a good idea. Beside the MAX chips are very cool. The capacitor charge pumps are very cool circuits.
I've built many boost supply circuits. Here are the main areas of failure I have found:
P1. Inadequate gate voltage for non logic level FET.
S1. Use a fet driver. This might seem like overkill but...
i2cwrite portc.4, portc.3, %01000010, %00000111, [%00000000] ' SET U9 PORT 1 TO OUTPUTS
i2cwrite portc.4, portc.3, %01000010, %00000011, [acout] ' WRITE VARIABL ACout TO U9 PORT 1 LATCH REGISTER...
Yes I would actually. Great idea. Especially now that I am coding a micro with 128k program space!
Anyone have any successful 18F87J50 projects? I am working one out now. I have posted to serial communications area of this forum with an I2C issue. So far everything is working well for me. I'll be...
Thanks Jeff.............
An email to melabs support got me the answer. Here it is:
I2Cread portc.4, portc.3, %01000000, command, [insin], noitwoc
Where command is what register you want to read...
read command that is.
My mistake. I've been changing the code and trying all kinds of different stuff. I had tried the write command just to see what happened and didn't change it back when I posted that reply. However I...
Below is modified code.
After re-reading (tfm) the spec i noticed that the 23016 requires: adress, command,adress (again), data, data,....
No on reset I get the no i2c ack display and I see on my...
http://ww1.microchip.com/downloads/en/DeviceDoc/20090C.pdf
Hi all,
Has anyone used the MCP23016 I/O expander with PBP? I can't seem to get the I2CREAD command to return anything. I'm using an 18F87J50. I have my LCD working and diagnostic LED's on my new...
Thanks for the words of wisdom and ecouragement. I have seen and read all of the fine print from ITT. I don't feel like it was a waste of time. I wish ITT would make it harder for people to graduate....