Hi, On Sun, Jun 23, 2019 at 10:09:21PM +0200, Mickael Bosch wrote: > I wanted to add a decoder to the PCA9571 > <https://www.nxp.com/docs/en/data-sheet/PCA9571.pdf> I²C 8-bits output > expander. The goal is to print the logic level of the expander outputs (in > pulseview) and to use these signals for other decoders (eg. SPI Slave > Select). The decoder API is neat but I could not write a decoder because I > found no way to output a logic trace: the four registrable OUTPUT_* seem to > serve another purpose. > > I'm new to this project, did I miss something ? If not, do you think we
Nope, there's currently no OUTPUT_LOGIC (and also no OUTPUT_ANALOG) yet, but both are features we want to eventually have indeed. > should add a "OUTPUT_LOGIC" (or similar) ? If so, I would be happy to > provide a patch. Please join us on IRC (#sigrok on Freenode) for a discussion of the details, this might be somewhat non-trivial to implement properly. The libsigrokdecode side is doable, but the PulseView side of the feature will probably require some amount of non-trivial work. Cheers, Uwe. -- http://hermann-uwe.de | http://randomprojects.org | http://sigrok.org _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel