4 posts / 0 new
Last post
Kazuyori Miyamoto
Offline
Last seen:6 years 5 months ago
加入:2014-06-03 08:38
SPI Booting

Hello

We have a question about Booting from Serial Interfaces.
And we have tried SPI Booting based on DA14580_SDK_3.0.2.1/host_apps/da14580/proximity/reporter,
but Preamble NACK is returned.
Please tell me what is the cause of Preamble NACK is returned.

Best Regards,

MHv_Dialog
Offline
Last seen:1 month 3 weeks ago
Staff
加入:2013-12-06 15:10
Hi Kazuyori,

Hi Kazuyori,

NACK is returned if the DA14580 is unable to detect the preamble of 0x70 0x50 from the master. This can be caused by a couple of things:

1.你的时钟速度不应偏离摇来摇去m 512kHz by too large a margin

2. Make sure that the SPI wires between master and slave are as short as possible and that rhey are properly terminated

3. Master and Slave must reference the same GND.

If you are still not able to make it work, please provide a trace of the communication between the two.

Kazuyori Miyamoto
Offline
Last seen:6 years 5 months ago
加入:2014-06-03 08:38
Thank you for reply.

Thank you for reply.

Thank you that it has led to the resolution pointed out by you.
1.It was we check the operation at 1MHz same sample software.
I've tried even 512kHz, but the result does not change.
2.We are connected with long cables for hand implementation for evaluation.
When we tried to shorten them, SPI Booting was successful.
3.GND were common.

Thank you

MHv_Dialog
Offline
Last seen:1 month 3 weeks ago
Staff
加入:2013-12-06 15:10
Hi,

Hi,

Glad to hear that you were able to resolve the issue and be able to move forwrd.