Author |
Message |
Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt |
kenvinh
Replies: 286
Views: 1354069
|
Forum: Code Library Posted: Fri Jun 22, 2012 9:09 am Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt |
Hi, Eduaro.
After spending some time checking back my spi connections. I found out some mistakes and now I'm sure my spi connection is ok now (I made communication with 25LC256 eeprom)
I backed on m ... |
Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt |
kenvinh
Replies: 286
Views: 1354069
|
Forum: Code Library Posted: Wed Jun 20, 2012 10:35 am Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt |
Ok, I got it, thanks |
Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt |
kenvinh
Replies: 286
Views: 1354069
|
Forum: Code Library Posted: Wed Jun 20, 2012 10:05 am Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt |
Yes, Eduardo, your code is mostly compatible with my nRF24L01.
The differences at the command is like I said.
About the register, there's also some differences:
1. At RF_SETUP (0x06): nRF24L01+ ha ... |
Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt |
kenvinh
Replies: 286
Views: 1354069
|
Forum: Code Library Posted: Tue Jun 19, 2012 6:40 pm Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt |
My module is also nRF24L01, and as the specification I read, it can also reach the 2mbps rate, only the nRF2401 is limited at 1mbps.
As far as I know when reading the datasheet, the reason nRF24L01 n ... |
Topic: Hardware SPI make PIC stop |
kenvinh
Replies: 10
Views: 18861
|
Forum: General CCS C Discussion Posted: Mon Jun 18, 2012 7:54 am Subject: Hardware SPI make PIC stop |
Ok, sorry for not clarifying the new configuration.
In this new test, I use only one 16f876a as a master just to test the clock signal, that means I just want to confirm the 16f spi function generate ... |
Topic: Hardware SPI make PIC stop |
kenvinh
Replies: 10
Views: 18861
|
Forum: General CCS C Discussion Posted: Mon Jun 18, 2012 4:44 am Subject: Problem detected |
Hi, thanks for you all quick replies.
I checked my SPI, and I detect some interesting issue.
Ok, as I said before, I want to test spi communication between 2 different clock speed, that is 18F4550 a ... |
Topic: Hardware SPI make PIC stop |
kenvinh
Replies: 10
Views: 18861
|
Forum: General CCS C Discussion Posted: Sat Jun 16, 2012 6:24 am Subject: Hardware SPI make PIC stop |
Yeah, after some calculation as stated in the datasheet of 18f4550, I had the 24MHz clock on 18f4550!! The 16f876a is running at 20MHz for sure because it has no pll.
Just another question, when the ... |
Topic: Hardware SPI make PIC stop |
kenvinh
Replies: 10
Views: 18861
|
Forum: General CCS C Discussion Posted: Sat Jun 16, 2012 5:04 am Subject: Hardware SPI make PIC stop |
I'm trying to test my SPI hardware connection, so I use these code I've found on internet just recently.
I'm using one 18f4550 (20MHz ; CPUDIV4) and one 16f876a (20MHz). Compiler v4.114
About hardwa ... |
Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt |
kenvinh
Replies: 286
Views: 1354069
|
Forum: Code Library Posted: Sat Jun 16, 2012 4:55 am Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt |
Hi Eduardo,
I'm trying to check back my spi connection on forum.
I'll post back when I solve it. Thanks |
Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt |
kenvinh
Replies: 286
Views: 1354069
|
Forum: Code Library Posted: Fri Jun 15, 2012 4:22 am Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt |
Thanks for your suggestion, now I can get rid of the stucking position by using software spi and disable all the line with spi_read2() and it's really exciting to see it can get through:
#USE SPI ... |
Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt |
kenvinh
Replies: 286
Views: 1354069
|
Forum: Code Library Posted: Thu Jun 14, 2012 10:35 am Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt |
Yeah, thanks, I will try to use software spi and disable every line of spi_read() like you said.
By the way, I don't have my own debugger, so I use printf function there only to check the spi_xfer() ... |
Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt |
kenvinh
Replies: 286
Views: 1354069
|
Forum: Code Library Posted: Thu Jun 14, 2012 2:36 am Subject: spi_xfer() problem |
Hi Eduardo, I'm very interested with your code about nRF24L01.
I've read through your code and implement it with my PIC16F876A as the receiver and nRF24L01 on CCS PICC 4.106 with 20MHz crystal (my ar ... |
|