AnsweredAssumed Answered

ADuCM360. SPI1 SLCK output has 1.6V...

Question asked by Jackey on Jan 6, 2014
Latest reply on Jan 6, 2014 by MMA

Hi all,

 

I'm developing with ADuCM360.

From 2 examples , SPI1 SCLK pin has 1.6V , not 3.3V.

And there isn't any signal transition.

 

CS and MOSI has correct signal level 3.3V and its data.

 

Tested examples on EVM CD :

   - SPIDMA_Master

   - SPI

 

But, SPI0 SCLK has 3.3V correctly and is presenting clocking.

 

My evm has chip revision as,

ADUCM360

BCPZ128

D30 #1305

2543493.1

 

 

This is from SPIDMA_Master.c

 

    DioCfgPin(pADI_GP1, PIN4, 2);                               

    DioCfgPin(pADI_GP1, PIN5, 2);

    DioCfgPin(pADI_GP1, PIN6, 2);

    DioCfgPin(pADI_GP1, PIN7, 2);

 

    SpiBaud(pADI_SPI0,0x3F,SPIDIV_BCRST_DIS);                   // Confiure SPI1 baud rate for 125kHz

    SpiCfg(pADI_SPI0,SPICON_MOD_TX1RX1,SPICON_MASEN_EN,

      SPICON_CON_EN|SPICON_RXOF_EN|SPICON_ZEN_EN|

      SPICON_TIM_TXWR|

        SPICON_CPHA_SAMPLETRAILING|

      SPICON_ENABLE_EN

         |SPICON_CPOL_HIGH

        |SPICON_SOEN_EN );      

 

 

  With emulator debugging, SpiCfg function changes SCLK pin level from 3.3V to 1.6V.

  SpiCfg is very simple function with setting SPICON.

How can I solve this issue?

 

Best regards,

Jackey.

Outcomes