UART over DMA, registers are missing in reference manual
-
- Posts: 62
- Joined: Wed Apr 19, 2017 6:35 am
UART over DMA, registers are missing in reference manual
As I am trying to initialise DMA for UART communication , I found that few resistors
ex:
UHCI_IN_RST
UHCI_OUT_RST
UHCI_AHBM_RST
UHCI_AHBM_FIFO_RST
are missing in reference manual although these resistors are mentioned in driver library "uhci_reg.h",
also no bit value mentioned for initialising UHCI_DMA_IN_DSCR_REG resistor's.
Can someone help or detailed me on this ?
ex:
UHCI_IN_RST
UHCI_OUT_RST
UHCI_AHBM_RST
UHCI_AHBM_FIFO_RST
are missing in reference manual although these resistors are mentioned in driver library "uhci_reg.h",
also no bit value mentioned for initialising UHCI_DMA_IN_DSCR_REG resistor's.
Can someone help or detailed me on this ?
Re: UART over DMA, resistors are missing in reference manual
Hi Loboris or Espressif Developer,
I am working with Rahul who has raised query regarding UART DMA registers.
So, Would you please check it from your side and let us know if you find anything?
I am working with Rahul who has raised query regarding UART DMA registers.
So, Would you please check it from your side and let us know if you find anything?
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: UART over DMA, resistors are missing in reference manual
Hi WiFive ,
Would you please check question which has been raised by Rahul Patel and let me know if you have any informations regarding those missing details into Reference Manual.\
They are referring latest ESP32 Reference Manual Document for same.
Would you please check question which has been raised by Rahul Patel and let me know if you have any informations regarding those missing details into Reference Manual.\
They are referring latest ESP32 Reference Manual Document for same.
Regards,
Ritesh Prajapati
Ritesh Prajapati
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: UART over DMA, registers are missing in reference manual
Changed title, 'resistors' is quite the misleading term here.
I'll see if I can take this up with the docs team.
I'll see if I can take this up with the docs team.
Re: UART over DMA, registers are missing in reference manual
Ok.ESP_Sprite wrote:Changed title, 'resistors' is quite the misleading term here.
I'll see if I can take this up with the docs team.
Thanks for your prompt response.
I will be waiting for your reply on this as soon as possible.
Regards,
Ritesh Prajapati
Ritesh Prajapati
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: UART over DMA, registers are missing in reference manual
Ah, hold on a second, these registers are only hinted at in the header files; you initially lead me to believe our drivers actively use it.
The background of this is that there are a bunch of registers that are there for debugging and/or internal use: their use is not documented, not needed during normal (non-chip-design-phase) operations and not recommended as we can remove these or change their behaviour at any time. They actually shouldn't even show up in the header files; I think the script we use at the moment just does not filter them out yet.
The background of this is that there are a bunch of registers that are there for debugging and/or internal use: their use is not documented, not needed during normal (non-chip-design-phase) operations and not recommended as we can remove these or change their behaviour at any time. They actually shouldn't even show up in the header files; I think the script we use at the moment just does not filter them out yet.
Re: UART over DMA, registers are missing in reference manual
Thanks for you prompt reply.ESP_Sprite wrote:Ah, hold on a second, these registers are only hinted at in the header files; you initially lead me to believe our drivers actively use it.
The background of this is that there are a bunch of registers that are there for debugging and/or internal use: their use is not documented, not needed during normal (non-chip-design-phase) operations and not recommended as we can remove these or change their behaviour at any time. They actually shouldn't even show up in the header files; I think the script we use at the moment just does not filter them out yet.
We had checked DMA initialization sequence for both SPI and I2S but we tried also for UART Communication using DMA and not got any success yet.
So, Would you please check at your side as well and provide me UART based DMA example if any for how to use it?
Let me know if you need anything else from.my side regarding same.
Regards,
Ritesh Prajapati
Ritesh Prajapati
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: UART over DMA, registers are missing in reference manual
I think a colleague of mine is working on an UHCI driver; it will be included into esp-idf when it's done.
Re: UART over DMA, registers are missing in reference manual
So, It means UART DMA is not fully supported into current UART of UHCI bases driver. Correct?ESP_Sprite wrote:I think a colleague of mine is working on an UHCI driver; it will be included into esp-idf when it's done.
So, When it will be included into ESP32 IDF? Do you have any tentative timeline or schedule for that?
Regards,
Ritesh Prajapati
Ritesh Prajapati
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: UART over DMA, registers are missing in reference manual
Well, unless I'm terribly mistaken, there is no UHCI driver in the current esp-idf, and the UART driver does not use any of the UHCI features, so no, there's nothing related to uhci just yet. I can't entirely tell when the driver is scheduled; my guess would be that it's going to go in 3.1.
Who is online
Users browsing this forum: Bing [Bot] and 99 guests