- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wonder if is it possible to access the QSPI Flash from M0+.
The example provided in the modus toolbox seems to use the M4 ( as there is the HAL lib that is not usable with M0 ).
Please help
Thanks
S
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @Scilly ,
The CM0p is the secure processor and hence is not recommended to be used for the user application. And yes you are right, HAL is not supported on CM0p.
But to answer your question, you can however create applications using PDL on CM0p and access the QSPI flash. Please refer to this example for dual-cpu usage: https://github.com/Infineon/mtb-example-psoc6-dual-cpu-empty-app
For QSPI Flash interfacing, use the SMIF hardware block. You can find the APIs here: https://infineon.github.io/mtb-pdl-cat1/pdl_api_reference_manual/html/group__group__smif.html
Please let me know if you face any issues.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @Scilly ,
The CM0p is the secure processor and hence is not recommended to be used for the user application. And yes you are right, HAL is not supported on CM0p.
But to answer your question, you can however create applications using PDL on CM0p and access the QSPI flash. Please refer to this example for dual-cpu usage: https://github.com/Infineon/mtb-example-psoc6-dual-cpu-empty-app
For QSPI Flash interfacing, use the SMIF hardware block. You can find the APIs here: https://infineon.github.io/mtb-pdl-cat1/pdl_api_reference_manual/html/group__group__smif.html
Please let me know if you face any issues.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For sure you can... but why?