View previous topic :: View next topic |
Author |
Message |
sawula
Joined: 06 Oct 2010 Posts: 3
|
|
Posted: Fri Sep 23, 2011 12:27 am |
|
|
Hi scuba
+++++++++++++++++++++++
Sawula-
MikroC is off-topic for the CCS compiler forum.
Find a MikroC forum or talk in a PM.
-- Forum Moderator
+++++++++++++++++++++++
I am doing the same project with MRF89XA and PIC18F4550 using MIKROC Pro. And I am trying to convert your ccs code to Mikroc code. And I would like to know why are you using shif operations in registerset and registerRead functions ?
Code: | address = (address<<1);
spi_write (address); |
Code: | address = ((address<<1)|0x40);
spi_write(address); |
Can you please help me! |
|
|
scuba
Joined: 13 Sep 2011 Posts: 13
|
|
Posted: Fri Sep 23, 2011 9:34 am |
|
|
This code can be seen in radiodriver.c and mrf89xa.c which is the site of the microchip. I just adapted. To better understand i suggest the datasheet of mrf89xa. I also didn't understand well but i think is for data to be allocated at different addresses.
Greets |
|
|
sawula
Joined: 06 Oct 2010 Posts: 3
|
|
Posted: Tue Oct 11, 2011 1:47 am |
|
|
Hi scuba
How is progress of your project ? Were you able to communicate successfully? |
|
|
scuba
Joined: 13 Sep 2011 Posts: 13
|
|
Posted: Thu Oct 13, 2011 4:02 am |
|
|
Hi there, yes my project is done. |
|
|
feint
Joined: 24 May 2011 Posts: 2
|
|
Posted: Tue Jan 03, 2012 2:38 am |
|
|
scuba wrote: | Hi there, yes my project is done. |
hello scuba can you share the code |
|
|
jeremy57350
Joined: 11 Jan 2012 Posts: 14
|
|
Posted: Sat Feb 11, 2012 6:15 pm |
|
|
Hello, I'm currently on the same project as you. I sent an info temperature via this module. Can you share your code?
thank you |
|
|
Itronica
Joined: 16 Feb 2012 Posts: 2
|
|
Posted: Thu Feb 16, 2012 8:00 am |
|
|
Good morning, you can also have the file. H? Or the whole project? I am using the C18 with the library MIWI P2P but requires too many resources. thanks |
|
|
Mariusz
Joined: 08 Nov 2016 Posts: 1
|
Project files |
Posted: Tue Nov 08, 2016 2:13 am |
|
|
Hi.
Can somebody add sample code for mrf89xam8a for SERVER and CLIENT (send and receive data) including header files please.
Thank you |
|
|
|