Search found 53 matches

by costaud
Thu Jan 31, 2019 6:40 am
Forum: ESP32 IDF
Topic: I2C over DMA
Replies: 3
Views: 974

Re: I2C over DMA

In current version, we are still using interrupt to handle sending/receiving data.
by costaud
Thu Jan 31, 2019 3:36 am
Forum: ESP32 MDF
Topic: Inverting PWM signal on RGB Light
Replies: 3
Views: 1468

Re: Inverting PWM signal on RGB Light

I think the best and easiest way to do that is to invert the GPIO output signal in esp32. Refer to func_out_sel_cfg register in components/soc/esp32/include/soc/gpio_struct.h. For example, if you want to invert GPIO18, you can use the following code to do that, after initializing light driver. GPIO....
by costaud
Mon Jan 07, 2019 3:12 am
Forum: Hardware
Topic: ESP32 (D0WD) instability
Replies: 11
Views: 2739

Re: ESP32 (D0WD) instability

Would you please provide some uart logs when it reboots ?
by costaud
Fri Dec 21, 2018 5:39 pm
Forum: ESP-IDF 中文讨论版
Topic: 請問一下以 Sample code 為框架的一些開發觀念問題!!
Replies: 10
Views: 2689

Re: 請問一下以 Sample code 為框架的一些開發觀念問題!!

非常感谢您的分享! 我们正在开发一些IDE的工具和插件,以后能够更方便快捷地进行开发。模块管理系统也会在将来的版本中发布。
by costaud
Fri Dec 21, 2018 5:33 pm
Forum: ESP-IDF 中文讨论版
Topic: 【求助】烧写程序后板子不断重启
Replies: 4
Views: 1693

Re: 【求助】烧写程序后板子不断重启

和能运行的程序相比,改动了什么?
by costaud
Wed Dec 19, 2018 10:00 am
Forum: ESP-IDF 中文讨论版
Topic: 請問一下以 Sample code 為框架的一些開發觀念問題!!
Replies: 10
Views: 2689

Re: 請問一下以 Sample code 為框架的一些開發觀念問題!!

這些引用,應該找一下宣告的檔案再 include 進來就可解決
問題是,這樣的開發方式是正確的嗎???
其实,idf中所有模块的功能都是以 component 的形式提供,需要使用某个功能,必须要include对应的头文件,这个对于c语言开发来说都是这样。对于使用来说,也有的开发者会习惯通过IDE来配置路径。
esp-idf 所有相关的文档都可以在这里查看:
https://docs.espressif.com/projects/esp-idf/en/latest/

不知道您有什么推荐的建议?
by costaud
Wed Dec 19, 2018 9:45 am
Forum: ESP-IDF 中文讨论版
Topic: esp32有支持国产RTOS rt-thread的计划么?
Replies: 4
Views: 2203

Re: esp32有支持国产RTOS rt-thread的计划么?

个人觉得用FreeRTOS可以满足需求。
不太了解rt-thread的特性,如果是国产RTOS可能不够通用。
在应用代码中,可以加一层操作系统的适配来进行移植。
by costaud
Fri Dec 07, 2018 9:29 am
Forum: Hardware
Topic: I2S PDM clock
Replies: 2
Views: 980

Re: I2S PDM clock

What kind of scope are you using, e.g. the bandwidth and sample rate ?
It's also related to the way you connect the signal and ground.