Search found 287 matches

by morris
Mon Mar 25, 2024 7:17 am
Forum: ESP-IDF
Topic: How to manage multiple rgb lcd frame buffers?
Replies: 3
Views: 3665

Re: How to manage multiple rgb lcd frame buffers?

there's no way to know which frame buffer is safe to draw to

The order of the frame buffers to be flushed to the display is controlled by the user. Let's say you ask the driver to create 3 frame buffer and get them all in esp_lcd_rgb_panel_get_frame_buffer (fb0, fb1, fb2). By default, the LCD ...
by morris
Wed Mar 06, 2024 2:50 am
Forum: Hardware
Topic: MCPWM Update MCPWM_TIMERx_PRESCALE and MCPWM_TIMERx_PERIOD
Replies: 2
Views: 3970

Re: MCPWM Update MCPWM_TIMERx_PRESCALE and MCPWM_TIMERx_PERIOD

I would like to know when a write to MCPWM_TIMERx_PRESCALE get applied to the actual scaler

New timer pre-scale value will take effect when the timer goes from STOP to START.

new MCPWM_TIMER0_PERIOD < MCPWM_TIMER0_VALUE < current MCPWM_TIMER0_PERIOD Does it immediately jump to TEZ? or having ...
by morris
Thu Feb 29, 2024 1:50 pm
Forum: Hardware
Topic: RMT RX of a continuous bitstream
Replies: 1
Views: 3413

Re: RMT RX of a continuous bitstream

Hi, recently we added a feature called "partial receive", which should fit your requirement.

https://github.com/espressif/esp-idf/commit/106baac0bc14c17af055b2cdb9b2d7a2125d7384 (the feature only exists on the master branch)

The idea is, to register a callback "on_recv_done", you can get ...
by morris
Fri Oct 27, 2023 2:38 am
Forum: ESP-IDF
Topic: mcpwm_set_frequency() equivalent for esp-idf v5.0
Replies: 9
Views: 9771

Re: mcpwm_set_frequency() equivalent for esp-idf v5.0

New API available on the master branch now: https://github.com/espressif/esp-idf/co ... 2bfd341a70

We will backport that API to release/v5.0 and release/v5.1 as well.
by morris
Wed Oct 11, 2023 8:10 am
Forum: ESP-IDF
Topic: mcpwm_set_frequency() equivalent for esp-idf v5.0
Replies: 9
Views: 9771

Re: mcpwm_set_frequency() equivalent for esp-idf v5.0

Thanks for reporting. Yes, we will provide an API to change the period dynamically.
by morris
Mon Aug 14, 2023 4:15 am
Forum: General Discussion
Topic: Does anyone have a good solution for measuring a continues PWM signal?
Replies: 3
Views: 5299

Re: Does anyone have a good solution for measuring a continues PWM signal?

rmt_rx_memory_reset(RMT_CHANNEL_0) will reset the whole RMT FIFO memory. It should only be called for once in the initialization stage.

Not sure what esp chips you're working with, ESP32S2? ESP32C3? But please note, ESP32-S2's RMT RX channel doesn't support ping-pong receive. The maximum RMT ...
by morris
Thu Jun 15, 2023 6:09 am
Forum: ESP-IDF
Topic: MCPWM maximum timer frequency
Replies: 4
Views: 4092

Re: MCPWM maximum timer frequency

We have the example for DShot protocol https://github.com/espressif/esp-idf/tr ... /dshot_esc
by morris
Thu Feb 23, 2023 5:37 am
Forum: ESP-IDF 中文讨论版
Topic: esp-idf 5.0 如何在运行时调节MCPWM的定时器频率
Replies: 1
Views: 4049

Re: esp-idf 5.0 如何在运行时调节MCPWM的定时器频率

能描述一下你的应用为什么需要动态更改频率呢?
by morris
Thu Feb 09, 2023 2:01 am
Forum: ESP-IDF
Topic: ESP32-S3 LCD
Replies: 1
Views: 2917

Re: ESP32-S3 LCD

Thanks for reporting this. We will fix it ASAP!

Edit: Fixed for the master branch: https://github.com/espressif/esp-idf/co ... 9060d2b68e

Will backport the fix to 5.0 release soon.
by morris
Fri Dec 30, 2022 8:31 am
Forum: ESP-IDF
Topic: Is PPPoS missing from 5.0
Replies: 1
Views: 3059

Re: Is PPPoS missing from 5.0

Yes, moved to the component registry now, see the migration guide here: https://docs.espressif.com/projects/esp ... nents.html

Go to advanced search