-->
Page 1 of 1

There is a PWM module inside ESP8266?

PostPosted: Tue Feb 23, 2016 7:35 am
by Yaro
Hi all,

recently I've seen that some people have problems with PWM freeze and more when ESP trasmits or recive datas. Someone said that it's caused becouse it's Software and not HW PWM. Can you confirm me this? also, I've read that 1kHz is maximum but it's possible to go up to 10kHz, is that true?

P.S. Which module also isn't embedded into ESP? I2C and SPI are drived by Hardware?

Re: There is a PWM module inside ESP8266?

PostPosted: Tue Feb 23, 2016 9:47 am
by martinayotte
I2C is also software bit-banging.

Re: There is a PWM module inside ESP8266?

PostPosted: Tue Feb 23, 2016 11:16 am
by Yaro
I've found that is specified on datasheet that there is I2C and PWM but when looking into description there is "can be implemented via software programming". There is also written that it can go up to 100kHz, but someone have tried to bitbang it at faster speed or GPIOs can't reach that speed(I'm talking about 400kHz)?

About SPI, I didn't understand, there is written that there is HSPI and SPI(I suppose Hardware SPI and SPI by software) and either can go up to 80Mhz(via software? really?). But these are on same pins used by external FLASH that is in continuos trasfer with ESP? How should I connect an SPI device to ESP?