Author |
Message |
Topic: 16F689 I2C |
[email protected]
Replies: 1
Views: 3050
|
Forum: General CCS C Discussion Posted: Fri Feb 12, 2010 7:26 pm Subject: 16F689 I2C |
I am using 16F689 to build 2 boards to test the I2C operation but found that it is not working.
Master
#include <16F689.h>
#device *=16
#device adc=8
#FUSES NOWDT
#FUSES MCLR, HS, NO ... |
Topic: 12F629 WDT |
[email protected]
Replies: 4
Views: 5960
|
Forum: General CCS C Discussion Posted: Tue Feb 09, 2010 1:41 am Subject: 12F629 WDT |
What will be instruction being executed after sleep() command and being wakeup by the watchdog timer? The first instruction (all variables will be reset) or the instruction after the sleep() command?
... |
Topic: First Read or Write after I2C start |
[email protected]
Replies: 4
Views: 6864
|
Forum: General CCS C Discussion Posted: Tue Dec 15, 2009 10:13 am Subject: First Read or Write after I2C start |
Thanks |
Topic: First Read or Write after I2C start |
[email protected]
Replies: 4
Views: 6864
|
Forum: General CCS C Discussion Posted: Tue Dec 15, 2009 1:12 am Subject: First Read or Write after I2C start |
Thanks PCM Programmer.
I know how to use i2c_state() but I need to write the first read data after i2c start to location 0, second data to location 1 and so on.. The master will then send i2c stop. ... |
Topic: First Read or Write after I2C start |
[email protected]
Replies: 4
Views: 6864
|
Forum: General CCS C Discussion Posted: Mon Dec 14, 2009 7:29 pm Subject: First Read or Write after I2C start |
We need to setup a slave I2C to send a sequence of data or read a sequence of data after a I2C start. As we need to read / write from a starting position we need to reset the pointer to the first loca ... |
Topic: I2C Slave |
[email protected]
Replies: 1
Views: 3096
|
Forum: General CCS C Discussion Posted: Thu Nov 05, 2009 8:13 am Subject: I2C Slave |
I need to set up a slave mode I2C. The device need to send out a character according to the character the master device sends
I don't know is the i2c_write() should follow immediate after the i2c_r ... |
Topic: 12f675 ADC |
[email protected]
Replies: 7
Views: 8684
|
Forum: General CCS C Discussion Posted: Sun Mar 15, 2009 6:21 pm Subject: 12f675 ADC |
#include <12f675.h>
#device adc=8
#FUSES NOWDT
#FUSES INTRC_IO, PROTECT
#use delay(clock=4000000)
#use rs232(baud=9600,parity=N,xmit=PIN_A4,rcv=PIN_A2,bits=8, INVERT, s ... |
Topic: 12f675 ADC |
[email protected]
Replies: 7
Views: 8684
|
Forum: General CCS C Discussion Posted: Sun Mar 15, 2009 9:17 am Subject: 12f675 ADC |
I need to have a program to read a ADC value from AN1. The following is part of my program and it works.
#include <12f675.h>
#device adc=8
....
main()
{
int advValue; ... |
Topic: 18LF4620 portc problem |
[email protected]
Replies: 1
Views: 4722
|
Forum: General CCS C Discussion Posted: Thu Jul 10, 2008 11:09 am Subject: 18LF4620 portc problem |
I have a problem with port c. I need to set RC0 and RC3 to high. I am using
output_high( PIN_C0); output_high( PIN_C3);
Unfortunately both C0 and C3 are still low.
Any idea?
Rgds. |
Topic: 18F1220 |
[email protected]
Replies: 2
Views: 4842
|
Forum: General CCS C Discussion Posted: Thu Apr 24, 2008 8:19 am Subject: 18F1220 |
Is there a Pic16 chip the pin assignment is the same as 18F1220?
Rgds. |
Topic: CCS Ethernet Development Kit |
[email protected]
Replies: 1
Views: 3908
|
Forum: General CCS C Discussion Posted: Tue Apr 01, 2008 3:38 am Subject: CCS Ethernet Development Kit |
Anyone has know how many RAM and ROM is required to implement a simple TCP/IP client by using the driver and example codes in this development kit?
I am planning to use a smaller pic for this proje ... |
Topic: Ethernet Modem |
[email protected]
Replies: 2
Views: 5331
|
Forum: General CCS C Discussion Posted: Thu Mar 27, 2008 4:04 am Subject: Ethernet Modem |
I have a RS232 device that need to send the data via lan to a pc in the same lan. A program is running on the pc as a server that listern to a specific port.
Is there any existing (low price) hardw ... |
Topic: 16F648A internal eeprom |
[email protected]
Replies: 1
Views: 3576
|
Forum: General CCS C Discussion Posted: Thu Nov 29, 2007 9:00 pm Subject: 16F648A internal eeprom |
I am using the internal eeprom of the chip to store data and found that very high percentage (> 10%, 3 in 20 chips) are corrupted after very short running time (around 1 month). The eeprom data sto ... |
Topic: FAT32 code for MultiMedia Cards |
[email protected]
Replies: 66
Views: 554419
|
Forum: Code Library Posted: Thu Nov 22, 2007 12:03 am Subject: FAT32 code for MultiMedia Cards |
Any informatin on how to modify this code to work for SD card?
Rgds |
Topic: 12f629 power-on-reset |
[email protected]
Replies: 2
Views: 4775
|
Forum: General CCS C Discussion Posted: Sat Dec 09, 2006 3:35 am Subject: 12f629 power-on-reset |
Thnaks for the advise.
BOD is not suitbale for my design because it will use 109 uA at 5V which is far too much for my power budget.
I put 2 1N4148 to drop the voltage from 6V to 4.8V. |
|