--- In Joel Morgan <> wrote:
>
> Hi,
>
> On Dec 12, 2011 3:08 AM, "zhangjing80" <> wrote:
> >
> >
> >
> > hi, guys
> > I have a TSCAN1 Board and have installed it on TS7300, I have also read
> some relative manuals. The received can message is decoded at
> SJA1000_base_addr. The tscan1.c calls a function which is defined like:
> > static u8 tscan1_read(const struct sja1000_priv *priv, int reg)
> > {
> > return inb((unsigned long)priv->reg_base + reg);
> > }
> > This function will return the can message. But I have some questions
> about the getting data from the SJA1000_base_addr. I wanna get the 8 byte
> data and transfer them, so has anyone ever used the TSCAN1 board? Could you
> please give me some help?Thanks in advance
>
> Are you using the Ocera framework?
>
> What is your question?
>
> Regards,
> -joel
>
Hi, joel
yes, I used the Ocera framework, I have sevaral questions about the usage of
the TSCAN1. Have you ever used it? Could you please give me some help?
1. you know a standard can frame mainly contains 11 ID and 8 byte data,
according to the TSCAN1_manual,the SJA1000 supports dual-identifier mode. But
each can frame has only one ID. Where comes double identifier?
2. I can set the register, and select the SJA1000_IO base address, where the
can message decodes itself. I wanna get the 8 byte data of each can frame, how
can I realize it?
3. If I wanna transfer data of data[8], you know that I should write them to
Txbuffer, but how ?
Thank you!!!!
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|