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 15 Jan 2016 12:46 PM by  William Deninger
CAM_D6,GPIO_105 pin access
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
William Deninger
New Member
New Member
Posts:22


--
13 Jan 2016 06:54 PM

    Using Torpedo SOM DM3730-30-2780AKCR-A with SDK board.

    I have had success setting output level (direction=out, value=0,1) for cam_d3,cam_d4 and cam_d5. 

    But no success changing cam_6 and cam_d7.  They seem to remain at 0 (GND). Similarly, when injecting a signal onto the line and setting the GPIO direction to 'in', it fails to read back anything other than '0'.

    I have removed jumpers on JP5 thereby disabling the camera buffer from driving the line, and am monitoring the signal on the corresponding U5 pins.

    DM-37x# cat /debug/omap_mux/cam_d6

    name: cam_d6.safe_mode (0x48002122/0x0f2 = 0x010f), b k28, t NA
    mode: OMAP_PIN_INPUT_PULLDOWN | OMAP_MUX_MODE7
    signals: cam_d6 | NA | NA | NA | gpio_105 | NA | NA | safe_mode


    DM-37x# echo 0x4 > /debug/omap_mux/cam_d6
    DM-37x#cat /debug/omap_mux/cam_d6
    DM-37x#echo 105 > /sys/class/gpio/export
    DM-37x#echo out > /sys/class/gpio/gpio105/direction
    DM-37x#echo 1 > /sys/class/gpio/gpio105/value

    DM-37x#cat /debug/omap_mux/cam_d6
    name: cam_d6.gpio_105 (0x48002122/0x0f2 = 0x0004), b k28, t NA
    mode: OMAP_PIN_OUTPUT | OMAP_MUX_MODE4
    signals: cam_d6 | NA | NA | NA | gpio_105 | NA | NA | safe_mode 

    seems ok here, but output remains zero....  Any guesses?  Any errata for this?

     

    -W


    bradb
    Basic Member
    Basic Member
    Posts:203


    --
    14 Jan 2016 03:53 PM
    William,

    Information provided in DM3730 Revision D datasheet (table 2-1) list GPIO_105 as an input only signal.  

    This information is also available in Logic PD's AN 527 Selecting and Using GPIO Signals on DM3730/AM3703 SOMs

    Here is a list of GPIO signals or better GPI signals that are input only.

    GPIO_99, GPIO_100, GPIO_105 through GPIO_108, and GPIO_112 through GPIO_115 can only be used as GPI (input only) and require that VAUX4 be enabled.

    Regards,
    Brad
    William Deninger
    New Member
    New Member
    Posts:22


    --
    15 Jan 2016 12:46 PM

    Thank you...

    I too found this information yesterday at http://processors.wiki.ti...ware_Migration_Guide

     

    -W

    You are not authorized to post a reply.