cancel
Showing results for 
Search instead for 
Did you mean: 

STWLC38 GPIO Functions

pEEter
Associate II

Can you help to explain the function of these GPIO settings on the RX IC?

0x0A - RX power Out OD - this function is not mentioned in the datasheet or EVK user guide but is available through the GUI. How does it work?

0x05 - what does FW ready indicate? Is it related to Vout turn on? Is this a Push Pull or Open Drain pin?

0x29 and 0x2A - What is the function here? Does this pin act based on any information on the IC, or does it just stay high/low?

1 REPLY 1
willzhou
ST Employee

Hi Sir

 

GPIO_FUNC_RX_PWR_OUT_OD = 0x0A,            #///< 0A - out_od: Power output enabled (0=on, 1=off)
when vout is turn on, this gpio will be open drain output high
 
GPIO_FUNC_FW_RDY = 5,                   #///< 05 - out_pp: High on FW ready (before main loop)
0x05 - what does FW ready indicate? -- when rx is power on and fw feady, this is push pull high
 
GPIO_FUNC_OD_LO = 0x29,                    #///< 29 - out_od: driven low
GPIO_FUNC_OD_HI = 0x2A,                    #///< 2A - out_od: driven high
GPIO_FUNC_PP_LO = 0x2B,                    #///< 2B - out_pp: driven low
GPIO_FUNC_PP_HI = 0x2C,                    #///< 2C - out_pp: driven high
 

about wlc38 gpio control please refer this link for more infor

https://github.com/STwirelesscharger/Python_FT260_ST_WLC/blob/main/wlc38_register.py

https://github.com/STwirelesscharger/Python_FT260_ST_WLC/blob/main/a8_wlc38_gpio_control.py

 

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.