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.
Keywords:
Device:
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
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?
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.
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