This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2434: Configuration for each chip select in OSPI

Part Number: AM2434

Our customer wants to connect multiple devices to OSPI.

I understand that it is not recommended that multiple devices are connected as discussed in other threads.

e2e.ti.com/.../am6442-is-it-possible-to-connect-4-devices-to-ospi-using-4-css

On the other hand, I understand that it is possible to connect multiple devices if OSPI is used at 50 MHz or even lower speeds.

But I cannot find out how to configure for each chip select in the TRM.

Can each chip select be configured differently?

Best regards,

Daisuke

  • Hi ,

    Can each chip select be configured differently?

    The feature is provided if you intend to you use same flash part at 4 CS. This is because there are only single set of configuration registers. You cannot reinitialize the controller before using the flash.

    You might need to reinitialize all the flashes. The controller initialization might not be required repeatedly but because the flashes are by default configured at 1-1-1 it is recommended to reset the controller before moving to new CS.

    However, the SW complexity is higher as you need to maintain the switch of CS in the SW. Also we don't support the same in SDK due to unclear requirements on customer's end as well.

    Do you have a valid use case with this ? I can analyze the same and help you on that.

    Best Regards,
    Aakash

  • Hi Aakash-san,

    Thank you for your reply.

    > The feature is provided if you intend to you use same flash part at 4 CS.

    What is the purpose for which the 4 CSs are provided?

    Are the 4 CSs provided for connecting multiple same Flash parts?

    Is the purpose of connecting multiple same Flash parts to increase size, backup, etc.?

    Best regards,

    Daisuke

  • Hi ,

    Are the 4 CSs provided for connecting multiple same Flash parts?

    Yes. Single flashes only recommended or where controller configurations does not change across flashes.

    Is the purpose of connecting multiple same Flash parts to increase size, backup, etc.?

    It can be used for backup, isolation, higher number of write cycles compared to single flash with larger size and so on ?

    Best Regards,
    Aakash

  • Hi Aakash-san,

    Thank you for your reply.

    > Single flashes only recommended or where controller configurations does not change across flashes.

    If a single Flash is connected, then only one CS is used, correct?

    Or are there cases where more than one CS is used for a single Flash?

    Best regards,

    Daisuke

  • Hi Daisuke,

    If a single Flash is connected, then only one CS is used, correct?

    Correct. To keep the system design simpler, you can choose to keep a single flash as well.

    Best Regards,
    Aakash