CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 14 matches
CCS Forum Index
Author Message
  Topic: Issue with DSPIC33FJ12MC202 as I2C Slave
peer9802

Replies: 4
Views: 9685

PostForum: General CCS C Discussion   Posted: Wed Nov 04, 2015 3:50 am   Subject: Issue with DSPIC33FJ12MC202 as I2C Slave
Thanks PCM Programmer,

I tried this, along with a few other addresses, and nothing seems to work. I also commented out the I2C stuff and tested the pins as general IO to verify they are actually f ...
  Topic: Issue with DSPIC33FJ12MC202 as I2C Slave
peer9802

Replies: 4
Views: 9685

PostForum: General CCS C Discussion   Posted: Tue Nov 03, 2015 5:56 pm   Subject: Issue with DSPIC33FJ12MC202 as I2C Slave
Hello,

I'm having some trouble getting a DSPIC33FJ12MC202 to act as an I2C slave (not acknowledging data and not entering the interrupt). The I2C master is a FTDI FT4222 chip where the SCK and SDA ...
  Topic: CCS With OpenLog Device
peer9802

Replies: 7
Views: 13671

PostForum: General CCS C Discussion   Posted: Thu Sep 25, 2014 6:07 pm   Subject: CCS With OpenLog Device
Where's the declaration of 'ii' ? Where is 'i' ever initialized to 0 ?


They are both just above the code I copied (i is also=0 above the second code block). ii is uint16.

One possible concer ...
  Topic: CCS With OpenLog Device
peer9802

Replies: 7
Views: 13671

PostForum: General CCS C Discussion   Posted: Wed Sep 24, 2014 7:29 pm   Subject: CCS With OpenLog Device
Thanks for the help!

I was using the UART pins for something else on my demo board so I took that device off and connected the OpenLog. I also removed the code which prints to the debug monitor an ...
  Topic: CCS With OpenLog Device
peer9802

Replies: 7
Views: 13671

PostForum: General CCS C Discussion   Posted: Tue Sep 23, 2014 7:32 pm   Subject: CCS With OpenLog Device
I'm hoping someone can help me out with an issue I'm having. I purchased an OpenLog module for a process control/data recording project I've been playing around with. I can create files and log, to ...
  Topic: USB demo board (PIC18F4550) with MAX6675
peer9802

Replies: 10
Views: 19095

PostForum: General CCS C Discussion   Posted: Wed Mar 07, 2012 5:44 pm   Subject: USB demo board (PIC18F4550) with MAX6675
Ha! Software vs. hardware setup was it! I guess this may be the downside of blindly copying max6675 code off a forum...

The numbers are a bit off but I'll chalk that up for calibration and being ...
  Topic: USB demo board (PIC18F4550) with MAX6675
peer9802

Replies: 10
Views: 19095

PostForum: General CCS C Discussion   Posted: Wed Mar 07, 2012 2:25 pm   Subject: USB demo board (PIC18F4550) with MAX6675
Still nothing but I borrowed an o-scope from work. It looks like the CS line is dropping low as it should; however, I'm not getting anything on the CLK and DI lines. Could this be a SPI setup issue? ...
  Topic: USB demo board (PIC18F4550) with MAX6675
peer9802

Replies: 10
Views: 19095

PostForum: General CCS C Discussion   Posted: Wed Mar 07, 2012 7:09 am   Subject: USB demo board (PIC18F4550) with MAX6675
Thanks Ben,

I commented out the recommended line; however, I'm still not reading anything.

Yes, the MAX6675 should be straight-forward...

Updated code:
void init_temp()
{ ...
  Topic: USB demo board (PIC18F4550) with MAX6675
peer9802

Replies: 10
Views: 19095

PostForum: General CCS C Discussion   Posted: Tue Mar 06, 2012 10:16 pm   Subject: USB demo board (PIC18F4550) with MAX6675
Hello,

I'm having trouble getting a MAX6675 to work with my CCS USB demo board. I am continuously reading 0 from the chip. Is there anything obvious in my code? The LCD portion works fine. I ca ...
  Topic: Potential issue with PIC16F1823 internal oscillator
peer9802

Replies: 2
Views: 7647

PostForum: General CCS C Discussion   Posted: Wed Nov 23, 2011 5:31 pm   Subject: Potential issue with PIC16F1823 internal oscillator
OK. I was measuring "blink times" using an o-scope and everything looked fine besides the ICD value. I will ignore it for now. On to other issues...
  Topic: Potential issue with PIC16F1823 internal oscillator
peer9802

Replies: 2
Views: 7647

PostForum: General CCS C Discussion   Posted: Wed Nov 23, 2011 3:39 pm   Subject: Potential issue with PIC16F1823 internal oscillator
Hello,

I've just started using CCS C after a four year hiatus. The project I'm working on uses a PIC18F2550 to communicate, via USB, to a computer and act as i2c master to communication with two P ...
  Topic: Intermittent hanging of LCD.c
peer9802

Replies: 4
Views: 4869

PostForum: General CCS C Discussion   Posted: Tue May 29, 2007 7:14 am   Subject: Intermittent hanging of LCD.c
Based on a previous post I had already changed the "delay_cycles(1)" to "delay_us(1)." This didn't help the problem.

The "as-is" flex LCD driver didn't work but comme ...
  Topic: Intermittent hanging of LCD.c
peer9802

Replies: 4
Views: 4869

PostForum: General CCS C Discussion   Posted: Sun May 27, 2007 11:05 am   Subject: Intermittent hanging of LCD.c
PIC connections:
PIC D0 = LCD pin 6
PIC D1 = LCD pin 4
PIC D2 = LCD pin 5
PIC D4 = LCD pin 11
PIC D5 = LCD pin 12
PIC D6 = LCD pin 13
PIC D7 = LCD pin 14

Vdd = 5V for PIC and LCD
V0 connect ...
  Topic: Intermittent hanging of LCD.c
peer9802

Replies: 4
Views: 4869

PostForum: General CCS C Discussion   Posted: Sat May 26, 2007 5:14 pm   Subject: Intermittent hanging of LCD.c
I am working on a project where I am trying to connect a Varitronix LCD (digikey P/N 153-1078-ND) to a PIC18F4520. The problem I am having occurs in the LCD.c file at the while(bit_test(lcd_read_byte ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group