components/esp_hw_support/port/esp32s3/spiram_psram.c
//Read ID operation only supports SPI CMD and mode, should issue `psram_disable_qio_mode` before calling this
Read ID operation only supports SPI CMD and mode, should issue `psram_disable_qio_mode` before calling this
Read ID operation only supports SPI CMD and mode should issue ` psram_disable_qio_mode ` before calling this
static void psram_read_id(int spi_num, uint32_t* dev_id)
{
    psram_exec_cmd(spi_num, PSRAM_CMD_SPI,
    PSRAM_DEVICE_ID, 8,               
    0, 24,                            
    0,                                
    NULL, 0,                          
    (uint8_t*) dev_id, 24,            
    CS_PSRAM_SEL,                     
    false);                           
}
static void psram_read_id ( int spi_num , uint32_t * dev_id ) { psram_exec_cmd ( spi_num , PSRAM_CMD_SPI , PSRAM_DEVICE_ID , 8 , 0 , 24 , 0 , NULL , 0 , ( uint8_t * ) dev_id , 24 , CS_PSRAM_SEL , false ) ; }
Read ID operation only supports SPI CMD and mode, should issue `psram_disable_qio_mode` before calling this
Read ID operation only supports SPI CMD and mode should issue ` psram_disable_qio_mode ` before calling this
/* command and command bit len*/ /* address and address bit len*/ /* dummy bit len */ /* tx data and tx bit len*/ /* rx data and rx bit len*/ /* cs bit mask*/ /* whether is program/erase operation */