Embedded Intel Atom® Processors
Technological Conversations about Intel Atom® Hardware, Software, Firmware, Graphics

baytrail SPI issue

DLeon4
Beginner
2,072 Views

Hello,

On our baytrail platform, a SPI nvSRAM is connected to the baytrail SPI controller.At testing, everything seems to work fine,

but when we writes 256 bytes data per time constantly for some hours, we find that some bytes data is mistake. And the fail maybe just some times in a few hours.

The mistake is as following , which when writing 256 bytes data (pattern is 57) to nvSRAM, we find the pattern at 0xFB is mistake. BTW, when we write 64 bytes per time, it run well.

After the signal was checked by HW engineer, we found the signal is mistake when it came from baytrail spi controller. Then, we checked the driver and used the newer kernel (4.8.0),

we find the mistake maybe fall at 0xF2/0xF6/0xF9/0xFC/... (write 256 bytes per time).

I would appreciate any ideas as to what may cause this behaviour.

Thank you!

0 Kudos
5 Replies
CarlosAM_INTEL
Moderator
656 Views

Hello, leon_du:

Thank you for contacting Intel Embedded Comunity.

In order to be better understand your consultation, we would like to address the following questions:

Could you please tell us the part numbers of the Processor and the SPI nvSRAM related to this situation?

Could you please clarify if the affected project is your design or a third party one? In case that it is a third party, please give us all the information related to it.

Could you please give us all the details of the data that you tried to write in the SPI nvSRAM? By the way, how many SPI nvSRAM devices are experiencing this problem?

Please give us all the information related to these questions to have a better idea of this problem.

Best regards,

Carlos_A.

0 Kudos
DLeon4
Beginner
656 Views

Hello .

Thanks for your feedback!

The part numbers of the Processor is E3845, the SPI nvSRAM is Cypress CY14X101PA. And the project is our design.

As so far, there are approximately 10 devices that we have produced are experiencing the problem.

We just test the nvSRAM by writing data to nvSRAM and reading it back; After encountering the problem, we tried to figure out the cause.

As pointed out about, our hw engineer found the signal of data at the wrong data of the above picture is mistake when it came from baytrail spi controller.

What is confusing is that when writing 256 bytes or more bytes data per time, it should experiencing the problem easily, but when wrting 64 bytes or less bytes, it run well.

After searching the intel docs, we found Doc 514482 which has a charpter about "Write Granularity" of SPI controller, but I don't understant it well, it means we must write

less than 64 bytes per time after following a command opcode and a address ? or it means others ?

By the way, our design has a CPLD as a switch for two host machine, but we just run one host machine at testing. The following is the block diagram,

0 Kudos
DLeon4
Beginner
656 Views

Hello Carlos_A,

If there is any update, appreciate

Thany you!

0 Kudos
CarlosAM_INTEL
Moderator
656 Views

Hello, leon_du :

Thanks for your update and We apologize for the delay to give you an update.

Based on your previous communication, we would like to know if the affected design fulfills with the guidelines stated in the https://edc.intel.com/Link.aspx?id=7001 Intel(R) Atom(TM) Processor E3800 Product Family Platform: Design Guide [PDG] document # 512379, specifically the ones stated in section 20 on pages 257, 258, and 259.

It is important to let you know that this PDG is classified as Intel confidential which requires a CDNA between your company and Intel as well as a Privileged EDC account. To request an upgrade from your Basic EDC account to a Privileged account, go to http://www.intel.com/content/www/us/en/embedded/embedded-design-centersupport.html and click on "Manage Your Intel Profile" found in the "Manage Your Account" section of the page. From there you can request an upgrade.

By the way, could you please confirm that your project has been reviewed by Intel? In case that you want to request this service, please follow the instructions stated at the https://edc.intel.com/Tools/Design-Review/Default.aspx?language=en Design Review Services website.

We hope that this information may help you.

Best regards,

Carlos_A.

0 Kudos
DLeon4
Beginner
656 Views

Hello Carlos A,

Thank you very much! We will check it.

Best Regards,

Du Lin

0 Kudos
Reply