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 21 matches
CCS Forum Index
Author Message
  Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt
yuripace

Replies: 286
Views: 1474195

PostForum: Code Library   Posted: Fri Jan 31, 2014 12:28 pm   Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt
yes, I suggest you copy RF24_default_config() to your program, and change function name and parameters as you want to.

Try to not change driver files(only change if you want to improve something o ...
  Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt
yuripace

Replies: 286
Views: 1474195

PostForum: Code Library   Posted: Sun Jan 26, 2014 7:12 am   Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt
Check enum and #define in CCS help file.
apply the commands inside your program.
I dont uderstand Smile

So i have to change only the RF24_default_config function to make the driver working?
or y ...
  Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt
yuripace

Replies: 286
Views: 1474195

PostForum: Code Library   Posted: Sun Jan 26, 2014 4:52 am   Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt
yes, just this. "1rdda" is the address in ascii format. You can use any other 5byte pointer for address.

just one question..should i change also che .c files?
this is the changed raspy ...
  Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt
yuripace

Replies: 286
Views: 1474195

PostForum: Code Library   Posted: Sun Jan 19, 2014 6:07 am   Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt
i need lot of luck :D but i made a small step forward, i found the default config of the raspberry.

SPI device = /dev/spidev0.0
SPI speed = 8000000
CE GPIO = 25
STATUS = ...
  Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt
yuripace

Replies: 286
Views: 1474195

PostForum: Code Library   Posted: Sat Jan 18, 2014 11:07 am   Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt
another update Smile
I'm trying to communicate pifc16f876+nrf24l01 (with your driver) to a raspberry+nrf24l01 (with RF24lib, using this guide to configure and do a sample program http://hack.lenotta.co ...
  Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt
yuripace

Replies: 286
Views: 1474195

PostForum: Code Library   Posted: Thu Jan 16, 2014 4:28 am   Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt
you're right, with older ccompiler version (4.114) all compiles correctly.
I'll try later to check and try all the example and (most important) to check that all my project works also with v4 compile ...
  Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt
yuripace

Replies: 286
Views: 1474195

PostForum: Code Library   Posted: Wed Jan 15, 2014 6:45 am   Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt
yes, this is all the (updated) include part

#include <16F876.h>
#device (PASS_STRINGS=IN_RAM)
#device (ICD=TRUE)

#use delay(clock = 16000000)
#fuses HS, NOPROTE ...
  Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt
yuripace

Replies: 286
Views: 1474195

PostForum: Code Library   Posted: Wed Jan 15, 2014 12:42 am   Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt
this line
rv=spi_xfer(RF24_SPI, comm1, commDS);//Write config.value or command(1 to 32 bits of data)___I CANNOT USE RF24_xfer() ALIAS BECAUSE IT NOT ACCEPTS MORE THAN 1 PARAME ...
  Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt
yuripace

Replies: 286
Views: 1474195

PostForum: Code Library   Posted: Tue Jan 14, 2014 4:05 pm   Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt
this is the function with error

int RF24_comm(int comm, int32 comm1, int commDS) { //commDS=datasize(1 to 32 bits)
int rv; //rv=return value& ...
  Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt
yuripace

Replies: 286
Views: 1474195

PostForum: Code Library   Posted: Mon Jan 13, 2014 11:57 am   Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt
good! the last error now is this..
rv=spi_xfer(RF24_SPI, comm1, commDS);

error 27: expression must evaluate to a constant (with commDS underlined)

any ideas?

thanks for your help!!!
  Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt
yuripace

Replies: 286
Views: 1474195

PostForum: Code Library   Posted: Sun Jan 12, 2014 11:55 am   Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt
Seems some incompatibilities berween driver and 16f876.h include file. i'll check but i copied your drivers 2 times,so i dont think in a copy/past error
  Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt
yuripace

Replies: 286
Views: 1474195

PostForum: Code Library   Posted: Sun Jan 12, 2014 6:58 am   Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt
Dear Yuri,

You´ve to incluve nRF24L01P.C(main driver file), not nRF24L01P.h(definition drive), but you need both.


#include <nRF24L01P.C> //Driver nRF24L01+ Single Chip 2.4GH ...
  Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt
yuripace

Replies: 286
Views: 1474195

PostForum: Code Library   Posted: Sun Jan 12, 2014 6:38 am   Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt
using pic16f876 with your driver, i get these errors:

info 300 file 16f876.h line 407(11,25) More info: first declaration of tx_buffer_full
error 31: nRF24L01P.h line 92(4,18)identifier is already ...
  Topic: DS18S20 & DS18B20 Codes
yuripace

Replies: 54
Views: 665697

PostForum: Code Library   Posted: Sat Jan 04, 2014 4:28 am   Subject: DS18S20 & DS18B20 Codes
following this

http://www.ccsinfo.com/forum/viewtopic.php?t=40106&start=15

and changing the delay after the convert command to 700ms, now its working, tried at 5v, 4.5v and 3.5v Smile
  Topic: DS18S20 & DS18B20 Codes
yuripace

Replies: 54
Views: 665697

PostForum: Code Library   Posted: Sat Jan 04, 2014 4:03 am   Subject: DS18S20 & DS18B20 Codes
i'm trying different configuration. i'm using scanan code, pic16f876 and external 16mhz clock. I dont know why, now also 5v dont work, stucked at 85°.
1 - parasite power mode: pin 1 and 3 connected ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group