Can't talk SPI after setting product ready flag in OTP

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
jamess
Offline
Last seen:2 years 7 months ago
加入:2017-08-16 22:10
Can't talk SPI after setting product ready flag in OTP

If I set the "product ready" flag in OTP, I am not able to talk SPI. When the product ready flag is not set, the device talks SPI just fine. With the product ready flag not set, the processor will attempt to boot from peripherals, does this configure the hardware in some fashion that is not done when the product ready flag is set? Is there some additional setup that needs to be done in firmware?

Device:
PM_Dialog
Offline
Last seen:11 hours 9 min ago
工作人员
加入:2018-02-08 11:03
Hi jamess,

Hi jamess,

Provided that you have defined the "product ready" flag in OTP and you run your firmware into the application level, are you using the SPI adapters and you are not able to talk to SPI? Could you please able to clarify what you mean and provide us more information about your issue? Please check theFigure 5: BootROM sequenceDA14680的数据表。

Thanks, PM_Dialog

jamess
Offline
Last seen:2 years 7 months ago
加入:2017-08-16 22:10
The issue has been traced to

The issue has been traced to incorrect configuration of a gpio line connected to the chip select of a different device on the same SPI bus, causing two SPI devices to be selected simultaneously and thus contention on the MISO line. It is not clear why the product ready flag affects this, but for some reason it does. But problem has been solved.

PM_Dialog
Offline
Last seen:11 hours 9 min ago
工作人员
加入:2018-02-08 11:03
Hi jamess,

Hi jamess,

可能the product header does not affect your application Thanks for the indication and glad that your problem has been solved.

Thanks, PM_Dialog