Author |
Message |
Topic: PIC24FJ64GA004 code memory problem |
fuxafak
Replies: 1
Views: 5830
|
Forum: General CCS C Discussion Posted: Tue Dec 23, 2014 10:54 am Subject: PIC24FJ64GA004 code memory problem |
Hi All,
I use PIC24FJ64GA004 for an automation project. The board includes uC, Nordic nRF905 tranceiver, Micron m25pe20 serial flash memory and offline buck converter. Board has relatively high EMI b ... |
Topic: SPI issue on PIC24FJ64GA004 |
fuxafak
Replies: 3
Views: 7762
|
Forum: General CCS C Discussion Posted: Thu Oct 30, 2014 5:28 am Subject: SPI issue on PIC24FJ64GA004 |
Hi All,
I have trouble with SPI modules on PIC24FJ64GA004. I use two SPI in my project with software CS. One for external memory, one for nordic tranceiver chip.
Here is my setup for spi modules:
S ... |
Topic: PIC24FJ64GA004 using AN4 as an analog |
fuxafak
Replies: 7
Views: 10099
|
Forum: General CCS C Discussion Posted: Wed Jul 09, 2014 5:47 pm Subject: PIC24FJ64GA004 using AN4 as an analog |
Yea i understand that sorry for foolish question :p |
Topic: PIC24FJ64GA004 using AN4 as an analog |
fuxafak
Replies: 7
Views: 10099
|
Forum: General CCS C Discussion Posted: Wed Jul 09, 2014 8:44 am Subject: PIC24FJ64GA004 using AN4 as an analog |
daf--k setup_adc_ports() sets only pin's analog feauture and set_adc_channel() sets the sampling channel. I don't know that i have to use set_adc_channel(), i suppose that it is like STM32 devices. ... |
Topic: PIC24FJ64GA004 using AN4 as an analog |
fuxafak
Replies: 7
Views: 10099
|
Forum: General CCS C Discussion Posted: Wed Jul 09, 2014 8:22 am Subject: PIC24FJ64GA004 using AN4 as an analog |
By the way, AN4 is sda and AN5 is scl for i2c module. Is it relevant ? |
Topic: PIC24FJ64GA004 using AN4 as an analog |
fuxafak
Replies: 7
Views: 10099
|
Forum: General CCS C Discussion Posted: Wed Jul 09, 2014 8:19 am Subject: PIC24FJ64GA004 using AN4 as an analog |
Here is my config code:
//! setup_comparator(0x0003);
//! setup_vref(false);
setup_comparator(NC_NC_NC_NC);
//! setup_adc_ports(sAN4, VSS_VDD); ... |
Topic: PIC24FJ64GA004 using AN4 as an analog |
fuxafak
Replies: 7
Views: 10099
|
Forum: General CCS C Discussion Posted: Tue Jul 08, 2014 10:38 am Subject: PIC24FJ64GA004 using AN4 as an analog |
Hi,
I want to use 23rd pin as an analog input.
I did use analog input with AN0 before. But this pin always return zero analog value.
I think it is about I2C.
Do you have any idea about it.
Datas ... |
Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt |
fuxafak
Replies: 286
Views: 1354607
|
Forum: Code Library Posted: Tue Jul 08, 2014 9:28 am Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt |
I think, only changing nRF module solves the problem. There is still Acknowledge problem. I have another job these days. When i solve it correctly, i will be post it here
Thanks |
Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt |
fuxafak
Replies: 286
Views: 1354607
|
Forum: Code Library Posted: Fri Jul 04, 2014 8:53 pm Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt |
i did solve the problem, somehow. But still it can't use autoack properly. Every transmitting is return a datasent irq just like noack:)
I hope that i will be solve this :p
My next problem about pac ... |
Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt |
fuxafak
Replies: 286
Views: 1354607
|
Forum: Code Library Posted: Fri Jul 04, 2014 6:42 am Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt |
Yes, i tried that. Logically, pipe0 auto ack must be off, but i need auto ack for unicast messaging. When i set en_aa 0b00011110 every third message is lost on the air. Do you have any idea about that ... |
Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt |
fuxafak
Replies: 286
Views: 1354607
|
Forum: Code Library Posted: Wed Jul 02, 2014 10:16 pm Subject: every 3rd transmission, message couldn't transmitted |
Hi all,
I have a complicated project by using nRF24L01+ chip and this driver for ccs c. I am a bit confused about something. Here it is:
I use pipe0 as a broadcast and pipe1 as unicast. I have lots ... |
|