Author |
Message |
Topic: How to break out from I2C lockup incident |
capfelix
Replies: 1
Views: 4803
|
Forum: General CCS C Discussion Posted: Tue Apr 03, 2007 9:21 am Subject: How to break out from I2C lockup incident |
Hi,
I'm using compiler v3.249. I'm using CCS I2C built-in function (#use i2c....). Occasionally when I transfer information through I2C bus, I will faced some software hang problem. This hang usual ... |
Topic: Sending floating point number using CCS USB HID code |
capfelix
Replies: 0
Views: 2792
|
Forum: General CCS C Discussion Posted: Thu Mar 29, 2007 3:22 am Subject: Sending floating point number using CCS USB HID code |
Hi,
Currently I'm using CCS USB HID code as the template for my USB related projects. So far, everything is ok and I'm using the code to transmit integer in byte format.
If I want to transmit fl ... |
Topic: How to prevent #use I2C to hang up |
capfelix
Replies: 2
Views: 4508
|
Forum: General CCS C Discussion Posted: Thu Mar 29, 2007 3:21 am Subject: How to prevent #use I2C to hang up |
First of all, I'm not Fabri although our problem seems similar.
I'm using ICD from Microchip as the emulator. Another thing is that v3 and v4, I noticed the I2C routine in v3 is more stable than v4 ... |
Topic: #use i2c fast=400000 doesn't output such bitrate |
capfelix
Replies: 5
Views: 7180
|
Forum: General CCS C Discussion Posted: Thu Mar 29, 2007 1:30 am Subject: #use i2c fast=400000 doesn't output such bitrate |
Hi,
I'm using PIC18F4455 and the pin is B0 and B1, which are MSSP I2C pin.
I'm using compiler v4.017.
#include
#use delay(clock=20000000)
#use i2c(master, sda=PIN_B0, scl=PIN_B1, FORCE_H ... |
Topic: #use i2c fast=400000 doesn't output such bitrate |
capfelix
Replies: 5
Views: 7180
|
Forum: General CCS C Discussion Posted: Tue Mar 27, 2007 10:22 am Subject: #use i2c fast=400000 doesn't output such bitrate |
Running at 20Mhz and I'm using Force_HW. |
Topic: How to prevent #use I2C to hang up |
capfelix
Replies: 2
Views: 4508
|
Forum: General CCS C Discussion Posted: Tue Mar 27, 2007 10:12 am Subject: How to prevent #use I2C to hang up |
Hi,
Sometimes my I2C bus will hang at #use I2C line during emulation. Is there anyway to break out from this situation (without using WDT) or anyway to prevent it from getting stuck at #use I2C dur ... |
Topic: #use i2c fast=400000 doesn't output such bitrate |
capfelix
Replies: 5
Views: 7180
|
Forum: General CCS C Discussion Posted: Tue Mar 27, 2007 9:40 am Subject: #use i2c fast=400000 doesn't output such bitrate |
Hi,
I have trouble getting a correct I2C speed by using #use i2c fast=400000. What I measured on the bus is only around 200khz instead of 400khz as what written in the code. I have to increase it t ... |
Topic: How to monitor battery level that is running the PIC itself? |
capfelix
Replies: 3
Views: 8452
|
Forum: General CCS C Discussion Posted: Sun May 21, 2006 10:22 am Subject: How to monitor battery level that is running the PIC itself? |
Hi,
Did anyone have any experience with designing a battery monitoring system that monitor the PIC controller battery level?
I have a PIC controller running on 2 AA size battery (3V in total). I ... |
Topic: What is the lowest implementation cost for my infrared comm? |
capfelix
Replies: 1
Views: 3548
|
Forum: General CCS C Discussion Posted: Sun May 21, 2006 10:00 am Subject: What is the lowest implementation cost for my infrared comm? |
Hi,
I'm a newbie in infrared communication. I have a project here which involved bidirectional infrared communication (half-duplex type). I have a receiver which sit on top of a room ceiling and a ... |
|