Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Mapping GPIO in Raspberry pi 3 (Problem to solve)

yacinenet
2017-09-07
2017-09-13
  • yacinenet - 2017-09-07

    Hello,
    i just burned a new Raspberry Pi 3 because i put output with ouput, so before i do any thing else i must know what im doing.

    it's very hard to undestand the Mapping GPIO in Codesys for Raspberry Pi 3, what meanse Bits 0-31? Is that a register? I have looked on the Datasheet there is no trace of such mapping.

    Please share with me you experience how to connect/convert GPIO presentation in Codesys to standard GPIO.

    (See Screenshots in Attachments)

    Thank you and best regards.

    IMG: GPIO.jpg

    IMG: RP2_Pinout.png

     
  • eschwellinger

    eschwellinger - 2017-09-07

    Hi,
    hm.. did you ever open one ogf the example projects?
    In this case the following Project should help:
    "c:\Users\<yourwindowsusername>\CODESYS Control for Raspberry PI\3.5.11.10\Examples\GPIO.project" </yourwindowsusername>

    BR
    Edwin

    IMG: GPIOS.jpg

     
  • yacinenet - 2017-09-07

    Hey, thank you for your reply
    Yes of course but i still could not understand the schema, in my project for example i used QX0.0-4 (not important which one) what's the equivalant GPIO on the image that you sent?
    Thank you

    IMG: prj (2).PNG

    IMG: prj (1).PNG

     
  • yacinenet - 2017-09-13

    If I don't need to use QX and IX what i should use alternative for GPIO?

     

Log in to post a comment.