MPC 8xx as SPI slave...
Young-Han, Kim
yhkim at da-san.com
Wed Mar 26 13:50:51 EST 2003
Hi!
If you have any experience for SPI slave on MPC 8xx,
please advice to me.
I will use the MPC 8xx as SPI slave, the SPI master is not MPC 8xx.
Currently, using the SPI interrupt for RX/TX on MPC 8xx.
The SPI write operation on SPI master is run very well.
But, SPI read operation on SPI master is not so good.
When SPI read operation on SPI master, the CPM of MPC 8xx
report the SPI TX interrupt as TX done.
But, the MPC 8xx SPI not transmit that data on SPI bus,
just transmit old TX data.
In second SPI read operation on SPI master, the MPC 8xx SPI
transmit previous data of TX BD.
It means that the MPC 8xx SPI not transmit the data on time.
I was checked with oscilloscope.
If you know the reason of this problem, please answer to me.
from
Young-Han, Kim
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list