hi all,
i've written/ported a little usb based daq / oscilloscope
https://github.com/ag88/GirinoSTM32F103duino
this works on cheap maple mini (clones) or blue pill boards widely
available on ebay etc
https://www.ebay.com/sch/i.html?_from=R40&_nkw=maple+mini&_sacat=0
https://www.ebay.com/sch/i.html?_from=R40&_nkw=stm32f103c8t6&_sacat=0
if i change the protocol on the board side, what would be a good
protocol to interface with sigrok?
my aims are to emulate the relevant board so that no additional drivers
is needed on the desktop
it should be an open protocol so that there is as little concerns as
possible about emulating a propriety protocol.
currently the protocol is based on the girino protocol developed for
arduino boards
the capabilities of the device are described in this file
https://github.com/ag88/GirinoSTM32F103duino/blob/master/Protocol.md
basically there are some commands to change the sampling settings e.g.
the sample rates, threshold and trigger method etc
then the command 's' would start sampling capturing a 1280 samples frame
of data, it would stop at the end of the frame and
send it over usb serial (virtual comm port) connection
but the frontend can optionally send 'S' command to stop the sampling
this isn't a full fledged oscilloscope and is more a sensor (i.e. the
mcu has an ADC and the protocol is just to send the samples to the front
end)
thanks in advance
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel