Author |
Message |
Topic: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
PannetierJ
Replies: 48
Views: 98675
|
Forum: General CCS C Discussion Posted: Sat Jul 22, 2017 11:39 am Subject: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
Hello Mister,
Good news.
Now, it seems Ok.
I can send correctly and receive my message: Hello World
Nevertheless, I send only one this message.
My led's flashing.
#include <18LF25 ... |
Topic: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
PannetierJ
Replies: 48
Views: 98675
|
Forum: General CCS C Discussion Posted: Sat Jul 22, 2017 4:39 am Subject: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
Hy PCM Programmer,
Good news,
My demo board's working now:
https://img15.hostingpics.net/pics/63518820170722123129COM19PuTTY.jpg
Now, I'm trying to implement this on my transmitter -> re ... |
Topic: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
PannetierJ
Replies: 48
Views: 98675
|
Forum: General CCS C Discussion Posted: Sat Jul 22, 2017 2:48 am Subject: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
Hi PCM Programmer,
Now I have CCS 5.008.
I tried to import the driver nRF24L01P.h and nRF24L01P.c.
I modified this driver the last commands into the forum.
Nevertheless, it seems to have s ... |
Topic: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
PannetierJ
Replies: 48
Views: 98675
|
Forum: General CCS C Discussion Posted: Wed Jul 19, 2017 11:01 am Subject: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
PCM Programmer,
Did you take the driver of nRF24L01P.C on page #1 ? of this subject. |
Topic: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
PannetierJ
Replies: 48
Views: 98675
|
Forum: General CCS C Discussion Posted: Wed Jul 19, 2017 9:33 am Subject: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
Hy,
Good news.
I'll test this quickly (Without IRQ, if i understand, connected), same version of CCS. |
Topic: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
PannetierJ
Replies: 48
Views: 98675
|
Forum: General CCS C Discussion Posted: Wed Jul 19, 2017 1:46 am Subject: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
Hi PCM Programmer,
I like this sound.
I have a question about your schematic.
I noticed that you add a resistor, in the left on Pic.
It's a pull-up for IRQ Line ?
I'll do others tests th ... |
Topic: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
PannetierJ
Replies: 48
Views: 98675
|
Forum: General CCS C Discussion Posted: Mon Jul 17, 2017 10:47 am Subject: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
I'll test your suggestions in the week.
If I understand temtronic, I must add a pull-up on IRQ Line ?
And add 100ms before init. |
Topic: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
PannetierJ
Replies: 48
Views: 98675
|
Forum: General CCS C Discussion Posted: Sun Jul 16, 2017 2:05 pm Subject: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
I join you the schematic :
https://img4.hostingpics.net/pics/442632Capturede769cran20170716a768220318.png |
Topic: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
PannetierJ
Replies: 48
Views: 98675
|
Forum: General CCS C Discussion Posted: Sun Jul 16, 2017 12:33 pm Subject: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
Hy ,
I tested :
Start :
Wrote : 0x55 Read : 00
Wrote : 0xAA Read : 00
Test done |
Topic: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
PannetierJ
Replies: 48
Views: 98675
|
Forum: General CCS C Discussion Posted: Sun Jul 16, 2017 10:15 am Subject: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
I checked, I don't use spi_read2() into the driver. |
Topic: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
PannetierJ
Replies: 48
Views: 98675
|
Forum: General CCS C Discussion Posted: Sun Jul 16, 2017 9:06 am Subject: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
Hi,
If I understand correctly your test, I must to write:
spi_write2(0x55);
Result = spi_read2(); // without parameter
Isn't it ? |
Topic: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
PannetierJ
Replies: 48
Views: 98675
|
Forum: General CCS C Discussion Posted: Sun Jul 16, 2017 2:27 am Subject: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
Hi,
I ordered on Amazon.
This modules are working perfectly between Arduino <-> Arduino.
This module look like it:
https://img4.hostingpics.net/pics/403340Capturede769cran20170716a76 ... |
Topic: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
PannetierJ
Replies: 48
Views: 98675
|
Forum: General CCS C Discussion Posted: Sat Jul 15, 2017 2:04 am Subject: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
Hello PCM programmer,
- I have a real power supply.
- I add
#define RF24_PWUPDELAY() delay_ms(100) // *** FOR TESTING ***
#include <nRF24L01P.C>
-> Same result:
Config RX KO ... |
Topic: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
PannetierJ
Replies: 48
Views: 98675
|
Forum: General CCS C Discussion Posted: Fri Jul 14, 2017 1:33 pm Subject: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
I tested with external power supply.
No USB.
My RS232´s working correctly.
All power pins are connected. |
Topic: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
PannetierJ
Replies: 48
Views: 98675
|
Forum: General CCS C Discussion Posted: Fri Jul 14, 2017 9:00 am Subject: Setting SPI of 18F2550 for nRF24L01+ full driver by Eduardo |
Hy guys ,
I add a capacitor, directly on my module nrf24l01 ( 100 uF )
Same result.... |
|