Search found 116 matches
- Tue Oct 29, 2024 5:23 pm
- Forum: General Discussion
- Topic: Issue with MCPWM Prescaler on ESP32-S3
- Replies: 2
- Views: 1256
Re: Issue with MCPWM Prescaler on ESP32-S3
BTW I think the timer scaling of the mcpwm on the esp32s3 has a bug. I will file a bug report soon. Maybe this is related, maybe not. According to a diagram in the TRM there is just one (shared) prescaler for all timers within one module (group). Rather useless I'd say, but ok. The text in the IDF d...
- Tue Oct 29, 2024 5:10 pm
- Forum: General Discussion
- Topic: ESP32 not writing to RA8875 board via SPI.
- Replies: 1
- Views: 910
Re: ESP32 not writing to RA8875 board via SPI.
Please note that the RA chips have various access methods and you need to select the proper one for any communication to succeed. In this case I guess you would need to select SPI mode, but then also select the proper sub mode, either 8bit+d/c or 9bit and then whether to use bidirectional "sda" (mos...
- Tue Oct 29, 2024 4:56 pm
- Forum: General Discussion
- Topic: i2c_param_config(753): i2c clock choice is invalid, please check flag and frequency
- Replies: 1
- Views: 1226
Re: i2c_param_config(753): i2c clock choice is invalid, please check flag and frequency
The standard way to resolve this is, indeed, set the clock speed to the lowest capable attached device. 100 khz is a safe choice, all i2c devices support this. i2c is fully asynchronous so any clock speed you choose, between 100 khz (often (much) lower, even) and the highest speed of the slowest att...
- Tue Oct 29, 2024 10:13 am
- Forum: General Discussion
- Topic: Using two gpio pins to trigger an interrupt in esp-idf
- Replies: 5
- Views: 1285
Re: Using two gpio pins to trigger an interrupt in esp-idf
You're looking for a logic AND functionality. What this code achieves is a logic OR functionality. You will need an external logic gate or implement it in software.
- Thu Sep 19, 2024 6:51 am
- Forum: ESP-IDF
- Topic: Selecting "partition.csv" filename in sdkconfig depending on sdkconfig config option
- Replies: 2
- Views: 1101
Re: Selecting "partition.csv" filename in sdkconfig depending on sdkconfig config option
Thank you! This is almost exactly as I did it, after a tip from an Espressif employee, see here: https://github.com/espressif/esp-idf/issues/14529#issuecomment-2337608491 Apparently I am not the only one that needs this, after all :) I merged this with a few other board-specific settings, to have "C...
- Fri Sep 06, 2024 6:58 pm
- Forum: ESP-IDF
- Topic: Selecting "partition.csv" filename in sdkconfig depending on sdkconfig config option
- Replies: 2
- Views: 1101
Selecting "partition.csv" filename in sdkconfig depending on sdkconfig config option
Hi this may sound a bit complex, but it's not really, I think. At this moment I am doing work on supporting multiple boards with one set of source files. Before I did this with multiple project directories that symlinked to selected source files and therefore each board would have it's own sdkconfig...
- Fri Aug 23, 2024 11:14 am
- Forum: ESP-IDF
- Topic: Trimming building unnecessary IDF modules
- Replies: 15
- Views: 3554
Re: Trimming building unnecessary IDF modules
I already wrote I actually don't even mind the C++ part. As long as they fix the bloating, one way or the another. Sorry but many users are Arduino level. They're entirely happy when it runs their 10 line script (or whatever it's called there). I am coming from a world (a.o. ATTiny and ATMega) where...
- Fri Aug 23, 2024 10:10 am
- Forum: ESP-IDF
- Topic: Trimming building unnecessary IDF modules
- Replies: 15
- Views: 3554
Re: Trimming building unnecessary IDF modules
Yes I know these. But they're not going to make the real difference. I cannot imagine there are so many assertions with so much text, that they may up 500 kB of space, do you? And optimisation (-O3 -> Os) is already set of course. In my experience that makes 15-25% percent difference in code size. T...
- Fri Aug 23, 2024 9:43 am
- Forum: ESP-IDF
- Topic: Trimming building unnecessary IDF modules
- Replies: 15
- Views: 3554
Re: Trimming building unnecessary IDF modules
Understandably and I already turned off a lot of these...
Sometimes I feel like analysing the linker map to find out. That's not so simple, so I don't want to spend much time on it if besides me nobody really cares. And of course I'd rather have Espressif do it themselves.
Sometimes I feel like analysing the linker map to find out. That's not so simple, so I don't want to spend much time on it if besides me nobody really cares. And of course I'd rather have Espressif do it themselves.
- Fri Aug 23, 2024 9:19 am
- Forum: ESP-IDF
- Topic: Trimming building unnecessary IDF modules
- Replies: 15
- Views: 3554
Re: Trimming building unnecessary IDF modules
All of these which are handy an nice if they're facilitated by the compiler. But they're not enabling something you can't do in C (with correct programming, something many peolpe struggle with). And as said, I am a great fan of C++. It's my preference for anything not microcontroller based (when not...