Search found 138 matches

by costaud
Fri Apr 10, 2015 4:41 pm
Forum: ESP8266 SDK
Topic: SPI / UART and DMA
Replies: 1
Views: 4121

Re: SPI / UART and DMA

I post some example here:

viewtopic.php?f=7&t=48&p=173#p173
by costaud
Tue Mar 31, 2015 6:10 pm
Forum: ESP8266 SDK
Topic: Use pwm_init experiencing some problems
Replies: 1
Views: 1738

Re: Use pwm_init experiencing some problems

将pwm.h中pwm_single_param 和pwm_param 结构体参数类型做以下修改即可解决问题: uint16 h_time; 改为 uint32 h_time; uint16 period; 改为 uint32 period; 修改后为: struct pwm_single_param { uint16 gpio_set; uint16 gpio_clear; uint32 h_time; }; struct pwm_param { uint32 period; uint16 freq; uint8 duty[PWM_CHANNEL]; };
by costaud
Mon Mar 30, 2015 1:00 pm
Forum: ESP8266 SDK
Topic: GPIO能否配置在上电后自动拉低
Replies: 2
Views: 2492

Re: GPIO能否配置在上电后自动拉低

gpio上电后的输入上拉是硬件决定的,如果使用外部mos管或三极管的时候,在上电过程如果需要保持电平可以尝试一下方法:
1. 下拉1k电阻。
或者
2. 外加反向电路,高电平为关,上电高电平,GPIO初始化后仍然输出高。
by costaud
Wed Mar 25, 2015 12:21 pm
Forum: Showcase
Topic: HSPI PORT OVERLAP MODE DEMO
Replies: 9
Views: 15813

Re: HSPI PORT OVERLAP MODE DEMO

This overlap mode will swap the HSPI port to the main SPI port. //hspi overlap to spi, two spi masters on cspi SET_PERI_REG_MASK(HOST_INF_SEL, reg_cspi_overlap); So if we control the HSPI lines it acts on the main SPI lines. There is a hardware arbiter to decide which line(CS0/CS1/CS2) should be sel...
by costaud
Sat Mar 14, 2015 12:35 am
Forum: ESP8266 SDK
Topic: Changing GPIO clock speed?
Replies: 8
Views: 3599

Re: Changing GPIO clock speed?

raz123 wrote:
costaud wrote:In what kind of application do you need this high speed IO clock?


In implementing USB connectivity.


So you need 2 high speed IO, we shall think it over.
by costaud
Sat Mar 14, 2015 12:26 am
Forum: ESP8266 SDK
Topic: Wake up from deep sleep by interrupt?
Replies: 3
Views: 9580

Re: Wake up from deep sleep by interrupt?

Actually, esp8266 can be waked-up by an external GPIO by connecting the reset pin of esp8266 to the external MCU gpio. In SDK , the deep-sleep API is system_deep_sleep(uint32 time_in_us); If the parameter time_in_us==0 , esp8266 will never wake up until an external signal trigger the reset pin. If ...
by costaud
Sat Mar 14, 2015 12:20 am
Forum: ESP8266 SDK
Topic: I2S REGISTERS
Replies: 26
Views: 13056

Re: I2S REGISTERS

:shock: :shock: :shock:
working!
by costaud
Sat Mar 14, 2015 12:19 am
Forum: ESP8266 SDK
Topic: boot_v1.1.bin source available?
Replies: 7
Views: 4227

Re: boot_v1.1.bin source available?

we have added some APIs to enable jumping to any address of flash after reboot. Not released yet. Does that meet your requirement? 你好 是否可以說,當空氣污染指數將它釋放? 這是significate的bootprocess一大步。 會很高興發布 ;-) 問候飛出去的朋友遍全球 魯迪 You'd better speak English. If you speak Chinese ,I Can't understand it! :lol: lol~~~~ hah...
by costaud
Wed Mar 11, 2015 2:26 am
Forum: ESP8266 SDK
Topic: Precise timing needed (ex. for IR decoding)
Replies: 16
Views: 12505

Re: Precise timing needed (ex. for IR decoding)

Dear Espressif, The os_timer has a resolution of one ms - it is too much for more precise operations, like IR signal (RC5 etc.) decoding. Is there any way to get an interrupt at 50us resolution or to get a tick count at 50us resolution? Now I am to design an IR signal repeater (aka universal IR pil...
by costaud
Wed Mar 11, 2015 2:21 am
Forum: ESP8266 SDK
Topic: Changing GPIO clock speed?
Replies: 8
Views: 3599

Re: Changing GPIO clock speed?

After extensive tests, it appears that the GPIO speed is limited at ~6 mhz, and this, even with direct register toggling. This speed does not change regardless of CPU speed (80 mhz or 160 mhz). This leads me to think that the GPIO clock might be controlled by some divider along the line. If so, is ...

Go to advanced search