This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[OMAP-L137] Enable SPI setup/hold time

Other Parts Discussed in Thread: OMAP-L137

Hi.

I need to adjust setup and hold times for SPI1 in master mode in 4-PIN CS mode. I can successfully see the signals on the scope, but I don't see any setup and hold time. I think it's something in the configuration again. Could you please help me?

Here's the conf:

    spiParams.spiHWCfgData.pinOpModes = Spi_PinOpMode_SPISCS_4PIN;
    spiParams.spiHWCfgData.configDatafmt[0].charLength   = 16;    /* 8bit Addr + 8bit Data */
    spiParams.spiHWCfgData.configDatafmt[0].clkHigh      = FALSE ;
    spiParams.spiHWCfgData.configDatafmt[0].lsbFirst     = FALSE;
    spiParams.spiHWCfgData.configDatafmt[0].oddParity    = FALSE;
    spiParams.spiHWCfgData.configDatafmt[0].parityEnable = FALSE ;
    spiParams.spiHWCfgData.configDatafmt[0].phaseIn      = TRUE ;
    spiParams.spiHWCfgData.configDatafmt[0].waitEnable   = TRUE;
    spiParams.spiHWCfgData.configDatafmt[0].wDelay       = 2;
    spiParams.spiHWCfgData.delay.c2TDelay = 3;
    spiParams.spiHWCfgData.delay.t2CDelay = 3;
    spiParams.spiHWCfgData.waitDelay = 2;
    spiParams.spiHWCfgData.intrLevel     = TRUE;

And this is before I send:

    dataparam.flags             = 0x00;
    dataparam.chipSelect   = 0x01;

 

Thank you for your help.

Andreas