Skip to main content

BFS-PGE-31S4M-C GPIO CONFIG ISSUE

Answered

Comments

2 comments

  • Official comment
    TDY_Ifeanyi
    Community team
    Great answers
    Expert (Gold)

    Hello Ricardo,

    With a quick glance on the code seems wrong implementation logic. You are trying to set Line Mode to output when 3.3V rail is already enabled in Line2. Hence, the reason you are getting access violation exception. 

    So, at "case 1", I would set Line Selector to Line2 and enable 3.3V rail. At "case 2" or "case 3", I would set Line Selector to Line2, disable 3.3V rail, and set Line Mode to Output. 

    Please note, it is not necessary to set Line Mode to Input while configuring Line0/Line3. Line Mode is automatically set to Input when any of these lines are selected.

    Please let me know if the provided information help to resolve the issue.

    Regards,
    Ifeanyi

  • Ricardo S Barroso

    Hello Ifeanyi,

    I sorry for the late response, but just want it to thank you. The information you provided help me out with this issue. I changed my logic and now seems to be able to change the IO configuration.

    I will probably ping on you on a not too distant future haha. 

    thanks,

    RB. 

    0

Please sign in to leave a comment.

Powered by Zendesk