- CCOUNT SR it's 32 bits- overflow of CCOUNT detectable? -- no, there's nothing that can tell you about an overflow. No interrupt, no overflow bit.- is there an interrupt for CCOUNT? Yes, there is a number of CCOMPARE SRs. You can write a value there and then an IRQ will be raised once CCOUNT reaches that value.

martinayotte wrote:@Rudi, Few weeks ago, you were saying that you will share this I2C Slave code, and said that it should be after Chinese holiday ...

edit:yes i did this say.

read the code here - this is my share -

but me was say too, that i get devKitC,but i have not get. so my thinked demo project i can not build.this would be a gift on second birthday to bbs

i had pm you the things what happens, but you have not read more weeks.

at just in time - i get no devkitc from adafruit, olimex or espressif.so - i cant build my thinked demo with all espressif boards and i do not start again theme in esp8266 that was done in last year.. sry

and btw:here now a part of detailed things in the thread that you not read on technicals docu.- pin setup- opendrain- isr theme- start, stop, addr, data

where is the problem now to build an own project with this as base?

if there is no understand for the code here, there cant be an understand of the demo project too,so please.

copy & paste is not good for teach.so my steps are teached bit by bit with each instruction to do INTR on SDA, SCLin v 0.1 for Start, Stop, Read cmd , Write cmd, SDA, SCL, Addr Match, ISR

your steps now: Data ( its the same principal ) and a idea what you do with I2C.example send cmd by I2C Master to I2C Slave for AT Commands based on I2C.

i do nobody hims homework.nobody pay me the time or gives me DevKitC to do the things...and i am not work at espressif - i am customer like you.

sry

i do not more coment this theme here martin.there stands all info to create a own I2C Slave.c and Header and demo project.

I don't understand, I see an email from you on Oct 19, but it has been flag "deleted by you", so I can't read it. You've said that you will share your code, but had never shared it. Now, you are saying "i do nobody hims homework" ... With such attitude, probably yourself won't get any help from other when you will need it ...

martinayotte wrote:I don't understand, I see an email from you on Oct 19, but it has been flag "deleted by you", so I can't read it. You've said that you will share your code, but had never shared it. Now, you are saying "i do nobody hims homework" ... With such attitude, probably yourself won't get any help from other when you will need it ...

I have to say Martin, I don't think rudi will ever need much help from others - he is a legend, and a prolific poster here and in the other ESP forums. He has my respect big time!!

I took the info here and was able to get code running pretty quickly - I don't think there's anything missing from the explanations that I have found so far.

I also shared some code here about the I2C slave code. But I still have some troubles with interrupt latencies. Sometimes I detect wrong START messages because the delay of measuring the inputs is too bad. Any ideas how to avoid this problem? By the way, I measure the inputs right at the beginning of the ISR.

Documentation

About Us

Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.