You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by Felipe Moura Oliveira <mo...@gmail.com> on 2025/01/15 00:55:00 UTC

Assistance Needed with Adding a Low Power UART on ESP32C6 Project

*Dear All,*

I hope this message finds you well.

I am currently working on a project using the ESP32C6 and find myself in
need of an additional UART, bringing the total to three UARTs. Initially, I
considered implementing a UART using bit-banging; however, after reviewing
the documentation, I discovered that a low power UART option is available,
which seems to suit my requirements.

At first glance, adding this UART does not appear to be overly complex.
However, I am encountering an issue related to a missing configuration:

The UART configurations on the ESP require two parameters that I am having
difficulty understanding:

.txsig = U1TXD_OUT_IDX,
.rxsig = U1RXD_IN_IDX,

Could someone please explain what these parameters represent?

Upon examining the gpio_sigmap.h file that references the ESP32C6, I
noticed that there isn't a similar parameter available for use with
the low power UART. How should I proceed in this case?

Any guidance or assistance you can provide would be greatly appreciated.

Thank you in advance for your support.

*Best regards,*


-- 
*Felipe Moura de Oliveira*
*Universidade Federal de Minas Gerais*
Linkedin <https://www.linkedin.com/in/felipe-oliveira-75a651a0>
<https://twitter.com/FelipeMOliveir?lang=pt-br>

Re: Assistance Needed with Adding a Low Power UART on ESP32C6 Project

Posted by "Alan C. Assis" <ac...@gmail.com>.
Ohh, I never tested it on ESP32C6, but at least on ESP32C3 and ESP32S3 it
was working fine.

Maybe someone from Espressif can help here.

BR,

Alan

On Wed, Jan 15, 2025 at 1:11 PM Felipe Moura Oliveira <mo...@gmail.com>
wrote:

> Hello Alan,
>
> Thank you very much for talk to me about usbconsole. It will solve my
> project requirement.
>
> Unfortunately, at least in the master version, the console is stuck when
> data is sent from pc to esp32c6. I will check it better.
>
> Type [C-a] [C-h] to see available commands
> Terminal ready
> NSH) NuttX-12.
> nsh: nsh>: command not found
> nsh>
> nsh> hNutSell: c
> nsh: hNutSell:: command not found
> nsh> [n
> nsh: [n: command not found
> nsh>
> nsh>
> nsh> ns:nh:c
> nsh: ns:nh:c: command not found
> nsh>
> nsh> [
> nsh: [: missing required argument(s)
> nsh>
> nsh> nsh: nsh>: command ntfound
> nsh: nsh:: command not found
> nsh> nsh> ^[ s>^el(
> nsh: nsh>: command not found
> nsh> l
>
> Em qua., 15 de jan. de 2025 às 11:36, Alan C. Assis <ac...@gmail.com>
> escreveu:
>
> > Hi Felipe,
> >
> > If you are using one of these two UART as serial console (to NSH), then
> you
> > can see it using the USB Serial/JTAG interface:
> >
> >
> >
> https://docs.espressif.com/projects/esp-idf/en/stable/esp32c6/api-guides/usb-serial-jtag-console.html
> >
> > This way you will have two real serials available to your product.
> >
> > BR,
> >
> > Alan
> >
> > On Tue, Jan 14, 2025 at 9:55 PM Felipe Moura Oliveira <
> moura.fmo@gmail.com
> > >
> > wrote:
> >
> > > *Dear All,*
> > >
> > > I hope this message finds you well.
> > >
> > > I am currently working on a project using the ESP32C6 and find myself
> in
> > > need of an additional UART, bringing the total to three UARTs.
> > Initially, I
> > > considered implementing a UART using bit-banging; however, after
> > reviewing
> > > the documentation, I discovered that a low power UART option is
> > available,
> > > which seems to suit my requirements.
> > >
> > > At first glance, adding this UART does not appear to be overly complex.
> > > However, I am encountering an issue related to a missing configuration:
> > >
> > > The UART configurations on the ESP require two parameters that I am
> > having
> > > difficulty understanding:
> > >
> > > .txsig = U1TXD_OUT_IDX,
> > > .rxsig = U1RXD_IN_IDX,
> > >
> > > Could someone please explain what these parameters represent?
> > >
> > > Upon examining the gpio_sigmap.h file that references the ESP32C6, I
> > > noticed that there isn't a similar parameter available for use with
> > > the low power UART. How should I proceed in this case?
> > >
> > > Any guidance or assistance you can provide would be greatly
> appreciated.
> > >
> > > Thank you in advance for your support.
> > >
> > > *Best regards,*
> > >
> > >
> > > --
> > > *Felipe Moura de Oliveira*
> > > *Universidade Federal de Minas Gerais*
> > > Linkedin <https://www.linkedin.com/in/felipe-oliveira-75a651a0>
> > > <https://twitter.com/FelipeMOliveir?lang=pt-br>
> > >
> >
>
>
> --
> *Felipe Moura de Oliveira*
> *Universidade Federal de Minas Gerais*
> Linkedin <https://www.linkedin.com/in/felipe-oliveira-75a651a0>
> <https://twitter.com/FelipeMOliveir?lang=pt-br>
>

Re: Assistance Needed with Adding a Low Power UART on ESP32C6 Project

Posted by Felipe Moura Oliveira <mo...@gmail.com>.
Hello Alan,

Thank you very much for talk to me about usbconsole. It will solve my
project requirement.

Unfortunately, at least in the master version, the console is stuck when
data is sent from pc to esp32c6. I will check it better.

Type [C-a] [C-h] to see available commands
Terminal ready
NSH) NuttX-12.
nsh: nsh>: command not found
nsh>
nsh> hNutSell: c
nsh: hNutSell:: command not found
nsh> [n
nsh: [n: command not found
nsh>
nsh>
nsh> ns:nh:c
nsh: ns:nh:c: command not found
nsh>
nsh> [
nsh: [: missing required argument(s)
nsh>
nsh> nsh: nsh>: command ntfound
nsh: nsh:: command not found
nsh> nsh> ^[ s>^el(
nsh: nsh>: command not found
nsh> l

Em qua., 15 de jan. de 2025 às 11:36, Alan C. Assis <ac...@gmail.com>
escreveu:

> Hi Felipe,
>
> If you are using one of these two UART as serial console (to NSH), then you
> can see it using the USB Serial/JTAG interface:
>
>
> https://docs.espressif.com/projects/esp-idf/en/stable/esp32c6/api-guides/usb-serial-jtag-console.html
>
> This way you will have two real serials available to your product.
>
> BR,
>
> Alan
>
> On Tue, Jan 14, 2025 at 9:55 PM Felipe Moura Oliveira <moura.fmo@gmail.com
> >
> wrote:
>
> > *Dear All,*
> >
> > I hope this message finds you well.
> >
> > I am currently working on a project using the ESP32C6 and find myself in
> > need of an additional UART, bringing the total to three UARTs.
> Initially, I
> > considered implementing a UART using bit-banging; however, after
> reviewing
> > the documentation, I discovered that a low power UART option is
> available,
> > which seems to suit my requirements.
> >
> > At first glance, adding this UART does not appear to be overly complex.
> > However, I am encountering an issue related to a missing configuration:
> >
> > The UART configurations on the ESP require two parameters that I am
> having
> > difficulty understanding:
> >
> > .txsig = U1TXD_OUT_IDX,
> > .rxsig = U1RXD_IN_IDX,
> >
> > Could someone please explain what these parameters represent?
> >
> > Upon examining the gpio_sigmap.h file that references the ESP32C6, I
> > noticed that there isn't a similar parameter available for use with
> > the low power UART. How should I proceed in this case?
> >
> > Any guidance or assistance you can provide would be greatly appreciated.
> >
> > Thank you in advance for your support.
> >
> > *Best regards,*
> >
> >
> > --
> > *Felipe Moura de Oliveira*
> > *Universidade Federal de Minas Gerais*
> > Linkedin <https://www.linkedin.com/in/felipe-oliveira-75a651a0>
> > <https://twitter.com/FelipeMOliveir?lang=pt-br>
> >
>


-- 
*Felipe Moura de Oliveira*
*Universidade Federal de Minas Gerais*
Linkedin <https://www.linkedin.com/in/felipe-oliveira-75a651a0>
<https://twitter.com/FelipeMOliveir?lang=pt-br>

Re: Assistance Needed with Adding a Low Power UART on ESP32C6 Project

Posted by "Alan C. Assis" <ac...@gmail.com>.
Hi Felipe,

If you are using one of these two UART as serial console (to NSH), then you
can see it using the USB Serial/JTAG interface:

https://docs.espressif.com/projects/esp-idf/en/stable/esp32c6/api-guides/usb-serial-jtag-console.html

This way you will have two real serials available to your product.

BR,

Alan

On Tue, Jan 14, 2025 at 9:55 PM Felipe Moura Oliveira <mo...@gmail.com>
wrote:

> *Dear All,*
>
> I hope this message finds you well.
>
> I am currently working on a project using the ESP32C6 and find myself in
> need of an additional UART, bringing the total to three UARTs. Initially, I
> considered implementing a UART using bit-banging; however, after reviewing
> the documentation, I discovered that a low power UART option is available,
> which seems to suit my requirements.
>
> At first glance, adding this UART does not appear to be overly complex.
> However, I am encountering an issue related to a missing configuration:
>
> The UART configurations on the ESP require two parameters that I am having
> difficulty understanding:
>
> .txsig = U1TXD_OUT_IDX,
> .rxsig = U1RXD_IN_IDX,
>
> Could someone please explain what these parameters represent?
>
> Upon examining the gpio_sigmap.h file that references the ESP32C6, I
> noticed that there isn't a similar parameter available for use with
> the low power UART. How should I proceed in this case?
>
> Any guidance or assistance you can provide would be greatly appreciated.
>
> Thank you in advance for your support.
>
> *Best regards,*
>
>
> --
> *Felipe Moura de Oliveira*
> *Universidade Federal de Minas Gerais*
> Linkedin <https://www.linkedin.com/in/felipe-oliveira-75a651a0>
> <https://twitter.com/FelipeMOliveir?lang=pt-br>
>

Re: Assistance Needed with Adding a Low Power UART on ESP32C6 Project

Posted by Eren Terzioğlu <er...@espressif.com.INVALID>.
Hello Felipe,

If I remember correctly the version of esp-hal-3rdparty that we are using does not support LP peripherals or at least lp_uart. We need to update it first and then it is possible to implement it. It might be the reason why you did not find related gpio idx value. You can check initial commit of lp_uart support on idf there https://github.com/espressif/esp-idf/commit/36380826701a1f8f213a65475a18341581a9c81a which is merged to v5.2 beta (we are using v5.1)



Best Regards,
________________________________
From: Felipe Moura Oliveira <mo...@gmail.com>
Sent: Wednesday, January 15, 2025 4:51 PM
To: dev@nuttx.apache.org <de...@nuttx.apache.org>
Subject: Re: Assistance Needed with Adding a Low Power UART on ESP32C6 Project

[External: This email originated outside Espressif]

Hello Eren.

Table 7-2 from
https://www.espressif.com/sites/default/files/documentation/esp32-c6_technical_reference_manual_en.pdf
show relation between IDX and peripherals, but there are only 2 UARTs
available, it doesn't talk about 3rd uart. I will check more about this.
Will be good to add more than one uart in esp32c6.

Em qua., 15 de jan. de 2025 às 08:51, Felipe Moura Oliveira <
moura.fmo@gmail.com> escreveu:

> Hello Eren.
>
> Thanks for your support.
> I cannot find a relation with values of IDX in the technical reference.
> Also, looking at the use of the function esp_gpio_matrix_out in the idf,
> the approach there is different.
> Do you know how I can find the right IDX for LP_UART?
>
> LP_UART is available in idf by config below:
>
> { // LP UART0
> .pins = {
> [SOC_UART_TX_PIN_IDX] = {
> .default_gpio = LP_U0TXD_GPIO_NUM,
> .iomux_func = LP_U0TXD_MUX_FUNC,
> .input = 0,
> .signal = UINT8_MAX, // Signal not available in signal map
> },
>
> [SOC_UART_RX_PIN_IDX] = {
> .default_gpio = LP_U0RXD_GPIO_NUM,
> .iomux_func = LP_U0RXD_MUX_FUNC,
> .input = 1,
> .signal = UINT8_MAX, // Signal not available in signal map
> },
>
> [SOC_UART_RTS_PIN_IDX] = {
> .default_gpio = LP_U0RTS_GPIO_NUM,
> .iomux_func = LP_U0RTS_MUX_FUNC,
> .input = 0,
> .signal = UINT8_MAX, // Signal not available in signal map
> },
>
> [SOC_UART_CTS_PIN_IDX] = {
> .default_gpio = LP_U0CTS_GPIO_NUM,
> .iomux_func = LP_U0CTS_MUX_FUNC,
> .input = 1,
> .signal = UINT8_MAX, // Signal not available in signal map
> },
> },
> .irq = ETS_LP_UART_INTR_SOURCE,
> },
> };
>
>
>
> Em qua., 15 de jan. de 2025 às 06:20, Eren Terzioğlu
> <er...@espressif.com.invalid> escreveu:
>
>> Hi,
>>
>> U1TXD_OUT_IDX and similar idx variables represent signal indexes which
>> are used to route related peripheral output to the gpio. After routing the
>> correct signal to gpio pin, you can access the related peripheral from gpio
>> pin.
>>
>> Best Regards
>> ________________________________
>> From: Felipe Moura Oliveira <mo...@gmail.com>
>> Sent: Wednesday, January 15, 2025 3:55 AM
>> To: dev@nuttx.apache.org <de...@nuttx.apache.org>
>> Subject: Assistance Needed with Adding a Low Power UART on ESP32C6 Project
>>
>> [External: This email originated outside Espressif]
>>
>> *Dear All,*
>>
>> I hope this message finds you well.
>>
>> I am currently working on a project using the ESP32C6 and find myself in
>> need of an additional UART, bringing the total to three UARTs. Initially,
>> I
>> considered implementing a UART using bit-banging; however, after reviewing
>> the documentation, I discovered that a low power UART option is available,
>> which seems to suit my requirements.
>>
>> At first glance, adding this UART does not appear to be overly complex.
>> However, I am encountering an issue related to a missing configuration:
>>
>> The UART configurations on the ESP require two parameters that I am having
>> difficulty understanding:
>>
>> .txsig = U1TXD_OUT_IDX,
>> .rxsig = U1RXD_IN_IDX,
>>
>> Could someone please explain what these parameters represent?
>>
>> Upon examining the gpio_sigmap.h file that references the ESP32C6, I
>> noticed that there isn't a similar parameter available for use with
>> the low power UART. How should I proceed in this case?
>>
>> Any guidance or assistance you can provide would be greatly appreciated.
>>
>> Thank you in advance for your support.
>>
>> *Best regards,*
>>
>>
>> --
>> *Felipe Moura de Oliveira*
>> *Universidade Federal de Minas Gerais*
>> Linkedin <https://www.linkedin.com/in/felipe-oliveira-75a651a0>
>> <https://twitter.com/FelipeMOliveir?lang=pt-br>
>>
>
>
> --
> *Felipe Moura de Oliveira*
> *Universidade Federal de Minas Gerais*
> Linkedin <https://www.linkedin.com/in/felipe-oliveira-75a651a0>
> <https://twitter.com/FelipeMOliveir?lang=pt-br>
>


--
*Felipe Moura de Oliveira*
*Universidade Federal de Minas Gerais*
Linkedin <https://www.linkedin.com/in/felipe-oliveira-75a651a0>
<https://twitter.com/FelipeMOliveir?lang=pt-br>

Re: Assistance Needed with Adding a Low Power UART on ESP32C6 Project

Posted by Felipe Moura Oliveira <mo...@gmail.com>.
Hello Eren.

Table 7-2 from
https://www.espressif.com/sites/default/files/documentation/esp32-c6_technical_reference_manual_en.pdf
show relation between IDX and peripherals, but there are only 2 UARTs
available, it doesn't talk about 3rd uart. I will check more about this.
Will be good to add more than one uart in esp32c6.

Em qua., 15 de jan. de 2025 às 08:51, Felipe Moura Oliveira <
moura.fmo@gmail.com> escreveu:

> Hello Eren.
>
> Thanks for your support.
> I cannot find a relation with values of IDX in the technical reference.
> Also, looking at the use of the function esp_gpio_matrix_out in the idf,
> the approach there is different.
> Do you know how I can find the right IDX for LP_UART?
>
> LP_UART is available in idf by config below:
>
> { // LP UART0
> .pins = {
> [SOC_UART_TX_PIN_IDX] = {
> .default_gpio = LP_U0TXD_GPIO_NUM,
> .iomux_func = LP_U0TXD_MUX_FUNC,
> .input = 0,
> .signal = UINT8_MAX, // Signal not available in signal map
> },
>
> [SOC_UART_RX_PIN_IDX] = {
> .default_gpio = LP_U0RXD_GPIO_NUM,
> .iomux_func = LP_U0RXD_MUX_FUNC,
> .input = 1,
> .signal = UINT8_MAX, // Signal not available in signal map
> },
>
> [SOC_UART_RTS_PIN_IDX] = {
> .default_gpio = LP_U0RTS_GPIO_NUM,
> .iomux_func = LP_U0RTS_MUX_FUNC,
> .input = 0,
> .signal = UINT8_MAX, // Signal not available in signal map
> },
>
> [SOC_UART_CTS_PIN_IDX] = {
> .default_gpio = LP_U0CTS_GPIO_NUM,
> .iomux_func = LP_U0CTS_MUX_FUNC,
> .input = 1,
> .signal = UINT8_MAX, // Signal not available in signal map
> },
> },
> .irq = ETS_LP_UART_INTR_SOURCE,
> },
> };
>
>
>
> Em qua., 15 de jan. de 2025 às 06:20, Eren Terzioğlu
> <er...@espressif.com.invalid> escreveu:
>
>> Hi,
>>
>> U1TXD_OUT_IDX and similar idx variables represent signal indexes which
>> are used to route related peripheral output to the gpio. After routing the
>> correct signal to gpio pin, you can access the related peripheral from gpio
>> pin.
>>
>> Best Regards
>> ________________________________
>> From: Felipe Moura Oliveira <mo...@gmail.com>
>> Sent: Wednesday, January 15, 2025 3:55 AM
>> To: dev@nuttx.apache.org <de...@nuttx.apache.org>
>> Subject: Assistance Needed with Adding a Low Power UART on ESP32C6 Project
>>
>> [External: This email originated outside Espressif]
>>
>> *Dear All,*
>>
>> I hope this message finds you well.
>>
>> I am currently working on a project using the ESP32C6 and find myself in
>> need of an additional UART, bringing the total to three UARTs. Initially,
>> I
>> considered implementing a UART using bit-banging; however, after reviewing
>> the documentation, I discovered that a low power UART option is available,
>> which seems to suit my requirements.
>>
>> At first glance, adding this UART does not appear to be overly complex.
>> However, I am encountering an issue related to a missing configuration:
>>
>> The UART configurations on the ESP require two parameters that I am having
>> difficulty understanding:
>>
>> .txsig = U1TXD_OUT_IDX,
>> .rxsig = U1RXD_IN_IDX,
>>
>> Could someone please explain what these parameters represent?
>>
>> Upon examining the gpio_sigmap.h file that references the ESP32C6, I
>> noticed that there isn't a similar parameter available for use with
>> the low power UART. How should I proceed in this case?
>>
>> Any guidance or assistance you can provide would be greatly appreciated.
>>
>> Thank you in advance for your support.
>>
>> *Best regards,*
>>
>>
>> --
>> *Felipe Moura de Oliveira*
>> *Universidade Federal de Minas Gerais*
>> Linkedin <https://www.linkedin.com/in/felipe-oliveira-75a651a0>
>> <https://twitter.com/FelipeMOliveir?lang=pt-br>
>>
>
>
> --
> *Felipe Moura de Oliveira*
> *Universidade Federal de Minas Gerais*
> Linkedin <https://www.linkedin.com/in/felipe-oliveira-75a651a0>
> <https://twitter.com/FelipeMOliveir?lang=pt-br>
>


-- 
*Felipe Moura de Oliveira*
*Universidade Federal de Minas Gerais*
Linkedin <https://www.linkedin.com/in/felipe-oliveira-75a651a0>
<https://twitter.com/FelipeMOliveir?lang=pt-br>

Re: Assistance Needed with Adding a Low Power UART on ESP32C6 Project

Posted by Felipe Moura Oliveira <mo...@gmail.com>.
Hello Eren.

Thanks for your support.
I cannot find a relation with values of IDX in the technical reference.
Also, looking at the use of the function esp_gpio_matrix_out in the idf,
the approach there is different.
Do you know how I can find the right IDX for LP_UART?

LP_UART is available in idf by config below:

{ // LP UART0
.pins = {
[SOC_UART_TX_PIN_IDX] = {
.default_gpio = LP_U0TXD_GPIO_NUM,
.iomux_func = LP_U0TXD_MUX_FUNC,
.input = 0,
.signal = UINT8_MAX, // Signal not available in signal map
},

[SOC_UART_RX_PIN_IDX] = {
.default_gpio = LP_U0RXD_GPIO_NUM,
.iomux_func = LP_U0RXD_MUX_FUNC,
.input = 1,
.signal = UINT8_MAX, // Signal not available in signal map
},

[SOC_UART_RTS_PIN_IDX] = {
.default_gpio = LP_U0RTS_GPIO_NUM,
.iomux_func = LP_U0RTS_MUX_FUNC,
.input = 0,
.signal = UINT8_MAX, // Signal not available in signal map
},

[SOC_UART_CTS_PIN_IDX] = {
.default_gpio = LP_U0CTS_GPIO_NUM,
.iomux_func = LP_U0CTS_MUX_FUNC,
.input = 1,
.signal = UINT8_MAX, // Signal not available in signal map
},
},
.irq = ETS_LP_UART_INTR_SOURCE,
},
};



Em qua., 15 de jan. de 2025 às 06:20, Eren Terzioğlu
<er...@espressif.com.invalid> escreveu:

> Hi,
>
> U1TXD_OUT_IDX and similar idx variables represent signal indexes which are
> used to route related peripheral output to the gpio. After routing the
> correct signal to gpio pin, you can access the related peripheral from gpio
> pin.
>
> Best Regards
> ________________________________
> From: Felipe Moura Oliveira <mo...@gmail.com>
> Sent: Wednesday, January 15, 2025 3:55 AM
> To: dev@nuttx.apache.org <de...@nuttx.apache.org>
> Subject: Assistance Needed with Adding a Low Power UART on ESP32C6 Project
>
> [External: This email originated outside Espressif]
>
> *Dear All,*
>
> I hope this message finds you well.
>
> I am currently working on a project using the ESP32C6 and find myself in
> need of an additional UART, bringing the total to three UARTs. Initially, I
> considered implementing a UART using bit-banging; however, after reviewing
> the documentation, I discovered that a low power UART option is available,
> which seems to suit my requirements.
>
> At first glance, adding this UART does not appear to be overly complex.
> However, I am encountering an issue related to a missing configuration:
>
> The UART configurations on the ESP require two parameters that I am having
> difficulty understanding:
>
> .txsig = U1TXD_OUT_IDX,
> .rxsig = U1RXD_IN_IDX,
>
> Could someone please explain what these parameters represent?
>
> Upon examining the gpio_sigmap.h file that references the ESP32C6, I
> noticed that there isn't a similar parameter available for use with
> the low power UART. How should I proceed in this case?
>
> Any guidance or assistance you can provide would be greatly appreciated.
>
> Thank you in advance for your support.
>
> *Best regards,*
>
>
> --
> *Felipe Moura de Oliveira*
> *Universidade Federal de Minas Gerais*
> Linkedin <https://www.linkedin.com/in/felipe-oliveira-75a651a0>
> <https://twitter.com/FelipeMOliveir?lang=pt-br>
>


-- 
*Felipe Moura de Oliveira*
*Universidade Federal de Minas Gerais*
Linkedin <https://www.linkedin.com/in/felipe-oliveira-75a651a0>
<https://twitter.com/FelipeMOliveir?lang=pt-br>

Re: Assistance Needed with Adding a Low Power UART on ESP32C6 Project

Posted by Eren Terzioğlu <er...@espressif.com.INVALID>.
Hi,

U1TXD_OUT_IDX and similar idx variables represent signal indexes which are used to route related peripheral output to the gpio. After routing the correct signal to gpio pin, you can access the related peripheral from gpio pin.

Best Regards
________________________________
From: Felipe Moura Oliveira <mo...@gmail.com>
Sent: Wednesday, January 15, 2025 3:55 AM
To: dev@nuttx.apache.org <de...@nuttx.apache.org>
Subject: Assistance Needed with Adding a Low Power UART on ESP32C6 Project

[External: This email originated outside Espressif]

*Dear All,*

I hope this message finds you well.

I am currently working on a project using the ESP32C6 and find myself in
need of an additional UART, bringing the total to three UARTs. Initially, I
considered implementing a UART using bit-banging; however, after reviewing
the documentation, I discovered that a low power UART option is available,
which seems to suit my requirements.

At first glance, adding this UART does not appear to be overly complex.
However, I am encountering an issue related to a missing configuration:

The UART configurations on the ESP require two parameters that I am having
difficulty understanding:

.txsig = U1TXD_OUT_IDX,
.rxsig = U1RXD_IN_IDX,

Could someone please explain what these parameters represent?

Upon examining the gpio_sigmap.h file that references the ESP32C6, I
noticed that there isn't a similar parameter available for use with
the low power UART. How should I proceed in this case?

Any guidance or assistance you can provide would be greatly appreciated.

Thank you in advance for your support.

*Best regards,*


--
*Felipe Moura de Oliveira*
*Universidade Federal de Minas Gerais*
Linkedin <https://www.linkedin.com/in/felipe-oliveira-75a651a0>
<https://twitter.com/FelipeMOliveir?lang=pt-br>