SPI - MPC2515

joydeep roy <[email protected]>
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <[email protected]>
Hi all,

I am trying to communicate with MCP2515 through MPC565
QSPI.
For this i am sending the instruction bytes, addresses
and the data byte to MCP2515. I am programming MCP2515
for loop-back.
I am not able to understand how to recieve the data
back in the RECRAM of QSPI.

1)Do I have to send the recieve instruction, and the
address in the TRANRAM and send it to MCP2515 along
with the other instructions??

2)If the actual data bytes written in the transmit
buffers of MCP2515 comes back to the RECRAM through
the recive buffers of MCP2515(coz of loop-back), from
which location shall we start reading it from RECRAM?
Is it the NEWQP itself or is it from (NEWQP+the no. of
instruction bytes just before actual data)??

Any help is appreciated. Thanks in advance.

Joy

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-----------------------------------------------------------
To learn more about Freescale Microcontrollers, please visit
http://www.freescale.com/mcu


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MPC500/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
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.