Search found 50 matches

by martins
Wed Aug 21, 2024 6:21 am
Forum: General Discussion
Topic: ESP32-C5 -=what is known so far=-
Replies: 16
Views: 6519

Re: ESP32-C5 -=what is known so far=-

Also, ESP-IDF intergration is finally ongoing (in preview stage for IDF v5.3): https://github.com/espressif/esp-idf/issues/14021
by martins
Fri Aug 16, 2024 6:40 am
Forum: IDEs for ESP-IDF
Topic: Can't get the esp-idf launchbar to show 2.12.1 and 3.0.0
Replies: 4
Views: 1868

Re: Can't get the esp-idf launchbar to show 2.12.1 and 3.0.0

Yeah, that does actually work fine, It's just aggravating that I can't get the plugin to work in native Eclipse any more. I don't know what I could have done to break it. I even deleted and recreated my ~/.eclipse and ~/.p2 directories. It's frustrating. Well at least that, but it is weird. Also, w...
by martins
Thu Aug 15, 2024 6:36 am
Forum: IDEs for ESP-IDF
Topic: Can't get the esp-idf launchbar to show 2.12.1 and 3.0.0
Replies: 4
Views: 1868

Re: Can't get the esp-idf launchbar to show 2.12.1 and 3.0.0

Have you tried IDE package? Thats the Eclipse pre-packaged with plugin by Espressif. It seems to be working reasonably well for me. Well on Linux at least.
by martins
Wed Aug 14, 2024 11:21 am
Forum: IDEs for ESP-IDF
Topic: Very disappointed in the decision to use the C/C++ (LSP) editor
Replies: 6
Views: 2837

Re: Very disappointed in the decision to use the C/C++ (LSP) editor

For the inactive code BLOCK highlight, I appreciate the effort, but yea, that really is not it. Could we just change the background color of whole inacive line(s) and leave everthing else the same?
by martins
Thu Jul 11, 2024 9:36 am
Forum: IDEs for ESP-IDF
Topic: The color palette
Replies: 9
Views: 5652

Re: The color palette

Hi, I tried 3.0 too but reverted back to 2.12. No inactive code highlight (honestly a dealbreaker for me), previously working color customizations are not working anymore, theme switching not working either. I'll give Espressif some time to figure stuff out.
by martins
Mon May 27, 2024 6:47 am
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 443
Views: 905362

Re: What would you like to see in The Next Chip?

@eriksl original ESP32 does in fact have ethernet MAC with which you can achieve speeds up to around 75 Mbps. That is slight drawback of all newer chips that has to use SPI ethernet with max speeds barely over 10 Mbps. In some use cases the ethernet over USB might be interesting alternative tho.
by martins
Mon Nov 20, 2023 12:50 pm
Forum: General Discussion
Topic: SPI Master fails to read MISO correctly on Mode 3
Replies: 12
Views: 14579

Re: SPI Master fails to read MISO correctly on Mode 3

So yeah, just to summarize: S3 on lower SPI frequencies seems to sample MISO data too late . Adjusting params like .input_delay_ns or .dummy_bits should help to solve this, but does not and in fact, does the opposite - only seems to make things worse. Using SPI_DEVICE_NO_DUMMY flag overrides the int...
by martins
Thu Nov 16, 2023 12:17 pm
Forum: General Discussion
Topic: SPI Master fails to read MISO correctly on Mode 3
Replies: 12
Views: 14579

Re: SPI Master fails to read MISO correctly on Mode 3

I didn’t look into it in detail, but there are probably answers to the questions here. And I think this is intentional and conscious. https://github.com/espressif/esp-idf/blob/c8243465e45489835d645bf217a6929fd0c01b7f/components/hal/spi_hal.c#L133 iiinteresting... So the debug output print of spi_ha...
by martins
Wed Nov 15, 2023 1:50 pm
Forum: General Discussion
Topic: SPI Master fails to read MISO correctly on Mode 3
Replies: 12
Views: 14579

Re: SPI Master fails to read MISO correctly on Mode 3

I see, so what I already did was to set both .command_bits and .address_bits to 0 as well as .spics_io_num to -1 and doing the write/read manually byte-by-byte, which allows me to have very safe delays between CS change as well as each byte transfer. This seems to have same effect as setting SPI_DEV...
by martins
Tue Nov 14, 2023 1:42 pm
Forum: General Discussion
Topic: SPI Master fails to read MISO correctly on Mode 3
Replies: 12
Views: 14579

Re: SPI Master fails to read MISO correctly on Mode 3

I'm also having trouble setting correct timing with S3 and IDF v5.2-dev (only SPI Mode 2 seems correct) or IDFv4.4.6 (only SPI Mode 0 and 2 seems correct) while results on logic analyzer are correct for all modes. Something does not seem right.