Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
The only changes i made are as below
#define RTC_SDA PIN_B0
#define RTC_SCL PIN_B1
and this is codes
#use delay(clock=48000000) //,RESTART_WDT
I have read back problem with ADC7825 which is 16-bit ADC, bipolar 10V. After interfacing with this chip, the read back values are as follow:
For -12V to 0 -> the read back value = 0 to 65536
For 0V to +12V -> the read back value = 0 to 65536
The problem is how to identify the polarity of...
I need to measure a tach signal. I have it wired to C2, which is a ECCP input. I think I should be able to use that to get counts but I'm not sure how to do that.
I get the impression that I need to set up the ECCP to count mode, reset the timer, come back after a known period of time, and...
while( !spi_data_is_in() )
Var1 = spi_read();
printf("Received : %d\n\r", Var1);
And Iam sending SPI data from another microcontroller.
Data is 0,1,2,3,..100 with 500ms intervals. Iam using
PIC18F8720 and CCS C V4.010...
I am using a PIC18F2550 to interface with a SD/MMC card. My system needs to be able to use high capacity cards (1GB+) and must also allow them to be interfaced with a Windows system.
The FAT16 file system can reference a maximum of 32MB if 512byte block sizes are used, however if...
Hi, I'm trying to get the PWM of my PIC16F690 working. Unfortunately, no matter what I do, I can't seem to make the thing output what I want. Ideally, I want to have the CCP1 pin always output a constant 40Khz square wave, 50% duty cycle. However, I always get a constant voltage out for some...
I realize this might be a better Microchip question but I thought I'd get a better response here.
I'm developing CCS C code for a PIC16F877 and the compiler says I'm using about 89% of available RAM.
Do I need a different processor or is there a way to add external RAM to the chip? All info...
I have a 16F88 and a 24AA1025 I2C EEPROM on a breadboard. Everything works peachy using the #use I2C() and the example code in EX_EXTEE.C (modified to work with the 16-bit pointers the 24AA1025 requires). I recently got my 18F6722 dev board in, so I thought I'd see if I could get it to work with...
I want to know if it's possible to put the pic12F629/675 in
sleep mode and get it wake up by Timer1 if I using a
cristal+cap. for my clock? The datasheet it not very clear.
I know that we have to put the Timer1 counter in
asynchronous mode. I have to get a 3s delay,