Using XPD_DCDC as a general input

Aleix
Posts: 8
Joined: Tue Mar 08, 2016 5:21 am

Using XPD_DCDC as a general input

Postby Aleix » Wed Jun 15, 2016 3:16 pm

Hi everyone,

We just had our first boards prototyped and ran into a small issue.
What's called on the datasheet pin functions: XPD_DCDC, I/O, Deep sleep wake-up;GPIO16 has no referenced function "GPIO" on the pin list released as .xls

So, in order to use XPD_DCDC as a general input in the user's firmware, how should we declare the pin instance?

Ie, what in GPIO14 yould be: PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTMS_U,FUNC_GPIO14), how would that be for GPIO16?

Thanks,

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: Using XPD_DCDC as a general input

Postby ESP_Faye » Thu Jun 16, 2016 5:26 pm

Hi,

\ESP8266_NONOS_SDK_v1.5.4\driver_lib\driver\gpio16.c , could it help ?

Aleix
Posts: 8
Joined: Tue Mar 08, 2016 5:21 am

Re: Using XPD_DCDC as a general input

Postby Aleix » Sat Jun 18, 2016 1:31 am

Thanks, that seemed to point us in the right direction!

Who is online

Users browsing this forum: No registered users and 290 guests