This widget could not be displayed.
Not applicable
May 13, 2015
08:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 13, 2015
08:49 AM
10 Replies
May 22, 2015
08:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 22, 2015
08:34 AM
Hello Farazo,
Glad to hear that you are using the AURIX and want to get things up and running!
Do you have access to the AURIX documentation, SW Framework, and iLLD on myinfineon.com?
The SW Framework and iLLD have QSPI initialization code which you can use to accomplish your task.
If you need help getting your myinfineon.com account, please let me know.
Carl Bonfiglio
Infineon Marketing Manager
carl.bonfiglio@Infineon.com
Glad to hear that you are using the AURIX and want to get things up and running!
Do you have access to the AURIX documentation, SW Framework, and iLLD on myinfineon.com?
The SW Framework and iLLD have QSPI initialization code which you can use to accomplish your task.
If you need help getting your myinfineon.com account, please let me know.
Carl Bonfiglio
Infineon Marketing Manager
carl.bonfiglio@Infineon.com
This widget could not be displayed.
Not applicable
Aug 23, 2015
11:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 23, 2015
11:21 PM
Hi Do you got any updates on this. Even am looking for this .
This widget could not be displayed.
Not applicable
Sep 07, 2015
07:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 07, 2015
07:14 AM
This widget could not be displayed.
Not applicable
Sep 07, 2015
09:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 07, 2015
09:44 PM
Thanks for your sample code.. its helped me in better understanding.
Jul 13, 2019
11:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 13, 2019
11:28 AM
Hi,
Can anyone help me to understand it.
uint16 endinit_pw = IfxScuWdt_getCpuWatchdogPassword();
IfxScuWdt_clearCpuEndinit(endinit_pw);
((Ifx_QSPI*)spiModule)->CLC.U = 0;
volatile uint32 dummy = ((Ifx_QSPI*)spiModule)->CLC.U;
IfxScuWdt_setCpuEndinit(endinit_pw);
Can anyone help me to understand it.
uint16 endinit_pw = IfxScuWdt_getCpuWatchdogPassword();
IfxScuWdt_clearCpuEndinit(endinit_pw);
((Ifx_QSPI*)spiModule)->CLC.U = 0;
volatile uint32 dummy = ((Ifx_QSPI*)spiModule)->CLC.U;
IfxScuWdt_setCpuEndinit(endinit_pw);
Jul 13, 2019
03:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 13, 2019
03:26 PM
When you write to any special function register (SFR) there are write attributes associated with them. For example do you need to be in supervisor or user mode and if it is a critical register it could be CPU or Safety ENDINIT protected.
The CLC register in the QSPI peripheral has the following write attributes (Supervisor mode and it is CPU ENDINIT protected).

The first line gets the current password being used by the CPU.
The second line opens temporary CPU access by this CPU to an ENDINIT (“End of initialization”) protected register
The third line is writing 0 to the QSPI CLC (clock control register) which enables the clock at the peripheral and allow further access to other registers. If the CLC is not enabled for a peripheral you cannot write other registers in that peripheral.
The forth line read back the value from the peripheral, What you need to know is the CPU has a write buffer, and a read from the same location will force the write to occur before the read.
The fifth line closes that temporary CPU access to ENDINIT
The CLC register in the QSPI peripheral has the following write attributes (Supervisor mode and it is CPU ENDINIT protected).
The first line gets the current password being used by the CPU.
The second line opens temporary CPU access by this CPU to an ENDINIT (“End of initialization”) protected register
The third line is writing 0 to the QSPI CLC (clock control register) which enables the clock at the peripheral and allow further access to other registers. If the CLC is not enabled for a peripheral you cannot write other registers in that peripheral.
The forth line read back the value from the peripheral, What you need to know is the CPU has a write buffer, and a read from the same location will force the write to occur before the read.
The fifth line closes that temporary CPU access to ENDINIT
Jul 14, 2019
10:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 14, 2019
10:10 AM
Hi ,
I think only enabling clock do't work, there must be some other setting also. Can you help me to understand that or can you share if you have any document on it.
I have configure QSPI, but not able to see any output on data or clock bus either chip select working.
I think only enabling clock do't work, there must be some other setting also. Can you help me to understand that or can you share if you have any document on it.
I have configure QSPI, but not able to see any output on data or clock bus either chip select working.
Nov 19, 2019
04:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 19, 2019
04:43 AM
Hello farazo,
You can find a code example project for the QSPI module here: QSPI training code example.
this example also comes with a tutorial, which can be found here: QSPI tutorial.
If you are interested in other modules and you want to start programming for AURIX™, you can get the new Integrated Development Environment (IDE) here: AURIX™ Development Studio and get inspired by numerous trainings from here: AURIX™ Trainings.
If you are not familiar with Eclipse based IDE’s checkout the Getting Started guide!
Hope it helps,
teoBits
You can find a code example project for the QSPI module here: QSPI training code example.
this example also comes with a tutorial, which can be found here: QSPI tutorial.
If you are interested in other modules and you want to start programming for AURIX™, you can get the new Integrated Development Environment (IDE) here: AURIX™ Development Studio and get inspired by numerous trainings from here: AURIX™ Trainings.
If you are not familiar with Eclipse based IDE’s checkout the Getting Started guide!
Hope it helps,
teoBits
Aug 27, 2021
11:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 27, 2021
11:33 AM
Hi All,
Me as well if someone can give a hint.
Thank you
Me as well if someone can give a hint.
Thank you
Aug 30, 2021
03:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 30, 2021
03:04 AM
KDN wrote:
Hi ,
I think only enabling clock do't work, there must be some other setting also. Can you help me to understand that or can you share if you have any document on it.
I have configure QSPI, but not able to see any output on data or clock bus either chip select working.
Hi KDN,
Did you find the issue or where the read data are stored?
Best regards,
BADR
This widget could not be displayed.