Search found 18 matches

by FrancisL
Wed Aug 14, 2019 11:43 am
Forum: Hardware
Topic: SPI slave by register configuration
Replies: 8
Views: 4079

Re: SPI slave by register configuration

Good news: I just got my very first exchange: [*] I gave up the 'data_buf'... I tried will possible combinations with flags, but it never works. I never saw any of the data_buf register modified by reception. I guess the issue could be with the timing configuration, but without a decent documentatio...
by FrancisL
Tue Aug 13, 2019 4:29 pm
Forum: Hardware
Topic: SPI slave by register configuration
Replies: 8
Views: 4079

Re: SPI slave by register configuration

I believe I have the exact same problem: I don't read '0', but I see the contents of data_buf register is never updated. I tried to initialize with a constant value (xAAAAAAAA), and I always read this init value. It seems that the input shift register is not transferred into the data_buf register, e...
by FrancisL
Tue Aug 13, 2019 11:48 am
Forum: Hardware
Topic: Issues with HSPI (slave, half duplex)
Replies: 3
Views: 1269

Re: Issues with HSPI (slave, half duplex)

I found out why the values I transmit were shifted. It seems that, beside the "data_buf" register, there is a single shift-register that is not modified when I just write to data_buf. I solved the problem by applying a SPI reset (hw->slave.sync_reset = 1;hw->slave.sync_reset = 0;) AFTER filling the ...
by FrancisL
Fri Aug 09, 2019 2:35 pm
Forum: Hardware
Topic: Issues with HSPI (slave, half duplex)
Replies: 3
Views: 1269

Re: Issues with HSPI (slave, half duplex)

I believe that I understand why "9 bit are received" : When I sent my data (one byte), the reception was active and the signal was also read in MOSI (that is on the same pin as MISO). Then, the receiver ignored my "48 bits", but found that I have to send '0+1 bit'. I see also a conflict on the scope...
by FrancisL
Fri Aug 09, 2019 1:32 pm
Forum: Hardware
Topic: Issues with HSPI (slave, half duplex)
Replies: 3
Views: 1269

Issues with HSPI (slave, half duplex)

Hi, I need to manage HSPI directly through the hardware registers, without calling the API. My configuration is: * Half duplex (Mosi and Miso on a single wire) * Slave mode * NO DMA, no interrupt... Typically, I need to send one byte, then (in another transaction) to receive 6 bytes. I managed to ha...
by FrancisL
Fri Aug 03, 2018 8:05 am
Forum: General Discussion
Topic: Measure VDD33 using ADC2
Replies: 6
Views: 4396

Re: Measure VDD33 using ADC2

Hi,
I am also wondering whether measuring Vcc internally is possible?
Looking at the reference manual, the answer should be Yes... but the information to define the way is missing.
Any idea about the answers: is it actually possible and if Yes, HOW?
Francis
by FrancisL
Thu Jul 26, 2018 6:21 am
Forum: Hardware
Topic: 'Spurious watchdog reset at power up'
Replies: 2
Views: 1685

Re: 'Spurious watchdog reset at power up'

Hi ESP_Angus,
You are right: I also use GPIO0 as the ethernet clock input. It is easy on my side to delay the startup of the oscillator, therefore to fix the issue.
Thank you very much for your help.
Francis
by FrancisL
Wed Jul 25, 2018 4:23 pm
Forum: Hardware
Topic: 'Spurious watchdog reset at power up'
Replies: 2
Views: 1685

'Spurious watchdog reset at power up'

I am working with a ESP32-D0WD device (small package) and I get some time to time some problems at power up. If I run the 'serial monitor', I see in these cases that I have a double reset : rst:0x1 (POWERON_RESET),boot:0x3b (SPI_FAST_FLASH_BOOT) ets Jun 8 2016 00:22:57 rst:0x10 (RTCWDT_RTC_RESET),bo...

Go to advanced search