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:
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
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.
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