- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have successfully setup and used a single qspi flash on qspi/smif using d4-d7, ssel1 and clk pins. setup is done using the cyhal api.
when starting the setup of the second qspi (sram) device by calling cyhal_qspi_init() it fails on allocating the clk pin.
i find the many layers of api:s confusing and the restrictions are sometimes diffuse.
are there any examples covering use of dual qspi devices simultaneously? that would be helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @JeRu_2759616 ,
Currently we don't have such a code example.
Can you please share the stripe-down version of your project?
Warm Regards,
Gautami J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear mr Gautami,
As fas as I understand it is not possible to initialise two separate devices using the cyhal api.
I am currently moving forward using the Peripheral Driver Library (PDL) instead.
It would be great to have an example of setting up two qspi devices (FLASH + FRAM for example) in an optimal way for fast access to both devices.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @JeRu_2759616 ,
We have only one qspi block on our PSoC hence setting up two qspi devices is not possible. This is the reason that we don't have a code example for this.
Warm Regards,
Gautami J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear mr Guatami,
The SMIF controller can easily handle 2 separate qspi devices, and even 4 qspi devices if data pins are shared.
It would be valuable to have access to code examples of more complex SMIF setups.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @JeRu_2759616 ,
Yes, you are correct but you wanted to use FLASH + FRAM for example. In this case, both run parallelly, and changing select lines is complex.
Warm Regards,
Gautami J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @JeRu_2759616 ,
The thread was locked due to inactivity for a long time, you can continue the discussion on the topic by opening a new thread with reference to the locked one. The continuous discussion in an inactive thread may mostly be unattended by community users.
Thanks and Regards,
Gautami J
Cypress Semiconductor Corporation
An Infineon Technologies Company