Post Go back to editing

Does Core2 can use SPI peripheral in quad mode?

Category: Software
Product Number: ADSP-21593
Software Version: CCES 2.10.0

Hi Sir,

We are bring up a ADSP-21593, currently we find that core 2 can not use spi peripheral in quad mode? Could you please help confirm that?

If you think we can use quad spi,can you help provide demo code?

Thanks,

Roy

  • Hi Roy,

    We are checking your query with our internal team. We will get back to you soon.

    Best Regards,

    Santhakumari.K

  • Hi Roy,

    Apologies for the delay in response. We can run SPI quad mode example in core2 also.

    We can achieve SPI2 to SPI1 quad DMA mode data transfer by modified the example code a bit. Please follow the below steps for QUAD SPI configurations.

    1. Please change #define ADI_SPI1_CFG_MULTIPLE_I0_MODE and #define ADI_SPI2_CFG_MULTIPLE_I0_MODE macros from 0x0ul to 0x2ul in adi_spi_config_SC59x.h file ( system > drivers > adi_spi_config_SC59x.h ).

    2. Enable D2 and D3 pin for both SPI1 and SPI2 in pin Multiplexing by double click the system.svc > pin Multiplexing tab ).

    3. Please take care of SPI2 D2_D3_EN bit in SoftConfig_switch file.

    Regards,
    Santhakumari.K