Go to previous topic
Go to next topic
Last Post 04 Jun 2018 12:24 PM by  Adam Ford
Information GPIO_122 DM3730 -Torpedo Wireless
 7 Replies
Author Messages
Sergey Brandis
New Member
New Member
Posts:79


--
04 Jun 2018 05:17 AM

    Hi ! 

    I  have some questions about GPIO_122. 

    In datasheet  DM3730_Technical Reference Manual I found that GPIO_122 :

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    04 Jun 2018 07:04 AM
    I don't think there is a complete question. Can you re-state your question?

    thanks

    adam
    Sergey Brandis
    New Member
    New Member
    Posts:79


    --
    04 Jun 2018 07:12 AM

    Yeah. Of cource . I don't know about this bug on forum or my computer. But If you see I create 5 similar topic. Can you delete all and I repet my question.

    Sergey Brandis
    New Member
    New Member
    Posts:79


    --
    04 Jun 2018 07:12 AM

    Yeah. Of cource . I don't know about this bug on forum or my computer. But If you see I create 5 similar topic. Can you delete all and I repet my question.

    Sergey Brandis
    New Member
    New Member
    Posts:79


    --
    04 Jun 2018 08:43 AM

    Hi ! 

    I  have some questions about GPIO_122. 

    In datasheet  DM3730_Technical Reference Manual I found that GPIO_122 (pic.below): 

    https://ibb.co/jFPXNo

    But in source of WinCe. In platform.c  I found unexpected comment , that this GPIO_122 is included in USB OTG. When I  change mux_mode from 0 to 4. I set GPIO_122 as gpio, but my device didn't connect to PC host. (pic.below)

    https://ibb.co/eJ78Co

    Can we explain me which function had on GPIO_122? 

     

    Thanks a lot ! 

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    04 Jun 2018 08:52 AM
    I am going to have to look into this. I am working remotely this morning, but the pin should be set to mux mode 0 for USB to function correctly.

    I hope to have an answer for you later this afternoon.

    adam
    Sergey Brandis
    New Member
    New Member
    Posts:79


    --
    04 Jun 2018 09:13 AM

    Thanks a lot . I wait your answer . Can you see my screenshots on my link in previous message ?  This pin answered for SD (on datasheet version),on source code in platform.c is written , that is USB OTG. When I change mux_mode , I can't connect to PC Host. 

     

     

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    04 Jun 2018 12:24 PM
    I am not sure I fully understand your question, but I'll try to interpret what I think you are asking.

    The OTG controller (aka musb) uses a parallel interface with the PMIC (TPS65950 sometimes known as twl4030).

    The parallel interface uses the HSUSB0_DIR to set the direction of this data and it must be be in mode 0. (per your screen shot https://ibb.co/eJ78Co)

    If you're trying to use GPIO_122, that you made the system collide with the MMC controller, so if you've mounted the SD card in Windows and configured the GPIO_122 pin, it would disconnect because the MMC driver cannot communicate with the SD card (per your screen shot https://ibb.co/jFPXNo)

    If you want to setup GPIO_122, you do not change HSUSB0_DIR, but you would change MMC1_DAT1 to mode 4. HSUSB0_DIR should always be MODE0 if you want to use the USB.

    adam


    ---