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 9 matches
CCS Forum Index
Author Message
  Topic: Help with my code
achotto

Replies: 7
Views: 7734

PostForum: General CCS C Discussion   Posted: Tue Dec 04, 2007 6:58 am   Subject: Help with my code
Well in my header file, I am writing a 0x32 and 0x30 to the AMB_COMP_CTRL0, but when I read back from this address I get 0x06 and 0x00, and I don't know why this is.

I'm positive I have the I2C dev ...
  Topic: Help with my code
achotto

Replies: 7
Views: 7734

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2007 9:36 pm   Subject: Help with my code
I made those changes, but when I look at the values of the read commands, they are still incorrect, is there anything else wrong with my code? Thanks
  Topic: Help with my code
achotto

Replies: 7
Views: 7734

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2007 8:40 pm   Subject: Help with my code
I'm just looking for someone to take a look at the code I wrote, because I'm not sure if it's correct or not. I think I coded everything correct, but when I look at the addresses to see the values th ...
  Topic: Fuses for the 18F4520
achotto

Replies: 1
Views: 4399

PostForum: General CCS C Discussion   Posted: Fri Nov 30, 2007 11:52 am   Subject: Fuses for the 18F4520
When writing code for the PIC18F4520, do you have to assign fuses before you try to load your program onto your host device? I'm kind of confused what all these fuses are for, can someone point me in ...
  Topic: Problems downloading code onto PIC
achotto

Replies: 1
Views: 3376

PostForum: General CCS C Discussion   Posted: Thu Nov 29, 2007 8:47 pm   Subject: Problems downloading code onto PIC
I'm trying to Program my PIC18F4520 using the MPLAB ICD 2 and when I try to download the program onto on my PIC, I get this error:

ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected ...
  Topic: Simple i2c programming issue
achotto

Replies: 2
Views: 3820

PostForum: General CCS C Discussion   Posted: Thu Nov 29, 2007 11:52 am   Subject: Simple i2c programming issue
"The AD7147-1 address pointer register automatically increments after each write. This allows the master to sequentially write to all registers on the AD7147-1 in the same write transaction" ...
  Topic: Simple i2c programming issue
achotto

Replies: 2
Views: 3820

PostForum: General CCS C Discussion   Posted: Thu Nov 29, 2007 9:59 am   Subject: Simple i2c programming issue
I'm really just looking for someone to help me out with this code, I know there has to be any easier way to configure all the registers in the AD7147 that I'm using, but I just don't know how to code ...
  Topic: I2C timing with the 18F4520
achotto

Replies: 2
Views: 4411

PostForum: General CCS C Discussion   Posted: Tue Nov 27, 2007 9:17 am   Subject: I2C timing with the 18F4520
I was wondering if anyone had any header files for I2C timing using the 18F4520 that I might be able to use? I'm pretty new to programing PICs, so if anyone could give me a brief description of what ...
  Topic: Anybody have any AD7147 Code examples?
achotto

Replies: 0
Views: 3111

PostForum: General CCS C Discussion   Posted: Mon Nov 19, 2007 2:51 pm   Subject: Anybody have any AD7147 Code examples?
I'm just wondering if anyone has any code configuring the AD7147 using the CCS Complier. I'm working on a project for a class and I'm running out of time to figure out how to code everything so I'm j ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group