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

PIC18F46K22 to MRF89XA
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
sawula



Joined: 06 Oct 2010
Posts: 3

View user's profile Send private message

PostPosted: Fri Sep 23, 2011 12:27 am     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Sep 23, 2011 9:34 am     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Oct 11, 2011 1:47 am     Reply with quote

Hi scuba

How is progress of your project ? Were you able to communicate successfully?
scuba



Joined: 13 Sep 2011
Posts: 13

View user's profile Send private message

PostPosted: Thu Oct 13, 2011 4:02 am     Reply with quote

Hi there, yes my project is done.
feint



Joined: 24 May 2011
Posts: 2

View user's profile Send private message

PostPosted: Tue Jan 03, 2012 2:38 am     Reply with quote

scuba wrote:
Hi there, yes my project is done.


hello scuba can you share the code
jeremy57350



Joined: 11 Jan 2012
Posts: 14

View user's profile Send private message

PostPosted: Sat Feb 11, 2012 6:15 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Feb 16, 2012 8:00 am     Reply with quote

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

View user's profile Send private message

Project files
PostPosted: Tue Nov 08, 2016 2:13 am     Reply with quote

Hi.
Can somebody add sample code for mrf89xam8a for SERVER and CLIENT (send and receive data) including header files please.
Thank you
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group