QSPI Peripheral Configuration
Map QSPI peripherals in the Infineon AURIX model to peripheral registers in the MCU
Since R2024a
Description
View and edit the map of peripherals in the Infineon® AURIX™ model to the hardware peripherals.
Using the Peripheral Configuration tool, you can:
View and edit configuration parameters for QSPI peripheral block.
Configure the global parameters. To set the group peripheral, select peripheral in Browser > Peripherals >
QSPIPeripheral
. For more, see Map Tasks and Peripherals Using Hardware Mapping.Check for any conflicts between peripherals.
Open the QSPI Peripheral Configuration
In the Simulink toolstrip, go to Hardware tab and click Hardware Mapping.
Parameters
Module selection
— QSPI peripheral module selection
0
(default) |
1
|
2
|
...
Select the QSPI peripheral module 0
through
4
on the hardware board.
Clock Polarity
— QSPI clock polarity
Idle low
(default) | Idle High
Select the QSPI clock polarity in idle state.
Tx on clock phase
— Clocking of Tx data
Leading edge
(default) | Trailing edge
Select the clocking of Tx data.
Endianness
— QSPI data heading in binary
LSB first
(default) |
MSB first
Select the QSPI data heading in binary numbers.
LSB first
- the bit furthest to the right (lsb) is moved first from SDO pin followed by the subsequent right bits.MSB first
- the bit furthest to the left (msb) is moved first from SDO pin followed by the subsequent left bits.
Parity
— Parity of data bits
Even
(default) |
Odd
Select the parity for data bits in SPI transaction.
Enable simplex
— Option to enable simplex communication
off
(default) | on
Enable to configure the QSPI peripheral block to either transmit or receive data at a time. Disable to use for both transmit and receive at a time.
SLSI(Peripheral select input pin)
— Peripheral select input pin for module
options vary based on module selection
Specify peripheral select input pin for the selected QSPI Peripheral module.
Serial clock
— Serial clock Pin for SPI
options vary based on module selection
This parameter is read-only.
Select serial clock Pin for SPI transaction.
Serial data out
— Pin number to receive serial data from QSPI Controller module
options vary based on module selection
This parameter is read-only.
Specify pin number to receive serial data from QSPI Controller module.
Serial data in
— Pin number to send serial data to QSPI Controller module
options vary based on module selection
This parameter is read-only.
Specify pin number to send serial data to QSPI Controller module
Input pins configuration
— Input pull for QSPI pin
Pull-down
(default) | Tri-state
| Pull-up
Specify input pin pull for the QSPI pin.
Output drive strenght
— Strength of output for QSPI pin
Push pull
(default) | Open-drain
Specify drive strength for the QSPI pin.
Voltage level
— Voltage level for QSPI pin
Automotive
(default) | TTL-5V
| TTL-3.3V
Specify voltage level for QSPI pin.
Speed
— Speed for QSPI pin
Speed-1
(default) | Speed-2
| Speed-3
| Speed-4
Select the pin speed for QSPI.
TxFifo event
— Option to enable QSPI transmit buffer interrupt
off
(default) |
on
Enables the QSPI transmit FIFO interrupt.
Note
Enabling this parameter, expect that the data is handled through interrupts. Therefore it is mandatory to use QSPI Peripheral block (Transfer mode as SPI Transmit) or QSPI Controller (Transfer mode as SPI Transmit or SPI Transmit and Receive) block during the events.
TxFifo mode
— FIFO flag mode setting for transmit buffer
Combined Move
(default) |
Single Move
This parameter is read-only.
Select one of these operation modes for transmit buffer:
Single Move —
Select this mode to generate an interrupt to refill the transmit buffer as soon as there is a free element.Batch Move —
Select this mode to generate an interrupt if the FIFO level of Tx data exceeds above programmed threshold.
Dependencies
To enable this parameter, select the TxFifo event parameter.
TxFifo mode threshold
— FIFO level for TxFifo event
1
(default) |
2
|
3
|
4
Specify FIFO level for TxFifo event.
Dependencies
To enable this parameter, select the TxFifo event parameter.
RxFifo event
— Option to enable QSPI receive buffer interrupt
off
(default) |
on
Enables the QSPI receive buffer interrupt.
Note
Enabling this parameter, expect that the data is handled through interrupts. Therefore it is mandatory to use QSPI Peripheral block (Transfer mode as SPI Receive) or QSPI Controller block (Transfer mode as SPI Receive or SPI Transmit and Receive) during the events.
RxFifo mode
— FIFO flag mode setting for receive buffer
Batch Move
(default) |
Single Move
This parameter is read-only.
Select one of these operation modes for receive buffer:
Single Move —
Select this mode to generate an interrupt to fetch the received element as soon as possible.Batch Move —
Select this mode to generate an interrupt if the filling level rises above the programmed threshold.
Dependencies
To enable this parameter, select the RxFifo event parameter.
RxFifo mode threshold
— FIFO level for RxFifo event
1
(default) |
0
|
2
|
3
Specify FIFO level for RxFifo event.
Dependencies
To enable this parameter, select the RxFifo event parameter.
Enable error event
— Option to enable QSPI error interrupt
off
(default) |
on
Enables the QSPI error event.
Note
Enabling this parameter, expects that the data is handled through interrupts. Therefore it is recommended to use QSPI block (SPI receive or transmit as transfer mode) during the events.
Version History
Introduced in R2024a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)