Hi Everybody. Does anybody know if the spi_device_queue_trans(...) has a FIFO order of execution? This way we can check completion of a "block" of transactions by just checking the LAST entry in the Queue via spi_device_get_trans_result(...spi_transaction_t of last entry.....) . BTW, also has anybod...
Hi WiFive. After some research I submit the following results as to if there is noise in the environment and if has an effect in the GPIO ISR vs a sw or hw error in the ESP32. The environment is the same, two ESP32 one that generates a pulse using two alternatives, direct from an GPIO and another vi...
Thanks for the prompt answer. Considering your reply, I have some questions/remarks: The double int is not on the same edge, that is, first INT gets called with a proper NEGEDGE, which is verified by reading the gpio level, but then the second INT is POSEDGE (isr was setup to be NEGEDGE only) with a...
Hi WiFive. The interrupt routine in the Electric Meter setup had a big error margin, about 10%-12% HIGHER number of interrupts than actual pulses. The routine was modified so as to read the gpio level and only increment counter if signal is low. Still the same error persisted, a little less now than...
Hi Everybody. Does anybody know the reason why a GPIO Input Pin (any, tried a lot 14,21,22,32,35,5,4) has a double interrupt when using a optocoupler (TLP281)? The setup used is the following: One ESP32 will manage the Output connection to the opto, basically setting High/Low so that the opto switch...
Hi meowsqueak. I have 5 DS18B20 in a single I2C chain, an Ammeter (CTYRZCH SCT-013-000 non-intrusive), a light sensor (TSL2561). A Mqtt Server receives commands by subscribe and sends info every 5 secs or by demand via publish. Also I have it connected to ThingsSpeak to update several "fields". And ...
Just to inform that the in SPI half duplex (any speed) is not working in versions Master-2.0-2.1 (the three branches). It its working on previous versions.