Any further thoughts on my questions regarding pre-configuration and frame
errors?

In the meantime, I have sent two pull requests for easier
tracking/discussion:
1. https://github.com/sigrokproject/sigrok-dumps/pull/33
2. https://github.com/sigrokproject/libsigrokdecode/pull/55

BTW: https://sigrok.org/wiki/Protocol_decoder_HOWTO#Submitting_your_decoder
should be updated to mention that pull requests on GitHub are a possibility
:)

On Sat, Oct 10, 2020 at 6:24 PM Michael Stapelberg <
michael+sig...@stapelberg.ch> wrote:

> One issue with stacking the SCS decoder on top of the UART decoder is
> that both of the attached signals decode successfully (with good CRC
> checksums).
> But, in reality, my intercom doesn’t accept this signal:
>
> https://t.zekjur.net/2020-10-10-scs-broken.jpg
> compare to a working signal:
> https://t.zekjur.net/2020-10-10-scs-working.jpg
>
> I think this is because the UART decoder only samples at 20%,
> and if the signal just stays low, that’s good enough for the UART decoder.
>
> But for SCS, we should ideally raise a frame error when the signal doesn’t
> return to the bus voltage.
>
> BTW: Is there a way to pre-configure the UART decoder?
> Currently, when adding an SCS decoder,
> I need to select “uart”,
> change baud rate from 115200 to 9600,
> set sample point from 50% to 20%,
> select the data line in the SCS decoder.
> Could all of these be automated away somehow? :)
>
> On Fri, Oct 2, 2020 at 8:46 AM Michael Stapelberg <
> michael+sig...@stapelberg.ch> wrote:
>
>> Valerio, thanks very much for reaching out and offering to help!
>>
>> Please take a look at
>> https://michael.stapelberg.ch/posts/2020-09-28-nuki-scs-bticino-decoding/
>> where I describe in detail and with pictures the setup that I use.
>>
>> Let me know if you have any additional questions after reading that post
>>
>> On Thu, Oct 1, 2020 at 11:56 PM Valerio Messina via sigrok-devel <
>> sigrok-devel@lists.sourceforge.net> wrote:
>>
>>> wich hardware are you using for capturing SCS with sigrok?
>>> My home is all made of BTicino MyHome domotics, I can capture more than
>>> intercom if needed. Intercom, lights, power load control, alarm,
>>> automation.
>>>
>>> --
>>> Valerio
>>>
>>>
>>> _______________________________________________
>>> sigrok-devel mailing list
>>> sigrok-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/sigrok-devel
>>>
>>
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to