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 17 matches
CCS Forum Index
Author Message
  Topic: Comparator in PIC16F877A
girichavana

Replies: 1
Views: 7648

PostForum: General CCS C Discussion   Posted: Tue Dec 29, 2009 5:24 am   Subject: Comparator in PIC16F877A
Hi

I want to test the Comparator module in my board with the internal reference.
Following is my code. In this I am continuously getting the interrupt.
Please let me know the mistake.

/****** ...
  Topic: CAN Node with PIC16F877A and MCP2515
girichavana

Replies: 21
Views: 43169

PostForum: General CCS C Discussion   Posted: Wed Oct 21, 2009 5:48 am   Subject: CAN Node with PIC16F877A and MCP2515
Hi,

I worked with your test program and it is working fine

Now I modified your code to work like a chatting system b/w two PC's as shown below

PC-1 <-----> NODE1 <-----> NODE ...
  Topic: CAN Node with PIC16F877A and MCP2515
girichavana

Replies: 21
Views: 43169

PostForum: General CCS C Discussion   Posted: Wed Oct 21, 2009 2:22 am   Subject: CAN Node with PIC16F877A and MCP2515
Thanks a lot

I got some ack b/w the two nodes

With some other information i will get back to you


Thanks and regards
  Topic: CAN Node with PIC16F877A and MCP2515
girichavana

Replies: 21
Views: 43169

PostForum: General CCS C Discussion   Posted: Tue Oct 20, 2009 11:36 pm   Subject: CAN Node with PIC16F877A and MCP2515
Hi,

Thank you.

With the above modifications I got the loopback mode perfectly.

Now I am trying to transmit the data b/w each other.

I will be thankful if you provide any sample code to tx- ...
  Topic: CAN Node with PIC16F877A and MCP2515
girichavana

Replies: 21
Views: 43169

PostForum: General CCS C Discussion   Posted: Tue Oct 20, 2009 6:03 am   Subject: CAN Node with PIC16F877A and MCP2515
I am giving the link to my circuit pls verify it

http://tinypic.com/r/1zohr2b/4
  Topic: CAN Node with PIC16F877A and MCP2515
girichavana

Replies: 21
Views: 43169

PostForum: General CCS C Discussion   Posted: Sat Oct 17, 2009 11:26 pm   Subject: CAN Node with PIC16F877A and MCP2515
Sry,

I connected PIC to MCP2515 only. By mistake I entered MCP2551 instead of MCP2515.

With the above program I am not getting the CAN Initializing properly.

It is giving the output as follo ...
  Topic: CAN Node with PIC16F877A and MCP2515
girichavana

Replies: 21
Views: 43169

PostForum: General CCS C Discussion   Posted: Fri Oct 16, 2009 7:34 am   Subject: CAN Node with PIC16F877A and MCP2515
After a long time again I started to fight with the CAN.

My board is not answering properly for the loopback mode.

Is it needs any pullups for the IO lines b/w the PIC and the MCP2551?

Thanks
  Topic: CAN Node with PIC16F877A and MCP2515
girichavana

Replies: 21
Views: 43169

PostForum: General CCS C Discussion   Posted: Thu Aug 20, 2009 2:58 am   Subject: CAN Node with PIC16F877A and MCP2515
Hi,

The following is the output

Can Sample
Starting
tx ok
rx ok
rx ok
tx ok
rx ok
rx ok
tx ok
rx ok
rx ok
rx ok
tx ok
rx ok
tx ok
rx ok
tx ok
rx ok
tx ok
rx ok
rx ok
  Topic: CAN Node with PIC16F877A and MCP2515
girichavana

Replies: 21
Views: 43169

PostForum: General CCS C Discussion   Posted: Thu Aug 20, 2009 1:05 am   Subject: CAN Node with PIC16F877A and MCP2515
Hi,

I don't know how to post the .jpg file.

The board is designed by myself.

I modified the code as follows:

#include <16F877A.h>

#fuses HS,NOPROTECT,NOLVP,NOWDT
#use delay(c ...
  Topic: CAN Node with PIC16F877A and MCP2515
girichavana

Replies: 21
Views: 43169

PostForum: General CCS C Discussion   Posted: Fri Aug 07, 2009 2:20 am   Subject: CAN Node with PIC16F877A and MCP2515
Hi,

I am getting the output as follows for the above code

rx ok
Starting
tx ok
rx ok
rx ok
Starting
rx ok
tx ok
rx ok
rx ok
rx ok
rx ok
rx ok
rx ok
rx ok
rx ok
rx ok
rx ok
rx o ...
  Topic: CAN Node with PIC16F877A and MCP2515
girichavana

Replies: 21
Views: 43169

PostForum: General CCS C Discussion   Posted: Thu Aug 06, 2009 10:14 pm   Subject: CAN Node with PIC16F877A and MCP2515
Hi,

Thanks for the reply

How to set my hardware to the LOOPBACK mode.

Its not mentioned in the forum

Thanks and regards
  Topic: CAN Node with PIC16F877A and MCP2515
girichavana

Replies: 21
Views: 43169

PostForum: General CCS C Discussion   Posted: Thu Aug 06, 2009 8:35 am   Subject: CAN Node with PIC16F877A and MCP2515
Hi,

I am designing the two CAN nodes with PIC16F877A and MCP2515.

I am using the CCS C libraries:

#include <can-mcp251x.h>
#include <can-mcp251x.c>

But I am not getting the p ...
  Topic: 33Khz square wave generation with PIC16F676
girichavana

Replies: 10
Views: 11928

PostForum: General CCS C Discussion   Posted: Tue Oct 28, 2008 8:38 am   Subject: 33Khz square wave generation with PIC16F676
Thanks,

I got the 33khz with the ASM. How can I include the ASM routine in the CCS C ?

Regards
  Topic: 33Khz square wave generation with PIC16F676
girichavana

Replies: 10
Views: 11928

PostForum: General CCS C Discussion   Posted: Sun Oct 26, 2008 7:14 am   Subject: 33Khz square wave generation with PIC16F676
The following is the code that i have written. I have simulated this by using the PROTEUS. But it is giving 6kHz. I tested with oscilloscope also. The result is same.

#include <16F676.h>
#fu ...
  Topic: 33Khz square wave generation with PIC16F676
girichavana

Replies: 10
Views: 11928

PostForum: General CCS C Discussion   Posted: Sun Oct 26, 2008 12:07 am   Subject: 33Khz square wave generation with PIC16F676
Thanks,

Your code is working properly, but my application includes some
other tasks. So here I want to use the Timer0 interrupt for this.

I want to calculate the Timer0 loadable value to ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group