Search found 138 matches

by costaud
Thu Jun 04, 2015 3:44 pm
Forum: ESP8266 SDK
Topic: PWM的频率,只能1-1k吗?怎么能调高?thank you!
Replies: 2
Views: 2050

Re: PWM的频率,只能1-1k吗?怎么能调高?thank you!

leeshine wrote:PWM的频率,只能1-1k吗?怎么能调高?thank you!

看文档只能在1-1K范围内调整。实际测试无法调得更大?但频率高的应用就没办法了 :idea: :idea:


Hi, 在sdk1.1.0及以后的版本,我们针对led 调光的pwm进行过优化,将pwm精度提高到45ns,目前只将频率限制在100hz-1khz之间。

请问应用在什么场合,对pwm频率和精度有什么要求。
by costaud
Tue Jun 02, 2015 11:05 am
Forum: ESP8266 SDK
Topic: error with sdk 1.1.0
Replies: 6
Views: 3416

Re: error with sdk 1.1.0

alexchang wrote:Yes, I use original SDK 1.0, the gpio16.c is from some other sample project, I will try to remove gpio16.c first, thanks!


Would you please send me the "gpio16.c" you are using , support-product@espressif.com

GPIO16 should never have been using these registers.
by costaud
Mon Jun 01, 2015 12:30 pm
Forum: ESP8266 SDK
Topic: pwm_init bug or lack of documentation?
Replies: 5
Views: 3078

Re: pwm_init bug or lack of documentation?

Send a mail to support-product@espressif.com to apply for the demo code
by costaud
Mon Jun 01, 2015 12:02 pm
Forum: ESP8266 SDK
Topic: pwm_init bug or lack of documentation?
Replies: 5
Views: 3078

Re: pwm_init bug or lack of documentation?

Thanks, It helped me, 4 channel PWM work perfectly but the next question how to set up more PWM channels. In our application we would like to use the 2x RGBW because the number of ports on the module is sufficient and in the documentation is written: " It is possible to increase the number of ...
by costaud
Mon Jun 01, 2015 11:58 am
Forum: ESP8266 SDK
Topic: Ir remote sample code for DKB
Replies: 2
Views: 1403

Re: Ir remote sample code for DKB

I just saw the program interfaces document of IR device on 8266. But it is too simple to implement it. I have serveral questions as blow: 1. What is the FRC2 module feature? why it acts only on RTOS version SDK? 2. Can you provide the sample code of IR interfaces to descripe the detail process on D...
by costaud
Mon Jun 01, 2015 11:13 am
Forum: ESP8266 SDK
Topic: Flash Tool v1.2 com port limitation
Replies: 1
Views: 1405

Re: Flash Tool v1.2 com port limitation

Dear Sir, I am wondering why only 21 COM ports are listed in Flash Download tool v1.2. On my PC my USB port is recognized as COM 30 so I am unable to use it. I have to use Node MCU flash tool. Why don't you allow COM up to 255 supported by Windows, or only show currently available ports or let user...
by costaud
Mon Jun 01, 2015 1:53 am
Forum: ESP8266 SDK
Topic: SDK 1.1.0 problems
Replies: 16
Views: 5760

Re: SDK 1.1.0 problems

ok here it is.... This is the WS2812B driver - interrupts must be disabled void ICACHE_FLASH_ATTR WS2812OutBuffer(uint8_t * buffer, uint16_t length, uint16_t repetition) { uint16_t i; os_intr_lock(); for (i = 0; i < 5; i++) WRITE_PERI_REG(PERIPHS_GPIO_BASEADDR + 8, rainb12); while (repetition--) { ...
by costaud
Mon Jun 01, 2015 1:28 am
Forum: ESP8266 SDK
Topic: SDK 1.1.0 problems
Replies: 16
Views: 5760

Re: SDK 1.1.0 problems

This is in code I didn't write - (the http server code) -so I don't know what it is doing - but it has worked up to now. So...... user_rf_pre_init As this is no longer defined, what do I put in it's place... Again in code I did not write - same code, there are references to both os_intr_lock and os...
by costaud
Mon Jun 01, 2015 1:13 am
Forum: ESP8266 SDK
Topic: SDK 1.1.0 problems
Replies: 16
Views: 5760

Re: SDK 1.1.0 problems

HI I understand we can simply remove reference to the GPIP DISABLE PULLDOWN commands but what exactly do we need to put in user_main to replace user_rf_pre_init ??? and what about these missing commands? undefined reference to `os_intr_lock' undefined reference to `os_intr_unlock' Did you already u...
by costaud
Fri May 29, 2015 11:38 am
Forum: ESP8266 SDK
Topic: pwm_init bug or lack of documentation?
Replies: 5
Views: 3078

Re: pwm_init bug or lack of documentation?

Im trying to initialize PWM in new SDK esp_iot_sdk_v1.1.0_15_05_26 In file pwm.h I found definion void pwm_init(uint32 period, uint32 *duty,uint32 pwm_channel_num,uint32 (*pin_info_list)[3]); but in documentation is definion void pwm_init(uint16 freq, uint8 *duty) I can't find definion of pin_info_...

Go to advanced search