Re: CAN problems

Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Samuel Fruchter wrote:
> How can I use global mask to get all the 29-bit CAN objects of the bus ?
> I tried with : 
>  
> a.setMessageCenterRXMode(1);
> a.set29BitGlobalIDMask(0);
> a.setMessageCenterMessageIDMaskEnable(1,true);
> a.enableMessageCenter(1);

The global masks (and some other fields) can only be set when the 
controller is disabled.  See javadoc for com.dalsemi.comm.CanBus in 
<tinidir>/docs/javadocs.


-- 
--
Bryan Armstrong
bryan.armstrong-6tN4nzCoH/[email protected]


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.