5 posts / 0 new
Last post
PDonchev
Offline
Last seen:2 years 8 months ago
Joined:2015-06-21 14:37
Booting from SPI Master

Hi,
我有点困惑- b - 001”DA1458x Booting from serial interfaces".
In Table 2: SPI Master boot protocol, when ACK/NACK will be received?
- when sending the zero byte
or
- when sending the LS byte of the length?
Also, according the last row of the table (byte nr.8), when sending the first byte of the data, then will receive the ACK/NACK for the code/mode,
but that doesn't correspond with the next table.
I have feeling that all values for MISO column are moved one row down.

Device:
MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi PDonchev,

Hi PDonchev,

I don't think so, the timing of the exchange is the one specified on the table, the ACK/NACK is sent when the LS byte is sent from the master.

Thanks MT_dialog

PDonchev
Offline
Last seen:2 years 8 months ago
Joined:2015-06-21 14:37
Thank you for the reply. I

Thank you for the reply. I found it too.
But I'm stuck on the third ACK/NACK, when sending the first data byte ( nr.8 according the table ). Can not get it. Always receive 0xFF.
First two ACK/NACK are passed (received 0x02). What can be wrong?

PDonchev
Offline
Last seen:2 years 8 months ago
Joined:2015-06-21 14:37
OK, problem solved by

OK, problem solved by following the proximity reporter host application spi_booter.c source.
It still looks that AN-B-001 is erroneous/not completed. There is no ACK/NACK after first data byte (byte Nr.8 in Table 2) and there is no explanation how CS signal must be handled.

MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi PDonchev,

Hi PDonchev,

The last ack that the 580 sends before the actual data is the one when the mode of the spi is send, perhaps the table is a bit misleading but what it means is that the last 0x02 or 0x20 is sent when the last byte of the image is downloaded to the 580.

Thanks MT_dialog