PSoC 6 Peripheral Driver Library

Description

This SMIF memory configuration structure is used to store the memory configuration for the memory mode of operation.

This data structure is stored in a fixed location in the flash. The data structure is required for the initialization of the SMIF in the SystemInit.

Data Fields

cy_en_smif_slave_select_t slaveSelect
 Determines the slave select where the memory device is placed.
 
uint32_t flags
 Determines if the device is memory-mapped, enables the Autodetect using the SFDP, enables the write capability, or enables the crypto support for this memory slave.
 
cy_en_smif_data_select_t dataSelect
 The data-line selection options for a slave device.
 
uint32_t baseAddress
 The base address the memory slave is mapped to in the PSoC memory map. More...
 
uint32_t memMappedSize
 The size/capacity allocated in the PSoC memory map for the memory slave device. More...
 
uint32_t dualQuadSlots
 Defines if this memory device is one of the devices in the dual quad SPI configuration. More...
 
cy_stc_smif_mem_device_cfg_tdeviceCfg
 The configuration of the device.
 

Field Documentation

◆ baseAddress

uint32_t cy_stc_smif_mem_config_t::baseAddress

The base address the memory slave is mapped to in the PSoC memory map.

This address must be a multiple of the SMIF XIP memory size/capacity. The SMIF XIP memory region should NOT overlap with other memory regions (with exception to dual quad mode). Valid when the memory-mapped mode is enabled.

◆ memMappedSize

uint32_t cy_stc_smif_mem_config_t::memMappedSize

The size/capacity allocated in the PSoC memory map for the memory slave device.

The capacity is allocated from the base address. The capacity must be a power of 2 and greater or equal than 64 KB. Valid when memory-mapped mode is enabled

◆ dualQuadSlots

uint32_t cy_stc_smif_mem_config_t::dualQuadSlots

Defines if this memory device is one of the devices in the dual quad SPI configuration.

Equals the sum of the slave-slot numbers.