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: Problem with Controller area network (CAN)
EL

Replies: 2
Views: 5529

PostForum: General CCS C Discussion   Posted: Fri Mar 28, 2008 3:50 am   Subject: Problem with Controller area network (CAN)
I thank PCM programmer Smile
I will check this all really on Monday because I will be then dust card CAN.
You assured me in conviction from these TRIS'es.thanks
I will improve also settings SPI and ...
  Topic: Problem with Controller area network (CAN)
EL

Replies: 2
Views: 5529

PostForum: General CCS C Discussion   Posted: Thu Mar 27, 2008 12:02 pm   Subject: Problem with Controller area network (CAN)
Hi
I use from PIC16F876 MCP2515.
Bus speed: 125kb/s
I can not send data to card CAN at PC "Advantech PCL -841"

My hardware this:

16F876 MCP2515 PCA82C250
---SI----& ...
  Topic: PIC16F876 + MCP2515
EL

Replies: 19
Views: 16467

PostForum: General CCS C Discussion   Posted: Thu Mar 06, 2008 12:57 pm   Subject: PIC16F876 + MCP2515
I understand you:)
Only or I can not this check without use RS232?

Be not nervous PCM programmer.
I learn continually and I am obstinate, but and ambitious:)
  Topic: PIC16F876 + MCP2515
EL

Replies: 19
Views: 16467

PostForum: General CCS C Discussion   Posted: Thu Mar 06, 2008 12:43 pm   Subject: PIC16F876 + MCP2515
1. writes of something to MCP2515 through SPI
2. read of something from MCP2515 through SPI
  Topic: PIC16F876 + MCP2515
EL

Replies: 19
Views: 16467

PostForum: General CCS C Discussion   Posted: Thu Mar 06, 2008 12:33 pm   Subject: PIC16F876 + MCP2515
I think that I am on intermediate level. You brought in to subject this what already earlier I knew, and so not many.I despite this thank and I calculate that someone oneself it will express yet?
I w ...
  Topic: PIC16F876 + MCP2515
EL

Replies: 19
Views: 16467

PostForum: General CCS C Discussion   Posted: Tue Mar 04, 2008 5:54 pm   Subject: PIC16F876 + MCP2515
Unfortunately, I do not join with PC across RS -232.
I want to know only or I exchange from MCP2515 data.
In several days I will be dust card CAN installed at PC and I will check then...
And I wo ...
  Topic: PIC16F876 + MCP2515
EL

Replies: 19
Views: 16467

PostForum: General CCS C Discussion   Posted: Tue Mar 04, 2008 5:29 pm   Subject: PIC16F876 + MCP2515
I'm sorry still I learn and I use MPLAB'a as well as CCS'a 4.013.
I do not know where to read in compiler this?:(((

CAN CFG TEST

Resetting the MCP2515

Reading registers...
CANSTAT = 40 ...
  Topic: PIC16F876 + MCP2515
EL

Replies: 19
Views: 16467

PostForum: General CCS C Discussion   Posted: Tue Mar 04, 2008 3:35 pm   Subject: PIC16F876 + MCP2515
Programme was executed OK...only how to check or I write something and I read from MCP2515 trough SPI?
Does transport among PIC and MCP run?
  Topic: PIC16F876 + MCP2515
EL

Replies: 19
Views: 16467

PostForum: General CCS C Discussion   Posted: Tue Mar 04, 2008 3:06 pm   Subject: PIC16F876 + MCP2515
I did not check this programme because I do not know or < mcp2515.c > this the same what <can - mcp 251x.c> and <can - mcp 251x.h>?
  Topic: PIC16F876 + MCP2515
EL

Replies: 19
Views: 16467

PostForum: General CCS C Discussion   Posted: Tue Mar 04, 2008 2:17 pm   Subject: PIC16F876 + MCP2515
This second programme:

#include <16F876.h>
#include <F876.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=4000000)
#use rs232(DEBUGGER)


#define SPI_CS PIN_ ...
  Topic: PIC16F876 + MCP2515
EL

Replies: 19
Views: 16467

PostForum: General CCS C Discussion   Posted: Tue Mar 04, 2008 6:07 am   Subject: PIC16F876 + MCP2515
Hi!
I compiled this programme:

#include <16F876.h>
#include <F876.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=4000000)


//#include <can-mcp251x.h>

#defi ...
  Topic: PIC16F876 + MCP2515
EL

Replies: 19
Views: 16467

PostForum: General CCS C Discussion   Posted: Sun Mar 02, 2008 10:48 am   Subject: PIC16F876 + MCP2515
Is someone who will say me how in CCS record some value to MCP2515 and read? through SPI?
this for me very important...
  Topic: Want some tutorials regarding SPI
EL

Replies: 6
Views: 7477

PostForum: General CCS C Discussion   Posted: Sun Mar 02, 2008 9:10 am   Subject: Want some tutorials regarding SPI
Version my CCS this 4.013
I know the principle of working the SPI in assembler.
I know this document.
I have this only to write in C and I from this have problem.
I greet EL
  Topic: Want some tutorials regarding SPI
EL

Replies: 6
Views: 7477

PostForum: General CCS C Discussion   Posted: Sun Mar 02, 2008 5:21 am   Subject: Want some tutorials regarding SPI
Hi Zer0flag
You have can e-book?
I look for from very long this book and nothing:(

- Check ex_spi.c and ex_spi_slave.c in the examples directory of the CCS compiler.
I have not in my CCS this...
  Topic: PIC16F876 + MCP2515
EL

Replies: 19
Views: 16467

PostForum: General CCS C Discussion   Posted: Mon Feb 25, 2008 4:38 am   Subject: PIC16F876 + MCP2515
Hi!
I am from Poland.
I apologize for my English Smile
I would like to exchange among PIC16F876 information and MCP2515.
AN212 my equipment be leaning about note only Appendix A.
So as earlier wrot ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group