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.

  • Resolved

LAUNCHXL-CC1310: CC1310 spi + Waveshare 128x128, General 1.5inch OLED display Module

Prodigy 170 points

Replies: 6

Views: 97

Part Number: LAUNCHXL-CC1310

Good day! 

I connect cc1310 launchpad  to 128x128, General 1.5inch OLED display Module through SPI, and on  MOSI line i see following:

What's wrong with this SPI ? 

  • Hey Alex,

    Where are you probing MOSI line, closer to the output or input? I recommend you probe around the input and ground your probe to a ground near the input pin. 

    Have you tried adding a 20~50 ohm resistor in series? This helps to slow down the rising/falling edges. 

    What frequency are you using? Have you tried slowing down the bit rate? 

    BR.

    Seong

  • In reply to Seong Kim:

    >>Where are you probing MOSI line, closer to the output or input?

    Closed the output. Without connecting to display, MOSI have a fine level . And CLK have a fine signal level with this ground . Ground was both to CLK and MOSI.

    >>Have you tried adding a 20~50 ohm resistor in series? This helps to slow down the rising/falling edges. 

    No , I will try to add.

    >>What frequency are you using? Have you tried slowing down the bit rate? 

    frequency 1MHz . I tried to reduce the frequency, but it did not help.

  • In reply to Seong Kim:

    >>Have you tried adding a 20~50 ohm resistor in series? This helps to slow down the rising/falling edges. 

    The resistor did not help

  • In reply to Alex Shestakov:

    i did the following :

    1. сс1310 spi :

        SPI_Params_init(&oledSpiParams);

     

        oledSpiParams.transferMode        = SPI_MODE_BLOCKING;

        oledSpiParams.transferTimeout     = SPI_WAIT_FOREVER;

        oledSpiParams.transferCallbackFxn = NULL;

        oledSpiParams.mode                = SPI_MASTER;

        oledSpiParams.bitRate             = 1000000;

        oledSpiParams.dataSize            = 8;

        oledSpiParams.frameFormat         = SPI_POL0_PHA0;

     

    2. For channel MOSI i  set in series 74HC126D .

    And the display has earned.

  • In reply to Alex Shestakov:

    Alex,

    Glad you got it working! What was different about your SPI parameter settings before?

    BR,

    Seong

  • In reply to Seong Kim:

    Before was: 

    oledSpiParams.frameFormat         = SPI_POL1_PHA0;

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.