Page 5 of 9

Re: Document Requests

Posted: Sat Nov 17, 2018 5:41 pm
by michprev
AFAIK there is also bug in WP settings (https://github.com/espressif/esp-idf/bl ... ruct.h#L56) both with user commands and SPI flash commands.

Re: Document Requests

Posted: Sun Nov 18, 2018 10:02 am
by michprev
michprev wrote:
Sat Oct 20, 2018 11:33 am
  • [SPI] CS setup time does not work in full duplex
I don't think you realise how huge problem this is. Full-duplex is the most common setup and most SPI peripherals require CS active several clocks before the data transfer.

Re: Document Requests

Posted: Sun Nov 18, 2018 9:22 pm
by michprev
https://github.com/espressif/esp-idf/bl ... #L382-L438 this is not documented

And what does this mean? https://github.com/espressif/esp-idf/bl ... #L843-L846
Is it the same issue as the one above?

Re: Document Requests

Posted: Sat Nov 24, 2018 3:58 pm
by michprev
Setting SPI_CLKCNT_H too high in SPI_CLOCK_REG register makes in some cases (probably depending on SPI_CLKCNT_N) stop SPI working. This is not documented.

Re: Document Requests

Posted: Sun Nov 25, 2018 8:43 am
by michprev
https://docs.espressif.com/projects/esp ... own-issues
Half duplex mode is not compatible with DMA when both writing and reading phases exist.
What does it mean exactly? When SPI_DOUTDIN in SPI_USER_REG is set to zero this issue occurs?

Re: Document Requests

Posted: Tue Nov 27, 2018 6:24 am
by ESP_Lvxinyue
michprev wrote:
Sun Nov 18, 2018 10:02 am
michprev wrote:
Sat Oct 20, 2018 11:33 am
  • [SPI] CS setup time does not work in full duplex
I don't think you realise how huge problem this is. Full-duplex is the most common setup and most SPI peripherals require CS active several clocks before the data transfer.
In full-duplex mode, setting SPI_CS_SETUP results in 1.5 SPI clock cycles between CS active and data transfer, while clearing this bit results in half an SPI clock cycle in between.

Re: Document Requests

Posted: Tue Nov 27, 2018 6:26 am
by ESP_Lvxinyue
michprev wrote:
Sat Nov 24, 2018 3:58 pm
Setting SPI_CLKCNT_H too high in SPI_CLOCK_REG register makes in some cases (probably depending on SPI_CLKCNT_N) stop SPI working. This is not documented.
PI_CLKCNT_H=⌊SPI_CLKCNT_N+1/2 – 1⌋, SPI_CLKCNT_N=SPI_CLKCNT_L

Re: Document Requests/Feedback

Posted: Mon Feb 04, 2019 8:11 am
by pa_denizen
Hi,

I was wondering if there was an inconsistency in the documentation with respect to the ADC1 channel mappings. Here is what I see from the latest docs:

page 34 of esp32_datasheet_en.pdf V2.8:

ADC1_CH0 SENSOR_VP
ADC1_CH1 SENSOR_VN
ADC1_CH2 SENSOR_CAPP
ADC1_CH3 SENSOR_CAPN

Notice that ADC1_CH3 is SENSOR_CAPN and ADC1_CH1 is SENSOR_VN.

On page 14 of the same doc:

SENSOR_VP 5 I GPIO36, ADC1_CH0, RTC_GPIO0
SENSOR_CAPP 6 I GPIO37, ADC1_CH1, RTC_GPIO1
SENSOR_CAPN 7 I GPIO38, ADC1_CH2, RTC_GPIO2
SENSOR_VN 8 I GPIO39, ADC1_CH3, RTC_GPIO3

Notice that ADC1_CH3 is now SENSOR_VN and ADC1_CH1 is SENSOR_CAPP. Also SENSOR_CAPP is also not consistent.

I think that the latter definition is correct, but can someone check and confirm this?

Re: Document Requests/Feedback

Posted: Tue Feb 12, 2019 2:44 am
by ESP_Lvxinyue
pa_denizen wrote:
Mon Feb 04, 2019 8:11 am
Hi,

I was wondering if there was an inconsistency in the documentation with respect to the ADC1 channel mappings. Here is what I see from the latest docs:

page 34 of esp32_datasheet_en.pdf V2.8:

ADC1_CH0 SENSOR_VP
ADC1_CH1 SENSOR_VN
ADC1_CH2 SENSOR_CAPP
ADC1_CH3 SENSOR_CAPN

Notice that ADC1_CH3 is SENSOR_CAPN and ADC1_CH1 is SENSOR_VN.

On page 14 of the same doc:

SENSOR_VP 5 I GPIO36, ADC1_CH0, RTC_GPIO0
SENSOR_CAPP 6 I GPIO37, ADC1_CH1, RTC_GPIO1
SENSOR_CAPN 7 I GPIO38, ADC1_CH2, RTC_GPIO2
SENSOR_VN 8 I GPIO39, ADC1_CH3, RTC_GPIO3

Notice that ADC1_CH3 is now SENSOR_VN and ADC1_CH1 is SENSOR_CAPP. Also SENSOR_CAPP is also not consistent.

I think that the latter definition is correct, but can someone check and confirm this?
Hi,

Thanks for pointing it out. The information in the Pin Description table on page 14 is correct. The documentation team will fix the inconsistency.

Re: Documentation Requests/Feedback

Posted: Wed Mar 27, 2019 2:51 pm
by chibill
I would like too request documentation of the SDR like part of the ESP32 core. (Specifically the two High speed DACs and ADCs used in quadrature to form the 2.4 Ghz Radio.)

The only mention of them is the Technical docs. And only mention their existence and now how they are connected or how to use them.

https://www.espressif.com/sites/default ... pdf#page24

Sections 3.4.1 and 3.4.2