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 11 matches
CCS Forum Index
Author Message
  Topic: USB-HID resetting the pic18f4550
Doglao

Replies: 3
Views: 6801

PostForum: General CCS C Discussion   Posted: Fri Nov 26, 2010 9:17 pm   Subject: USB-HID resetting the pic18f4550
It's too early to say that this running now, return to resetting again.
  Topic: USB-HID resetting the pic18f4550
Doglao

Replies: 3
Views: 6801

PostForum: General CCS C Discussion   Posted: Fri Nov 26, 2010 8:56 pm   Subject: USB-HID resetting the pic18f4550
Yes Laughing this is the problem, I disabled the interrupts in
both lcd and i2c source code with long times, thanks a
lot, now this is running at this moment and no reset, but
the lcd is corrupte ...
  Topic: USB-HID resetting the pic18f4550
Doglao

Replies: 3
Views: 6801

PostForum: General CCS C Discussion   Posted: Fri Nov 26, 2010 1:13 pm   Subject: USB-HID resetting the pic18f4550
Hi there!!!

I'm very confused and a bit bored, I'm trying to comunicate with my pic18f4550 in usb hid mode, but after each minute the micro reset and lost the connection, this takes place all time ...
  Topic: MCP3021 don't work!
Doglao

Replies: 14
Views: 20371

PostForum: General CCS C Discussion   Posted: Thu Nov 01, 2007 4:06 pm   Subject: MCP3021 don't work!
Thanks for all!
it is working now!
I put a 11us delay before read the data, this delay is necessary to make a acquisition time Tacq(1.12usec) plus Conversion Time Tconv(8.96) and this work well, t ...
  Topic: MCP3021 don't work!
Doglao

Replies: 14
Views: 20371

PostForum: General CCS C Discussion   Posted: Thu Nov 01, 2007 12:53 pm   Subject: MCP3021 don't work!
Thanks Ronald!

MCP3021A5T-E/OT
the address that I use is 101 that match with the A5 address options of partnumber.
  Topic: MCP3021 don't work!
Doglao

Replies: 14
Views: 20371

PostForum: General CCS C Discussion   Posted: Thu Nov 01, 2007 11:32 am   Subject: MCP3021 don't work!
Thanks to reply PCM Programmer!
Yes !! are existing pullups with those resistors that you mentioned in both lines sda and scl. and this circuit work well with other device 12c mcp23016 that I use in ...
  Topic: MCP3021 don't work!
Doglao

Replies: 14
Views: 20371

PostForum: General CCS C Discussion   Posted: Wed Oct 31, 2007 6:09 pm   Subject: MCP3021 don't work!
is not working! I make the changes in the configuration of porta letting the compiler set your configurations and also change all addresses possibles and not working yet.
is my code wrong on theirs ...
  Topic: MCP3021 don't work!
Doglao

Replies: 14
Views: 20371

PostForum: General CCS C Discussion   Posted: Wed Oct 31, 2007 2:00 pm   Subject: MCP3021 don't work!
Thanks Ronald!
I'm using the default address 101 because the part don't was ordered from microchip.com with a special address. this was buyed from a supplier informal , but is not a bad idea to pro ...
  Topic: MCP3021 don't work!
Doglao

Replies: 14
Views: 20371

PostForum: General CCS C Discussion   Posted: Wed Oct 31, 2007 1:42 pm   Subject: MCP3021 don't work!
Hi! Wayne_
is not running yet! I believe that need a delay time more great than the current for each calling to the read_ad function, but I make the changes and not run to.
my circuit is the same t ...
  Topic: MCP3021 don't work!
Doglao

Replies: 14
Views: 20371

PostForum: General CCS C Discussion   Posted: Wed Oct 31, 2007 11:39 am   Subject: MCP3021 don't work!
Thanks Wayne_!
I'm going to prove with this change, is need firstly to send the device code as lsb. so! this seam like this:
i2c_write(0b10011011); // first four bits is the device code fall ...
  Topic: MCP3021 don't work!
Doglao

Replies: 14
Views: 20371

PostForum: General CCS C Discussion   Posted: Wed Oct 31, 2007 10:11 am   Subject: MCP3021 don't work!
Hi there!
I make a code to comunicate with a i2c mcp3021 device but it don'work!
what's wrong with my code?
struct DoisBytes
{
int iLsb;
int iMsb;
};
union Junta_dados
{
in ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group