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 support@ccsinfo.com

ECAN and FIFO

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ZD



Joined: 24 Sep 2013
Posts: 16

View user's profile Send private message

ECAN and FIFO
PostPosted: Fri Dec 29, 2017 4:59 am     Reply with quote

Hello all,
dsPIC33EP128MC506, CCS v5.070
Drivers: can-pic24.c and can-pic24.h

My code sends and receives messages. There is no problem. But i want to use FIFO features. There is not lots of information on how to use it. Can anybody help me?

There is can_set_functional_mode() function in can-18f4580.c file but can-pic24 driver files doesn't contain this function.

Thanks in advance.
ZD
Ttelmah



Joined: 11 Mar 2010
Posts: 13651

View user's profile Send private message

PostPosted: Fri Dec 29, 2017 10:05 am     Reply with quote

You do realise that if you have setup a CAN filter, it can use the FIFO automatically?. Look at can_associate_filter_to_buffer, and the AFIFO enumeration. On the PIC24, buffering and the FIFO are much more a integral part of the CAN than on the PIC18.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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