Hi All,
I am trying to boot up a C6748 using SPI0 slave mode and I have written the software on the SPI master side following the information in spraat2c.pdf.
It works up to the Start-Word Sychronization (SWS) step. i.e. After the SPI master sends 0x5853 to the C6748, it can read back 0x5253 from C6748.
However, the next step, Ping Op-code Sychronization (POS), is not working. After the SPI master sends 0x590B and 0x5853 to C6748, it can only read back 0x0000 and 0x0000 from C6748.
I have the following questions:
(1) I am currently setting up the SPI Master to transmit data on the falling edge of the SPI clock and receive data on the rising edge of the SPI clock. Is it correct?
(2) Is there any need to have a time delay between the two 16-bit words (0x590B and 0x5853) in the POS?
(3) Is there need to have a time delay between SWS and POS? Is there any timeout in the bootup code in the Internal ROM?
Any help will be appreciated.
David