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.

Accessing GPIOsfrom user space

Other Parts Discussed in Thread: DM3730

Hi, i'm trying with the DM3730 evm from Mistral. I want to know if it is possible to access GPIOs from user space, and what are the different ways to do this? I was trying to access it using the u-boot functions that are in the "dg_gpio.c" but when i try to read/write to the configuration register (GPIO_OE, CONTROL_PADCONF_X ...) i get a segmentation fault error?

Thanks in advance for the answers.

  • Yes, it is possible. I know this question is from months ago, but I recently was searching for a solution for the DM81xx EVM, and came up with one. You can check out my blog posts here for an outline of the solution.

    http://e2e.ti.com/support/embedded/linux/f/354/p/201675/719976.aspx#719976

    If you need more info, just let me know.

    Cheers