Hi,
My customer has a question and request. Could you please respond to their questions below.
Regarding the i2189 OSPI: Controller PHY Tuning Algorithm of AM64x/AM243x Errata Silicon Revision 1.0, 2.0, it seems that the following Workaround(s) must be implemented in order to use DQS of OSPI. Since it is difficult for them to create from scratch, they have a question and request below.
< Request >
- Do you have any files for the Workaround(s) below?
- Or, if you have any source files that would be helpful, please let me know.
They will use OSPI NOR FLAH, but depending on your answer, they are considering not using DQS.
They’re using A53 core, not using R5F for now.
<Questions>
Workaround 1: Could you please provide a program and procedure for Am64x Cortex-A?
Workaround 2 : Could you please tell them specifically where and how to modify Driver(?)?
Workaround 3 : Could you please tell them specifically where and how to modify Driver(?)?
It is their understanding that OSPI's DQS cannot be used unless i2189 can be resolved.
From i2189
Workaround(s):
The workaround for this bug is described in detail in the application note spract2 (link:
https://www.ti.com/lit/spract2). To sample data under some PVT conditions, it is necessary to increment the Read Delay field to shift the internal clock sampling window. This allows sampling of the data anywhere within the data eye. However, this has these side effects:
- PHY Pipeline mode must be enabled for all read operations. Because PHY Pipeline mode must be disabled for writes, reads and writes must be handled separately.
- Hardware polling of the busy bit is broken when the workaround is in place, so SW polling must be used instead. Writes must occur through DMA accesses, within page boundaries, to prevent interruption from either the host or the flash device. Software must poll the busy bit between page writes. Alternatively, writes can be performed in non-PHY mode with hardware polling enabled.
- STIG reads must be padded with extra bytes, and the received data must be rightshifted.
Thanks and regards,
Hideaki