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 15 matches
CCS Forum Index
Author Message
  Topic: Help for ADC mode!
Kyaw Kyaw

Replies: 6
Views: 9627

PostForum: General CCS C Discussion   Posted: Mon Jan 08, 2007 9:53 pm   Subject: Wrong data
Hi all, Now I trying to get sampling and I get the some values expected. Without grounded, I got some values like 03f or sometimes,01fc like that even i didn't feed any analog value. When I connected ...
  Topic: Help for ADC mode!
Kyaw Kyaw

Replies: 6
Views: 9627

PostForum: General CCS C Discussion   Posted: Mon Jan 08, 2007 7:01 pm   Subject: Sorry PCM!
Sorry PCM programmer,
I wrongly posted yesterday. Actually I used pin 4 and 5 (using AN2 and AN3 for Vref + and -.
#define AN0_AN1_VREF_VREF 0x0D // A0 A1 VRefh=A3 VRefl=A2
Could you p ...
  Topic: Help for ADC mode!
Kyaw Kyaw

Replies: 6
Views: 9627

PostForum: General CCS C Discussion   Posted: Mon Jan 08, 2007 8:45 am   Subject: Hi Ttelmah
Hi Ttelmah,
Sorry, I forgot to say clk freq. My one is 20MHz and I tried to use one or two channels. I saw some examples programs written by PWM programmer and tried with these. But ...
  Topic: Help for ADC mode!
Kyaw Kyaw

Replies: 6
Views: 9627

PostForum: General CCS C Discussion   Posted: Mon Jan 08, 2007 2:46 am   Subject: Help for ADC mode!
Hi all,
Anybody will help me to get the example program for ADC conversion. I want to convert from 2V analog data to 10 bit digital value. My PIC is 16F877A. Thanks a lot!!! Acutally I don't ...
  Topic: Advise me how to make the Digital I/O controller
Kyaw Kyaw

Replies: 2
Views: 3934

PostForum: General CCS C Discussion   Posted: Thu Dec 28, 2006 7:51 pm   Subject: Greatfully Thanks!!!
Hi rwyoung,
Thanks for your supports. Your advices are very useful for me like New Year Gifts. I will do it as you instructed. I would like to use USB or maybe RS232 and prefer the la ...
  Topic: Advise me how to make the Digital I/O controller
Kyaw Kyaw

Replies: 2
Views: 3934

PostForum: General CCS C Discussion   Posted: Wed Dec 27, 2006 7:51 pm   Subject: Advise me how to make the Digital I/O controller
Hi all,
I would like to create my own I/O controller with PIC 18F4550 including with the OS interface Smile Smile Smile . Could you please advise me Which books are suitable for me to create the I/ ...
  Topic: Help for the I2C communication!
Kyaw Kyaw

Replies: 14
Views: 19904

PostForum: General CCS C Discussion   Posted: Thu Dec 21, 2006 2:44 am   Subject: It is IC's fault!
Hi all, Today i tried to see the sda and scl pin outputs with scope and i found that it is working according to the timing diagram of ISL 29001 but still got FFFF hex and it was not included the 30 he ...
  Topic: Help for the I2C communication!
Kyaw Kyaw

Replies: 14
Views: 19904

PostForum: General CCS C Discussion   Posted: Tue Dec 19, 2006 11:20 pm   Subject: hi pwm programmer
i also tried with ur program also. but still cannot get the result. that why i tried to use this program.

thanks & best regards,
kyaw kyaw.
  Topic: Help for the I2C communication!
Kyaw Kyaw

Replies: 14
Views: 19904

PostForum: General CCS C Discussion   Posted: Tue Dec 19, 2006 9:39 pm   Subject: Reply
Hi PWM programmer,
I didn't change anything except the PIN Assignement for RS 232 mode because I used B0 and B5 to communication with computer. The rests are still the s ...
  Topic: Help for the I2C communication!
Kyaw Kyaw

Replies: 14
Views: 19904

PostForum: General CCS C Discussion   Posted: Tue Dec 19, 2006 7:31 pm   Subject: Thank for ur supports
Hi all,
Thanks for ur supports. But now i try to run with PWM Programmer's code and i made all the setting correctly according to the schematic shown in the ISL 29001 datasheet. Actually I w ...
  Topic: Help for the I2C communication!
Kyaw Kyaw

Replies: 14
Views: 19904

PostForum: General CCS C Discussion   Posted: Tue Dec 19, 2006 3:43 am   Subject: Hi PWM Programmer
Hi,
I tried to burn ur program and run it but still not change the value from FFFF. Could you please show me how to set the clk freq for communication? I don't know how to change the clk freq for ...
  Topic: Help for the I2C communication!
Kyaw Kyaw

Replies: 14
Views: 19904

PostForum: General CCS C Discussion   Posted: Mon Dec 18, 2006 8:39 pm   Subject: my Light Sensor ID and Codes
Hi PWM programmer,

I don't know how to set the clk freq in I2C mode. Could you kindly show me how to set the freq please?

My light sensor I tried to communicate with PIC is ISL 29001. And below ...
  Topic: Help for the I2C communication!
Kyaw Kyaw

Replies: 14
Views: 19904

PostForum: General CCS C Discussion   Posted: Mon Dec 18, 2006 7:26 pm   Subject: Help for the I2C communication!
Hi all,
Now I faced the problem with I2C communication between PIC 16F877A and Light sensor. When I read data from sensor, I always get FF(hex) value. My light sensor Acceptable freq is 400K ...
  Topic: I2C Stop Conditions
Kyaw Kyaw

Replies: 7
Views: 9360

PostForum: General CCS C Discussion   Posted: Mon Dec 18, 2006 7:13 pm   Subject: Still got the problem!
Hi Ttelmah,
Now my pic can work with I2C mode but it showed all value of FF (hex) when i read the data from the light sensor. When I read through the sensor manual, it acceptable freq ...
  Topic: I2C Stop Conditions
Kyaw Kyaw

Replies: 7
Views: 9360

PostForum: General CCS C Discussion   Posted: Mon Dec 18, 2006 1:18 am   Subject: confusing with I2C mode
Hello all,
I am a just starting user of PIC and CCS. Now I am trying to communicate ISL29001 I2C enabled light sensor and PIC 16F877A. I read through the CCS manual and write down the cod ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group