Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 17 Jun 2016 08:52 AM by  Adam Ford
Contention when driving mcspi2_cs1
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
L DiRuscio
New Member
New Member
Posts:44


--
13 Jun 2016 11:31 AM

    I would like to use DM3730 SOM - J1-P51 (mcspi2_cs1) as a GPIO output line. After executing step #7 below, the GPIO line does not pull up to 1.8V (only gets to abut 0.2v). I believe I am talking to the correct GPIO because I can see it drop to 0V when setting to logic '0', or this loaded state when writing logic '1'

    I did the following procedure per LogicPD app note AN 527(selecting and using gpio signals on DM3730)  :

    1) grep gpio_182 /debug/omap_mux/*
    /debug/omap_mux/mcspi2_cs1:signals: mcspi2_cs1 | gpt8_pwm_evt | hsusb2_tll_data3 | hsusb2_data3 | gpio_182 | mm2_txen_n | NA | safe_mode

    2) cat /debug/omap_mux/mcspi2_cs1
    name: mcspi2_cs1.safe_mode (0x480021de/0x1ae = 0x010f), b v3, t NA
    mode: OMAP_PIN_INPUT_PULLDOWN | OMAP_MUX_MODE7
    signals: mcspi2_cs1 | gpt8_pwm_evt | hsusb2_tll_data3 | hsusb2_data3 | gpio_182 | mm2_txen_n | NA | safe_mode

    3) echo 0x4 > /debug/omap_mux/mcspi2_cs1

    4) cat /debug/omap_mux/mcspi2_cs1
    name: mcspi2_cs1.gpio_182 (0x480021de/0x1ae = 0x0004), b v3, t NA
    mode: OMAP_PIN_OUTPUT | OMAP_MUX_MODE4
    signals: mcspi2_cs1 | gpt8_pwm_evt | hsusb2_tll_data3 | hsusb2_data3 | gpio_182 | mm2_txen_n | NA | safe_mode

    5) echo 182 > /sys/class/gpio/export

    6) echo out > /sys/class/gpio/gpio182/direction

    7) echo 1 > /sys/class/gpio/gpio182/value

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    17 Jun 2016 08:52 AM
    Using our stock evaluation kit, I cannot reproduce your issue. The instructions you posted drive the output of GPIO_182 to 1.8V.

    I verified this by checking pin 19 on J32.

    I will e-mail you a screen shot of the scope image that I have.

    adam
    You are not authorized to post a reply.