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 8 matches
CCS Forum Index
Author Message
  Topic: RC522 RFID module SPI
josb86

Replies: 68
Views: 278128

PostForum: General CCS C Discussion   Posted: Wed Oct 30, 2013 9:35 am   Subject: RC522 RFID module SPI
I suggest you start by reading the PIC data sheet.

What clock rate is the maximum if you are running at 3.3v?. It is _not_ the normal full speed of the processor. To run at 20MHz, requires a supply ...
  Topic: RC522 RFID module SPI
josb86

Replies: 68
Views: 278128

PostForum: General CCS C Discussion   Posted: Tue Oct 29, 2013 4:53 pm   Subject: RC522 RFID module SPI
#use rs232(baud=9600,parity=N,xmit=PIN_C7,rcv=PIN_C6,bits=8,stream=RF)

if I understand, if I set the serial com for software I can put the TX and RX where a needed.
You do that, but a software UAR ...
  Topic: RC522 RFID module SPI
josb86

Replies: 68
Views: 278128

PostForum: General CCS C Discussion   Posted: Tue Oct 29, 2013 4:18 pm   Subject: RC522 RFID module SPI
Such a short program and so many problems detected by PCM Programmer. Wink
Couldn't help myself to point another problem: value[0] = spi_xfer(RFID, 0b10000000);
output_low&# ...
  Topic: RC522 RFID module SPI
josb86

Replies: 68
Views: 278128

PostForum: General CCS C Discussion   Posted: Tue Oct 29, 2013 3:32 pm   Subject: #include <pru_spi.h>

#include <16F887.h>
#device adc=16

#FUSES NOWDT //No Watch Dog Timer
#FUSES HS //High speed Osc (> 4mhz for PCM/PCH) (>10mhz for ...
  Topic: RC522 RFID module SPI
josb86

Replies: 68
Views: 278128

PostForum: General CCS C Discussion   Posted: Tue Oct 29, 2013 1:35 pm   Subject: I am use a 3.3 power supply for the pic and the rfid reader.
I am use a 3.3 power supply for the pic and the rfid reader. the conection:


http://image.dhgate.com/desc_373242651_00.jpg

SS to PIN_C2
SCK to PIN_C3
MOSI to PIN_C5
MISO to PIN_C4
GND to GN ...
  Topic: RC522 RFID module SPI
josb86

Replies: 68
Views: 278128

PostForum: General CCS C Discussion   Posted: Tue Oct 29, 2013 11:00 am   Subject: RC522 RFID module SPI
I am trying connect a RC522 RFID module SPI to a pic16F887 but I can't make that this read the code in a RFID card.

datasheet of MFRC522 http://www.nxp.com/documents/data_sheet/MFRC522.pdf

http: ...
  Topic: modbus in 16f887 "modbus_phy_layer_rtu.c " this sa
josb86

Replies: 2
Views: 6772

PostForum: General CCS C Discussion   Posted: Tue Apr 16, 2013 8:12 am   Subject: modbus in 16f887 "modbus_phy_layer_rtu.c " this sa
I tried reinstall the program and before it after compile ok
  Topic: modbus in 16f887 "modbus_phy_layer_rtu.c " this sa
josb86

Replies: 2
Views: 6772

PostForum: General CCS C Discussion   Posted: Mon Apr 15, 2013 3:15 pm   Subject: modbus in 16f887 "modbus_phy_layer_rtu.c " this sa
I am trying to implement modbus protocol in a pic16f887. I have the version 4.140 compiler. I use the project wizard option and when I wish to compile the program, it shows a error in the line " ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group