From dd37a782a8637bdee703a13c949b222b9ba8b95d Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 1 Sep 2014 18:23:54 +0200 Subject: Add initial set of PD tests. This is a slightly modified version of the PD test suite that was part of libsigrokdecode previously. --- decoder/test/i2c/gigabyte_6vle_vxl_i2c.output | 603 +++++++++++++++ decoder/test/i2c/gigabyte_6vle_vxl_i2c.python | 188 +++++ decoder/test/i2c/rtc_ds1307_200khz.output | 828 +++++++++++++++++++++ decoder/test/i2c/rtc_ds1307_200khz.python | 260 +++++++ .../test/i2c/rtc_ds1307_200khz_data_read.output | 49 ++ .../test/i2c/rtc_ds1307_200khz_data_write.output | 15 + decoder/test/i2c/test.conf | 27 + decoder/test/i2c/xfp_address_read.binary | 256 +++++++ decoder/test/i2c/xfp_address_write.binary | 255 +++++++ decoder/test/i2c/xfp_data_read.binary | 256 +++++++ decoder/test/i2c/xfp_data_write.binary | 255 +++++++ 11 files changed, 2992 insertions(+) create mode 100644 decoder/test/i2c/gigabyte_6vle_vxl_i2c.output create mode 100644 decoder/test/i2c/gigabyte_6vle_vxl_i2c.python create mode 100644 decoder/test/i2c/rtc_ds1307_200khz.output create mode 100644 decoder/test/i2c/rtc_ds1307_200khz.python create mode 100644 decoder/test/i2c/rtc_ds1307_200khz_data_read.output create mode 100644 decoder/test/i2c/rtc_ds1307_200khz_data_write.output create mode 100644 decoder/test/i2c/test.conf create mode 100644 decoder/test/i2c/xfp_address_read.binary create mode 100644 decoder/test/i2c/xfp_address_write.binary create mode 100644 decoder/test/i2c/xfp_data_read.binary create mode 100644 decoder/test/i2c/xfp_data_write.binary (limited to 'decoder/test/i2c') diff --git a/decoder/test/i2c/gigabyte_6vle_vxl_i2c.output b/decoder/test/i2c/gigabyte_6vle_vxl_i2c.output new file mode 100644 index 0000000..59bc0f6 --- /dev/null +++ b/decoder/test/i2c/gigabyte_6vle_vxl_i2c.output @@ -0,0 +1,603 @@ +3670527-3670527 i2c: start: "Start" "S" +3671478-3671600 i2c: bit: "0" +3671356-3671478 i2c: bit: "0" +3671234-3671356 i2c: bit: "0" +3671112-3671234 i2c: bit: "0" +3670989-3671112 i2c: bit: "0" +3670867-3670989 i2c: bit: "1" +3670745-3670867 i2c: bit: "0" +3670623-3670745 i2c: bit: "1" +3671478-3671600 i2c: address-write: "Write" "Wr" "W" +3670623-3671478 i2c: address-write: "Address write: 50" "AW: 50" "50" +3671600-3671722 i2c: ack: "ACK" "A" +3672577-3672699 i2c: bit: "1" +3672455-3672577 i2c: bit: "1" +3672333-3672455 i2c: bit: "0" +3672211-3672333 i2c: bit: "1" +3672089-3672211 i2c: bit: "1" +3671966-3672089 i2c: bit: "0" +3671844-3671966 i2c: bit: "0" +3671722-3671844 i2c: bit: "0" +3671722-3672699 i2c: data-write: "Data write: 1B" "DW: 1B" "1B" +3672699-3672821 i2c: ack: "ACK" "A" +3672881-3672881 i2c: repeat-start: "Start repeat" "Sr" +3673826-3673948 i2c: bit: "1" +3673704-3673826 i2c: bit: "0" +3673582-3673704 i2c: bit: "0" +3673460-3673582 i2c: bit: "0" +3673338-3673460 i2c: bit: "0" +3673216-3673338 i2c: bit: "1" +3673093-3673216 i2c: bit: "0" +3672971-3673093 i2c: bit: "1" +3673826-3673948 i2c: address-read: "Read" "Rd" "R" +3672971-3673826 i2c: address-read: "Address read: 50" "AR: 50" "50" +3673948-3674070 i2c: ack: "ACK" "A" +3674925-3675047 i2c: bit: "0" +3674803-3674925 i2c: bit: "0" +3674681-3674803 i2c: bit: "0" +3674559-3674681 i2c: bit: "0" +3674437-3674559 i2c: bit: "1" +3674315-3674437 i2c: bit: "0" +3674193-3674315 i2c: bit: "1" +3674070-3674193 i2c: bit: "0" +3674070-3675047 i2c: data-read: "Data read: 50" "DR: 50" "50" +3675081-3675203 i2c: nack: "NACK" "N" +3675231-3675231 i2c: stop: "Stop" "P" +3675596-3675596 i2c: start: "Start" "S" +3676546-3676668 i2c: bit: "0" +3676424-3676546 i2c: bit: "0" +3676302-3676424 i2c: bit: "0" +3676180-3676302 i2c: bit: "0" +3676058-3676180 i2c: bit: "0" +3675936-3676058 i2c: bit: "1" +3675814-3675936 i2c: bit: "0" +3675691-3675814 i2c: bit: "1" +3676546-3676668 i2c: address-write: "Write" "Wr" "W" +3675691-3676546 i2c: address-write: "Address write: 50" "AW: 50" "50" +3676669-3676791 i2c: ack: "ACK" "A" +3677646-3677768 i2c: bit: "0" +3677524-3677646 i2c: bit: "1" +3677401-3677524 i2c: bit: "1" +3677279-3677401 i2c: bit: "1" +3677157-3677279 i2c: bit: "1" +3677035-3677157 i2c: bit: "0" +3676913-3677035 i2c: bit: "0" +3676791-3676913 i2c: bit: "0" +3676791-3677768 i2c: data-write: "Data write: 1E" "DW: 1E" "1E" +3677768-3677890 i2c: ack: "ACK" "A" +3677950-3677950 i2c: repeat-start: "Start repeat" "Sr" +3678895-3679017 i2c: bit: "1" +3678773-3678895 i2c: bit: "0" +3678650-3678773 i2c: bit: "0" +3678528-3678650 i2c: bit: "0" +3678406-3678528 i2c: bit: "0" +3678284-3678406 i2c: bit: "1" +3678162-3678284 i2c: bit: "0" +3678040-3678162 i2c: bit: "1" +3678895-3679017 i2c: address-read: "Read" "Rd" "R" +3678040-3678895 i2c: address-read: "Address read: 50" "AR: 50" "50" +3679017-3679139 i2c: ack: "ACK" "A" +3679994-3680116 i2c: bit: "1" +3679872-3679994 i2c: bit: "0" +3679750-3679872 i2c: bit: "1" +3679628-3679750 i2c: bit: "1" +3679505-3679628 i2c: bit: "0" +3679383-3679505 i2c: bit: "1" +3679261-3679383 i2c: bit: "0" +3679139-3679261 i2c: bit: "0" +3679139-3680116 i2c: data-read: "Data read: 2D" "DR: 2D" "2D" +3680149-3680271 i2c: nack: "NACK" "N" +3680299-3680299 i2c: stop: "Stop" "P" +3680665-3680665 i2c: start: "Start" "S" +3681615-3681737 i2c: bit: "0" +3681493-3681615 i2c: bit: "0" +3681371-3681493 i2c: bit: "0" +3681249-3681371 i2c: bit: "0" +3681126-3681249 i2c: bit: "0" +3681004-3681126 i2c: bit: "1" +3680882-3681004 i2c: bit: "0" +3680760-3680882 i2c: bit: "1" +3681615-3681737 i2c: address-write: "Write" "Wr" "W" +3680760-3681615 i2c: address-write: "Address write: 50" "AW: 50" "50" +3681737-3681859 i2c: ack: "ACK" "A" +3682714-3682836 i2c: bit: "1" +3682592-3682714 i2c: bit: "0" +3682470-3682592 i2c: bit: "1" +3682348-3682470 i2c: bit: "1" +3682226-3682348 i2c: bit: "1" +3682103-3682226 i2c: bit: "0" +3681981-3682103 i2c: bit: "0" +3681859-3681981 i2c: bit: "0" +3681859-3682836 i2c: data-write: "Data write: 1D" "DW: 1D" "1D" +3682836-3682958 i2c: ack: "ACK" "A" +3683018-3683018 i2c: repeat-start: "Start repeat" "Sr" +3683963-3684085 i2c: bit: "1" +3683841-3683963 i2c: bit: "0" +3683719-3683841 i2c: bit: "0" +3683597-3683719 i2c: bit: "0" +3683475-3683597 i2c: bit: "0" +3683353-3683475 i2c: bit: "1" +3683230-3683353 i2c: bit: "0" +3683108-3683230 i2c: bit: "1" +3683963-3684085 i2c: address-read: "Read" "Rd" "R" +3683108-3683963 i2c: address-read: "Address read: 50" "AR: 50" "50" +3684085-3684207 i2c: ack: "ACK" "A" +3685062-3685184 i2c: bit: "0" +3684940-3685062 i2c: bit: "0" +3684818-3684940 i2c: bit: "0" +3684696-3684818 i2c: bit: "0" +3684574-3684696 i2c: bit: "1" +3684452-3684574 i2c: bit: "0" +3684330-3684452 i2c: bit: "1" +3684208-3684330 i2c: bit: "0" +3684208-3685184 i2c: data-read: "Data read: 50" "DR: 50" "50" +3685218-3685340 i2c: nack: "NACK" "N" +3685368-3685368 i2c: stop: "Stop" "P" +3700267-3700267 i2c: start: "Start" "S" +3701217-3701339 i2c: bit: "0" +3701095-3701217 i2c: bit: "1" +3700973-3701095 i2c: bit: "0" +3700851-3700973 i2c: bit: "0" +3700729-3700851 i2c: bit: "1" +3700607-3700729 i2c: bit: "0" +3700485-3700607 i2c: bit: "1" +3700363-3700485 i2c: bit: "1" +3701217-3701339 i2c: address-write: "Write" "Wr" "W" +3700363-3701217 i2c: address-write: "Address write: 69" "AW: 69" "69" +3701340-3701462 i2c: ack: "ACK" "A" +3702317-3702440 i2c: bit: "0" +3702194-3702317 i2c: bit: "0" +3702072-3702194 i2c: bit: "0" +3701950-3702072 i2c: bit: "0" +3701828-3701950 i2c: bit: "0" +3701706-3701828 i2c: bit: "0" +3701584-3701706 i2c: bit: "0" +3701462-3701584 i2c: bit: "0" +3701462-3702440 i2c: data-write: "Data write: 00" "DW: 00" "00" +3702439-3702562 i2c: ack: "ACK" "A" +3702621-3702621 i2c: repeat-start: "Start repeat" "Sr" +3703566-3703688 i2c: bit: "1" +3703444-3703566 i2c: bit: "1" +3703321-3703444 i2c: bit: "0" +3703199-3703321 i2c: bit: "0" +3703077-3703199 i2c: bit: "1" +3702955-3703077 i2c: bit: "0" +3702833-3702955 i2c: bit: "1" +3702711-3702833 i2c: bit: "1" +3703566-3703688 i2c: address-read: "Read" "Rd" "R" +3702711-3703566 i2c: address-read: "Address read: 69" "AR: 69" "69" +3703688-3703810 i2c: ack: "ACK" "A" +3704665-3704787 i2c: bit: "1" +3704543-3704665 i2c: bit: "1" +3704421-3704543 i2c: bit: "1" +3704298-3704421 i2c: bit: "1" +3704176-3704298 i2c: bit: "0" +3704054-3704176 i2c: bit: "0" +3703932-3704054 i2c: bit: "0" +3703810-3703932 i2c: bit: "0" +3703810-3704787 i2c: data-read: "Data read: 0F" "DR: 0F" "0F" +3704787-3704909 i2c: ack: "ACK" "A" +3705764-3705886 i2c: bit: "0" +3705642-3705764 i2c: bit: "1" +3705520-3705642 i2c: bit: "1" +3705398-3705520 i2c: bit: "0" +3705276-3705398 i2c: bit: "0" +3705153-3705276 i2c: bit: "0" +3705031-3705153 i2c: bit: "0" +3704909-3705031 i2c: bit: "0" +3704909-3705886 i2c: data-read: "Data read: 06" "DR: 06" "06" +3705886-3706008 i2c: ack: "ACK" "A" +3706863-3706985 i2c: bit: "1" +3706741-3706863 i2c: bit: "1" +3706619-3706741 i2c: bit: "1" +3706497-3706619 i2c: bit: "1" +3706375-3706497 i2c: bit: "1" +3706253-3706375 i2c: bit: "1" +3706130-3706253 i2c: bit: "1" +3706008-3706130 i2c: bit: "1" +3706008-3706985 i2c: data-read: "Data read: FF" "DR: FF" "FF" +3706985-3707107 i2c: ack: "ACK" "A" +3707962-3708084 i2c: bit: "1" +3707840-3707962 i2c: bit: "1" +3707718-3707840 i2c: bit: "1" +3707596-3707718 i2c: bit: "1" +3707474-3707596 i2c: bit: "1" +3707352-3707474 i2c: bit: "1" +3707230-3707352 i2c: bit: "1" +3707108-3707230 i2c: bit: "1" +3707108-3708084 i2c: data-read: "Data read: FF" "DR: FF" "FF" +3708085-3708207 i2c: ack: "ACK" "A" +3709062-3709184 i2c: bit: "1" +3708940-3709062 i2c: bit: "1" +3708817-3708940 i2c: bit: "1" +3708695-3708817 i2c: bit: "1" +3708573-3708695 i2c: bit: "1" +3708451-3708573 i2c: bit: "1" +3708329-3708451 i2c: bit: "1" +3708207-3708329 i2c: bit: "1" +3708207-3709184 i2c: data-read: "Data read: FF" "DR: FF" "FF" +3709184-3709306 i2c: ack: "ACK" "A" +3710161-3710283 i2c: bit: "1" +3710039-3710161 i2c: bit: "1" +3709917-3710039 i2c: bit: "1" +3709794-3709917 i2c: bit: "1" +3709672-3709794 i2c: bit: "1" +3709550-3709672 i2c: bit: "1" +3709428-3709550 i2c: bit: "1" +3709306-3709428 i2c: bit: "1" +3709306-3710283 i2c: data-read: "Data read: FF" "DR: FF" "FF" +3710283-3710405 i2c: ack: "ACK" "A" +3711260-3711382 i2c: bit: "1" +3711138-3711260 i2c: bit: "1" +3711016-3711138 i2c: bit: "1" +3710894-3711016 i2c: bit: "1" +3710772-3710894 i2c: bit: "1" +3710649-3710772 i2c: bit: "1" +3710527-3710649 i2c: bit: "1" +3710405-3710527 i2c: bit: "1" +3710405-3711382 i2c: data-read: "Data read: FF" "DR: FF" "FF" +3711382-3711504 i2c: ack: "ACK" "A" +3712359-3712481 i2c: bit: "1" +3712237-3712359 i2c: bit: "0" +3712115-3712237 i2c: bit: "0" +3711993-3712115 i2c: bit: "0" +3711871-3711993 i2c: bit: "1" +3711749-3711871 i2c: bit: "0" +3711626-3711749 i2c: bit: "1" +3711504-3711626 i2c: bit: "0" +3711504-3712481 i2c: data-read: "Data read: 51" "DR: 51" "51" +3712481-3712603 i2c: ack: "ACK" "A" +3713458-3713580 i2c: bit: "0" +3713336-3713458 i2c: bit: "1" +3713214-3713336 i2c: bit: "1" +3713092-3713214 i2c: bit: "0" +3712970-3713092 i2c: bit: "0" +3712848-3712970 i2c: bit: "0" +3712726-3712848 i2c: bit: "0" +3712604-3712726 i2c: bit: "1" +3712604-3713580 i2c: data-read: "Data read: 86" "DR: 86" "86" +3713581-3713703 i2c: ack: "ACK" "A" +3714558-3714680 i2c: bit: "1" +3714436-3714558 i2c: bit: "1" +3714313-3714436 i2c: bit: "1" +3714191-3714313 i2c: bit: "1" +3714069-3714191 i2c: bit: "0" +3713947-3714069 i2c: bit: "0" +3713825-3713947 i2c: bit: "0" +3713703-3713825 i2c: bit: "0" +3713703-3714680 i2c: data-read: "Data read: 0F" "DR: 0F" "0F" +3714680-3714802 i2c: ack: "ACK" "A" +3715657-3715779 i2c: bit: "0" +3715535-3715657 i2c: bit: "0" +3715413-3715535 i2c: bit: "0" +3715290-3715413 i2c: bit: "1" +3715168-3715290 i2c: bit: "0" +3715046-3715168 i2c: bit: "0" +3714924-3715046 i2c: bit: "0" +3714802-3714924 i2c: bit: "0" +3714802-3715779 i2c: data-read: "Data read: 08" "DR: 08" "08" +3715779-3715901 i2c: ack: "ACK" "A" +3716756-3716878 i2c: bit: "1" +3716634-3716756 i2c: bit: "0" +3716512-3716634 i2c: bit: "0" +3716390-3716512 i2c: bit: "0" +3716268-3716390 i2c: bit: "0" +3716145-3716268 i2c: bit: "0" +3716023-3716145 i2c: bit: "0" +3715901-3716023 i2c: bit: "0" +3715901-3716878 i2c: data-read: "Data read: 01" "DR: 01" "01" +3716878-3717000 i2c: ack: "ACK" "A" +3717855-3717977 i2c: bit: "0" +3717733-3717855 i2c: bit: "0" +3717611-3717733 i2c: bit: "0" +3717489-3717611 i2c: bit: "1" +3717367-3717489 i2c: bit: "0" +3717245-3717367 i2c: bit: "0" +3717122-3717245 i2c: bit: "0" +3717000-3717122 i2c: bit: "1" +3717000-3717977 i2c: data-read: "Data read: 88" "DR: 88" "88" +3717977-3718099 i2c: ack: "ACK" "A" +3718954-3719076 i2c: bit: "0" +3718832-3718954 i2c: bit: "1" +3718710-3718832 i2c: bit: "1" +3718588-3718710 i2c: bit: "1" +3718466-3718588 i2c: bit: "0" +3718344-3718466 i2c: bit: "0" +3718222-3718344 i2c: bit: "0" +3718100-3718222 i2c: bit: "0" +3718100-3719076 i2c: data-read: "Data read: 0E" "DR: 0E" "0E" +3719077-3719199 i2c: ack: "ACK" "A" +3720054-3720176 i2c: bit: "1" +3719932-3720054 i2c: bit: "0" +3719809-3719932 i2c: bit: "1" +3719687-3719809 i2c: bit: "0" +3719565-3719687 i2c: bit: "0" +3719443-3719565 i2c: bit: "1" +3719321-3719443 i2c: bit: "1" +3719199-3719321 i2c: bit: "1" +3719199-3720176 i2c: data-read: "Data read: E5" "DR: E5" "E5" +3720176-3720298 i2c: ack: "ACK" "A" +3721153-3721275 i2c: bit: "1" +3721031-3721153 i2c: bit: "1" +3720909-3721031 i2c: bit: "1" +3720786-3720909 i2c: bit: "0" +3720664-3720786 i2c: bit: "1" +3720542-3720664 i2c: bit: "1" +3720420-3720542 i2c: bit: "1" +3720298-3720420 i2c: bit: "1" +3720298-3721275 i2c: data-read: "Data read: F7" "DR: F7" "F7" +3721308-3721430 i2c: nack: "NACK" "N" +3721458-3721458 i2c: stop: "Stop" "P" +3825148-3825148 i2c: start: "Start" "S" +3826099-3826221 i2c: bit: "0" +3825977-3826099 i2c: bit: "1" +3825854-3825977 i2c: bit: "0" +3825732-3825854 i2c: bit: "0" +3825610-3825732 i2c: bit: "1" +3825488-3825610 i2c: bit: "0" +3825366-3825488 i2c: bit: "1" +3825244-3825366 i2c: bit: "1" +3826099-3826221 i2c: address-write: "Write" "Wr" "W" +3825244-3826099 i2c: address-write: "Address write: 69" "AW: 69" "69" +3826221-3826343 i2c: ack: "ACK" "A" +3827198-3827320 i2c: bit: "0" +3827076-3827198 i2c: bit: "0" +3826954-3827076 i2c: bit: "0" +3826832-3826954 i2c: bit: "0" +3826709-3826832 i2c: bit: "0" +3826587-3826709 i2c: bit: "0" +3826465-3826587 i2c: bit: "0" +3826343-3826465 i2c: bit: "0" +3826343-3827320 i2c: data-write: "Data write: 00" "DW: 00" "00" +3827320-3827442 i2c: ack: "ACK" "A" +3828297-3828419 i2c: bit: "0" +3828175-3828297 i2c: bit: "0" +3828053-3828175 i2c: bit: "0" +3827931-3828053 i2c: bit: "1" +3827809-3827931 i2c: bit: "1" +3827686-3827809 i2c: bit: "0" +3827564-3827686 i2c: bit: "0" +3827442-3827564 i2c: bit: "0" +3827442-3828419 i2c: data-write: "Data write: 18" "DW: 18" "18" +3828419-3828541 i2c: ack: "ACK" "A" +3829396-3829518 i2c: bit: "0" +3829274-3829396 i2c: bit: "1" +3829152-3829274 i2c: bit: "1" +3829030-3829152 i2c: bit: "1" +3828908-3829030 i2c: bit: "0" +3828786-3828908 i2c: bit: "1" +3828664-3828786 i2c: bit: "0" +3828541-3828664 i2c: bit: "1" +3828541-3829518 i2c: data-write: "Data write: AE" "DW: AE" "AE" +3829518-3829640 i2c: ack: "ACK" "A" +3830496-3830619 i2c: bit: "1" +3830373-3830496 i2c: bit: "1" +3830251-3830373 i2c: bit: "1" +3830129-3830251 i2c: bit: "1" +3830007-3830129 i2c: bit: "1" +3829885-3830007 i2c: bit: "1" +3829763-3829885 i2c: bit: "1" +3829641-3829763 i2c: bit: "1" +3829641-3830619 i2c: data-write: "Data write: FF" "DW: FF" "FF" +3830618-3830741 i2c: ack: "ACK" "A" +3831595-3831717 i2c: bit: "1" +3831473-3831595 i2c: bit: "1" +3831350-3831473 i2c: bit: "1" +3831228-3831350 i2c: bit: "1" +3831106-3831228 i2c: bit: "0" +3830984-3831106 i2c: bit: "1" +3830862-3830984 i2c: bit: "1" +3830740-3830862 i2c: bit: "1" +3830740-3831717 i2c: data-write: "Data write: EF" "DW: EF" "EF" +3831717-3831839 i2c: ack: "ACK" "A" +3832694-3832816 i2c: bit: "1" +3832572-3832694 i2c: bit: "1" +3832450-3832572 i2c: bit: "0" +3832328-3832450 i2c: bit: "1" +3832205-3832328 i2c: bit: "1" +3832083-3832205 i2c: bit: "1" +3831961-3832083 i2c: bit: "1" +3831839-3831961 i2c: bit: "1" +3831839-3832816 i2c: data-write: "Data write: FB" "DW: FB" "FB" +3832816-3832938 i2c: ack: "ACK" "A" +3833793-3833915 i2c: bit: "1" +3833671-3833793 i2c: bit: "1" +3833549-3833671 i2c: bit: "1" +3833427-3833549 i2c: bit: "1" +3833305-3833427 i2c: bit: "0" +3833182-3833305 i2c: bit: "0" +3833060-3833182 i2c: bit: "0" +3832938-3833060 i2c: bit: "0" +3832938-3833915 i2c: data-write: "Data write: 0F" "DW: 0F" "0F" +3833915-3834037 i2c: ack: "ACK" "A" +3834892-3835014 i2c: bit: "0" +3834770-3834892 i2c: bit: "0" +3834648-3834770 i2c: bit: "0" +3834526-3834648 i2c: bit: "0" +3834404-3834526 i2c: bit: "0" +3834282-3834404 i2c: bit: "0" +3834160-3834282 i2c: bit: "1" +3834037-3834160 i2c: bit: "1" +3834037-3835014 i2c: data-write: "Data write: C0" "DW: C0" "C0" +3835014-3835136 i2c: ack: "ACK" "A" +3835992-3836115 i2c: bit: "1" +3835869-3835992 i2c: bit: "0" +3835747-3835869 i2c: bit: "0" +3835625-3835747 i2c: bit: "0" +3835503-3835625 i2c: bit: "1" +3835381-3835503 i2c: bit: "1" +3835259-3835381 i2c: bit: "1" +3835137-3835259 i2c: bit: "1" +3835137-3836115 i2c: data-write: "Data write: F1" "DW: F1" "F1" +3836114-3836237 i2c: ack: "ACK" "A" +3837091-3837213 i2c: bit: "1" +3836969-3837091 i2c: bit: "1" +3836846-3836969 i2c: bit: "1" +3836724-3836846 i2c: bit: "0" +3836602-3836724 i2c: bit: "1" +3836480-3836602 i2c: bit: "0" +3836358-3836480 i2c: bit: "0" +3836236-3836358 i2c: bit: "0" +3836236-3837213 i2c: data-write: "Data write: 17" "DW: 17" "17" +3837213-3837335 i2c: ack: "ACK" "A" +3838190-3838312 i2c: bit: "0" +3838068-3838190 i2c: bit: "0" +3837946-3838068 i2c: bit: "0" +3837824-3837946 i2c: bit: "1" +3837701-3837824 i2c: bit: "1" +3837579-3837701 i2c: bit: "0" +3837457-3837579 i2c: bit: "0" +3837335-3837457 i2c: bit: "0" +3837335-3838312 i2c: data-write: "Data write: 18" "DW: 18" "18" +3838312-3838434 i2c: ack: "ACK" "A" +3839289-3839411 i2c: bit: "0" +3839167-3839289 i2c: bit: "0" +3839045-3839167 i2c: bit: "0" +3838923-3839045 i2c: bit: "0" +3838801-3838923 i2c: bit: "1" +3838678-3838801 i2c: bit: "0" +3838556-3838678 i2c: bit: "0" +3838434-3838556 i2c: bit: "0" +3838434-3839411 i2c: data-write: "Data write: 10" "DW: 10" "10" +3839411-3839533 i2c: ack: "ACK" "A" +3840388-3840510 i2c: bit: "0" +3840266-3840388 i2c: bit: "1" +3840144-3840266 i2c: bit: "0" +3840022-3840144 i2c: bit: "1" +3839900-3840022 i2c: bit: "1" +3839778-3839900 i2c: bit: "1" +3839656-3839778 i2c: bit: "1" +3839533-3839656 i2c: bit: "0" +3839533-3840510 i2c: data-write: "Data write: 7A" "DW: 7A" "7A" +3840510-3840632 i2c: ack: "ACK" "A" +3841488-3841611 i2c: bit: "0" +3841365-3841488 i2c: bit: "0" +3841243-3841365 i2c: bit: "1" +3841121-3841243 i2c: bit: "1" +3840999-3841121 i2c: bit: "0" +3840877-3840999 i2c: bit: "0" +3840755-3840877 i2c: bit: "0" +3840633-3840755 i2c: bit: "1" +3840633-3841611 i2c: data-write: "Data write: 8C" "DW: 8C" "8C" +3841610-3841733 i2c: ack: "ACK" "A" +3842587-3842709 i2c: bit: "1" +3842465-3842587 i2c: bit: "0" +3842342-3842465 i2c: bit: "0" +3842220-3842342 i2c: bit: "0" +3842098-3842220 i2c: bit: "0" +3841976-3842098 i2c: bit: "0" +3841854-3841976 i2c: bit: "0" +3841732-3841854 i2c: bit: "1" +3841732-3842709 i2c: data-write: "Data write: 81" "DW: 81" "81" +3842709-3842831 i2c: ack: "ACK" "A" +3843686-3843808 i2c: bit: "1" +3843564-3843686 i2c: bit: "1" +3843442-3843564 i2c: bit: "1" +3843320-3843442 i2c: bit: "1" +3843197-3843320 i2c: bit: "1" +3843075-3843197 i2c: bit: "0" +3842953-3843075 i2c: bit: "0" +3842831-3842953 i2c: bit: "0" +3842831-3843808 i2c: data-write: "Data write: 1F" "DW: 1F" "1F" +3843808-3843930 i2c: ack: "ACK" "A" +3844785-3844907 i2c: bit: "0" +3844663-3844785 i2c: bit: "0" +3844541-3844663 i2c: bit: "0" +3844419-3844541 i2c: bit: "1" +3844297-3844419 i2c: bit: "1" +3844174-3844297 i2c: bit: "0" +3844052-3844174 i2c: bit: "0" +3843930-3844052 i2c: bit: "0" +3843930-3844907 i2c: data-write: "Data write: 18" "DW: 18" "18" +3844907-3845029 i2c: ack: "ACK" "A" +3845884-3846006 i2c: bit: "0" +3845762-3845884 i2c: bit: "0" +3845640-3845762 i2c: bit: "0" +3845518-3845640 i2c: bit: "0" +3845396-3845518 i2c: bit: "0" +3845274-3845396 i2c: bit: "0" +3845152-3845274 i2c: bit: "0" +3845029-3845152 i2c: bit: "0" +3845029-3846006 i2c: data-write: "Data write: 00" "DW: 00" "00" +3846006-3846128 i2c: ack: "ACK" "A" +3846984-3847107 i2c: bit: "0" +3846861-3846984 i2c: bit: "0" +3846739-3846861 i2c: bit: "0" +3846617-3846739 i2c: bit: "0" +3846495-3846617 i2c: bit: "0" +3846373-3846495 i2c: bit: "0" +3846251-3846373 i2c: bit: "0" +3846129-3846251 i2c: bit: "0" +3846129-3847107 i2c: data-write: "Data write: 00" "DW: 00" "00" +3847106-3847229 i2c: ack: "ACK" "A" +3848083-3848205 i2c: bit: "0" +3847961-3848083 i2c: bit: "0" +3847838-3847961 i2c: bit: "0" +3847716-3847838 i2c: bit: "0" +3847594-3847716 i2c: bit: "0" +3847472-3847594 i2c: bit: "0" +3847350-3847472 i2c: bit: "0" +3847228-3847350 i2c: bit: "0" +3847228-3848205 i2c: data-write: "Data write: 00" "DW: 00" "00" +3848205-3848327 i2c: ack: "ACK" "A" +3849182-3849304 i2c: bit: "0" +3849060-3849182 i2c: bit: "0" +3848938-3849060 i2c: bit: "0" +3848816-3848938 i2c: bit: "0" +3848693-3848816 i2c: bit: "0" +3848571-3848693 i2c: bit: "0" +3848449-3848571 i2c: bit: "0" +3848327-3848449 i2c: bit: "0" +3848327-3849304 i2c: data-write: "Data write: 00" "DW: 00" "00" +3849304-3849426 i2c: ack: "ACK" "A" +3850281-3850403 i2c: bit: "0" +3850159-3850281 i2c: bit: "0" +3850037-3850159 i2c: bit: "0" +3849915-3850037 i2c: bit: "0" +3849793-3849915 i2c: bit: "0" +3849670-3849793 i2c: bit: "0" +3849548-3849670 i2c: bit: "0" +3849426-3849548 i2c: bit: "0" +3849426-3850403 i2c: data-write: "Data write: 00" "DW: 00" "00" +3850403-3850525 i2c: ack: "ACK" "A" +3851380-3851502 i2c: bit: "0" +3851258-3851380 i2c: bit: "0" +3851136-3851258 i2c: bit: "0" +3851014-3851136 i2c: bit: "0" +3850892-3851014 i2c: bit: "0" +3850770-3850892 i2c: bit: "0" +3850648-3850770 i2c: bit: "0" +3850525-3850648 i2c: bit: "0" +3850525-3851502 i2c: data-write: "Data write: 00" "DW: 00" "00" +3851502-3851624 i2c: ack: "ACK" "A" +3852480-3852603 i2c: bit: "0" +3852357-3852480 i2c: bit: "0" +3852235-3852357 i2c: bit: "0" +3852113-3852235 i2c: bit: "0" +3851991-3852113 i2c: bit: "0" +3851869-3851991 i2c: bit: "0" +3851747-3851869 i2c: bit: "0" +3851625-3851747 i2c: bit: "0" +3851625-3852603 i2c: data-write: "Data write: 00" "DW: 00" "00" +3852602-3852725 i2c: ack: "ACK" "A" +3853579-3853701 i2c: bit: "0" +3853457-3853579 i2c: bit: "0" +3853334-3853457 i2c: bit: "0" +3853212-3853334 i2c: bit: "0" +3853090-3853212 i2c: bit: "0" +3852968-3853090 i2c: bit: "0" +3852846-3852968 i2c: bit: "0" +3852724-3852846 i2c: bit: "0" +3852724-3853701 i2c: data-write: "Data write: 00" "DW: 00" "00" +3853701-3853823 i2c: ack: "ACK" "A" +3854678-3854800 i2c: bit: "0" +3854556-3854678 i2c: bit: "0" +3854434-3854556 i2c: bit: "0" +3854312-3854434 i2c: bit: "0" +3854189-3854312 i2c: bit: "0" +3854067-3854189 i2c: bit: "0" +3853945-3854067 i2c: bit: "0" +3853823-3853945 i2c: bit: "0" +3853823-3854800 i2c: data-write: "Data write: 00" "DW: 00" "00" +3854800-3854922 i2c: ack: "ACK" "A" +3854950-3854950 i2c: stop: "Stop" "P" diff --git a/decoder/test/i2c/gigabyte_6vle_vxl_i2c.python b/decoder/test/i2c/gigabyte_6vle_vxl_i2c.python new file mode 100644 index 0000000..609ba09 --- /dev/null +++ b/decoder/test/i2c/gigabyte_6vle_vxl_i2c.python @@ -0,0 +1,188 @@ +3670527-3670527 i2c: ['START', None] +3670623-3671600 i2c: ['BITS', [[0, 3671478, 3671600], [0, 3671356, 3671478], [0, 3671234, 3671356], [0, 3671112, 3671234], [0, 3670989, 3671112], [1, 3670867, 3670989], [0, 3670745, 3670867], [1, 3670623, 3670745]]] +3670623-3671600 i2c: ['ADDRESS WRITE', 80] +3671600-3671722 i2c: ['ACK', None] +3671722-3672699 i2c: ['BITS', [[1, 3672577, 3672699], [1, 3672455, 3672577], [0, 3672333, 3672455], [1, 3672211, 3672333], [1, 3672089, 3672211], [0, 3671966, 3672089], [0, 3671844, 3671966], [0, 3671722, 3671844]]] +3671722-3672699 i2c: ['DATA WRITE', 27] +3672699-3672821 i2c: ['ACK', None] +3672881-3672881 i2c: ['START REPEAT', None] +3672971-3673948 i2c: ['BITS', [[1, 3673826, 3673948], [0, 3673704, 3673826], [0, 3673582, 3673704], [0, 3673460, 3673582], [0, 3673338, 3673460], [1, 3673216, 3673338], [0, 3673093, 3673216], [1, 3672971, 3673093]]] +3672971-3673948 i2c: ['ADDRESS READ', 80] +3673948-3674070 i2c: ['ACK', None] +3674070-3675047 i2c: ['BITS', [[0, 3674925, 3675047], [0, 3674803, 3674925], [0, 3674681, 3674803], [0, 3674559, 3674681], [1, 3674437, 3674559], [0, 3674315, 3674437], [1, 3674193, 3674315], [0, 3674070, 3674193]]] +3674070-3675047 i2c: ['DATA READ', 80] +3675081-3675203 i2c: ['NACK', None] +3675231-3675231 i2c: ['STOP', None] +3675596-3675596 i2c: ['START', None] +3675691-3676668 i2c: ['BITS', [[0, 3676546, 3676668], [0, 3676424, 3676546], [0, 3676302, 3676424], [0, 3676180, 3676302], [0, 3676058, 3676180], [1, 3675936, 3676058], [0, 3675814, 3675936], [1, 3675691, 3675814]]] +3675691-3676668 i2c: ['ADDRESS WRITE', 80] +3676669-3676791 i2c: ['ACK', None] +3676791-3677768 i2c: ['BITS', [[0, 3677646, 3677768], [1, 3677524, 3677646], [1, 3677401, 3677524], [1, 3677279, 3677401], [1, 3677157, 3677279], [0, 3677035, 3677157], [0, 3676913, 3677035], [0, 3676791, 3676913]]] +3676791-3677768 i2c: ['DATA WRITE', 30] +3677768-3677890 i2c: ['ACK', None] +3677950-3677950 i2c: ['START REPEAT', None] +3678040-3679017 i2c: ['BITS', [[1, 3678895, 3679017], [0, 3678773, 3678895], [0, 3678650, 3678773], [0, 3678528, 3678650], [0, 3678406, 3678528], [1, 3678284, 3678406], [0, 3678162, 3678284], [1, 3678040, 3678162]]] +3678040-3679017 i2c: ['ADDRESS READ', 80] +3679017-3679139 i2c: ['ACK', None] +3679139-3680116 i2c: ['BITS', [[1, 3679994, 3680116], [0, 3679872, 3679994], [1, 3679750, 3679872], [1, 3679628, 3679750], [0, 3679505, 3679628], [1, 3679383, 3679505], [0, 3679261, 3679383], [0, 3679139, 3679261]]] +3679139-3680116 i2c: ['DATA READ', 45] +3680149-3680271 i2c: ['NACK', None] +3680299-3680299 i2c: ['STOP', None] +3680665-3680665 i2c: ['START', None] +3680760-3681737 i2c: ['BITS', [[0, 3681615, 3681737], [0, 3681493, 3681615], [0, 3681371, 3681493], [0, 3681249, 3681371], [0, 3681126, 3681249], [1, 3681004, 3681126], [0, 3680882, 3681004], [1, 3680760, 3680882]]] +3680760-3681737 i2c: ['ADDRESS WRITE', 80] +3681737-3681859 i2c: ['ACK', None] +3681859-3682836 i2c: ['BITS', [[1, 3682714, 3682836], [0, 3682592, 3682714], [1, 3682470, 3682592], [1, 3682348, 3682470], [1, 3682226, 3682348], [0, 3682103, 3682226], [0, 3681981, 3682103], [0, 3681859, 3681981]]] +3681859-3682836 i2c: ['DATA WRITE', 29] +3682836-3682958 i2c: ['ACK', None] +3683018-3683018 i2c: ['START REPEAT', None] +3683108-3684085 i2c: ['BITS', [[1, 3683963, 3684085], [0, 3683841, 3683963], [0, 3683719, 3683841], [0, 3683597, 3683719], [0, 3683475, 3683597], [1, 3683353, 3683475], [0, 3683230, 3683353], [1, 3683108, 3683230]]] +3683108-3684085 i2c: ['ADDRESS READ', 80] +3684085-3684207 i2c: ['ACK', None] +3684208-3685184 i2c: ['BITS', [[0, 3685062, 3685184], [0, 3684940, 3685062], [0, 3684818, 3684940], [0, 3684696, 3684818], [1, 3684574, 3684696], [0, 3684452, 3684574], [1, 3684330, 3684452], [0, 3684208, 3684330]]] +3684208-3685184 i2c: ['DATA READ', 80] +3685218-3685340 i2c: ['NACK', None] +3685368-3685368 i2c: ['STOP', None] +3700267-3700267 i2c: ['START', None] +3700363-3701339 i2c: ['BITS', [[0, 3701217, 3701339], [1, 3701095, 3701217], [0, 3700973, 3701095], [0, 3700851, 3700973], [1, 3700729, 3700851], [0, 3700607, 3700729], [1, 3700485, 3700607], [1, 3700363, 3700485]]] +3700363-3701339 i2c: ['ADDRESS WRITE', 105] +3701340-3701462 i2c: ['ACK', None] +3701462-3702440 i2c: ['BITS', [[0, 3702317, 3702440], [0, 3702194, 3702317], [0, 3702072, 3702194], [0, 3701950, 3702072], [0, 3701828, 3701950], [0, 3701706, 3701828], [0, 3701584, 3701706], [0, 3701462, 3701584]]] +3701462-3702440 i2c: ['DATA WRITE', 0] +3702439-3702562 i2c: ['ACK', None] +3702621-3702621 i2c: ['START REPEAT', None] +3702711-3703688 i2c: ['BITS', [[1, 3703566, 3703688], [1, 3703444, 3703566], [0, 3703321, 3703444], [0, 3703199, 3703321], [1, 3703077, 3703199], [0, 3702955, 3703077], [1, 3702833, 3702955], [1, 3702711, 3702833]]] +3702711-3703688 i2c: ['ADDRESS READ', 105] +3703688-3703810 i2c: ['ACK', None] +3703810-3704787 i2c: ['BITS', [[1, 3704665, 3704787], [1, 3704543, 3704665], [1, 3704421, 3704543], [1, 3704298, 3704421], [0, 3704176, 3704298], [0, 3704054, 3704176], [0, 3703932, 3704054], [0, 3703810, 3703932]]] +3703810-3704787 i2c: ['DATA READ', 15] +3704787-3704909 i2c: ['ACK', None] +3704909-3705886 i2c: ['BITS', [[0, 3705764, 3705886], [1, 3705642, 3705764], [1, 3705520, 3705642], [0, 3705398, 3705520], [0, 3705276, 3705398], [0, 3705153, 3705276], [0, 3705031, 3705153], [0, 3704909, 3705031]]] +3704909-3705886 i2c: ['DATA READ', 6] +3705886-3706008 i2c: ['ACK', None] +3706008-3706985 i2c: ['BITS', [[1, 3706863, 3706985], [1, 3706741, 3706863], [1, 3706619, 3706741], [1, 3706497, 3706619], [1, 3706375, 3706497], [1, 3706253, 3706375], [1, 3706130, 3706253], [1, 3706008, 3706130]]] +3706008-3706985 i2c: ['DATA READ', 255] +3706985-3707107 i2c: ['ACK', None] +3707108-3708084 i2c: ['BITS', [[1, 3707962, 3708084], [1, 3707840, 3707962], [1, 3707718, 3707840], [1, 3707596, 3707718], [1, 3707474, 3707596], [1, 3707352, 3707474], [1, 3707230, 3707352], [1, 3707108, 3707230]]] +3707108-3708084 i2c: ['DATA READ', 255] +3708085-3708207 i2c: ['ACK', None] +3708207-3709184 i2c: ['BITS', [[1, 3709062, 3709184], [1, 3708940, 3709062], [1, 3708817, 3708940], [1, 3708695, 3708817], [1, 3708573, 3708695], [1, 3708451, 3708573], [1, 3708329, 3708451], [1, 3708207, 3708329]]] +3708207-3709184 i2c: ['DATA READ', 255] +3709184-3709306 i2c: ['ACK', None] +3709306-3710283 i2c: ['BITS', [[1, 3710161, 3710283], [1, 3710039, 3710161], [1, 3709917, 3710039], [1, 3709794, 3709917], [1, 3709672, 3709794], [1, 3709550, 3709672], [1, 3709428, 3709550], [1, 3709306, 3709428]]] +3709306-3710283 i2c: ['DATA READ', 255] +3710283-3710405 i2c: ['ACK', None] +3710405-3711382 i2c: ['BITS', [[1, 3711260, 3711382], [1, 3711138, 3711260], [1, 3711016, 3711138], [1, 3710894, 3711016], [1, 3710772, 3710894], [1, 3710649, 3710772], [1, 3710527, 3710649], [1, 3710405, 3710527]]] +3710405-3711382 i2c: ['DATA READ', 255] +3711382-3711504 i2c: ['ACK', None] +3711504-3712481 i2c: ['BITS', [[1, 3712359, 3712481], [0, 3712237, 3712359], [0, 3712115, 3712237], [0, 3711993, 3712115], [1, 3711871, 3711993], [0, 3711749, 3711871], [1, 3711626, 3711749], [0, 3711504, 3711626]]] +3711504-3712481 i2c: ['DATA READ', 81] +3712481-3712603 i2c: ['ACK', None] +3712604-3713580 i2c: ['BITS', [[0, 3713458, 3713580], [1, 3713336, 3713458], [1, 3713214, 3713336], [0, 3713092, 3713214], [0, 3712970, 3713092], [0, 3712848, 3712970], [0, 3712726, 3712848], [1, 3712604, 3712726]]] +3712604-3713580 i2c: ['DATA READ', 134] +3713581-3713703 i2c: ['ACK', None] +3713703-3714680 i2c: ['BITS', [[1, 3714558, 3714680], [1, 3714436, 3714558], [1, 3714313, 3714436], [1, 3714191, 3714313], [0, 3714069, 3714191], [0, 3713947, 3714069], [0, 3713825, 3713947], [0, 3713703, 3713825]]] +3713703-3714680 i2c: ['DATA READ', 15] +3714680-3714802 i2c: ['ACK', None] +3714802-3715779 i2c: ['BITS', [[0, 3715657, 3715779], [0, 3715535, 3715657], [0, 3715413, 3715535], [1, 3715290, 3715413], [0, 3715168, 3715290], [0, 3715046, 3715168], [0, 3714924, 3715046], [0, 3714802, 3714924]]] +3714802-3715779 i2c: ['DATA READ', 8] +3715779-3715901 i2c: ['ACK', None] +3715901-3716878 i2c: ['BITS', [[1, 3716756, 3716878], [0, 3716634, 3716756], [0, 3716512, 3716634], [0, 3716390, 3716512], [0, 3716268, 3716390], [0, 3716145, 3716268], [0, 3716023, 3716145], [0, 3715901, 3716023]]] +3715901-3716878 i2c: ['DATA READ', 1] +3716878-3717000 i2c: ['ACK', None] +3717000-3717977 i2c: ['BITS', [[0, 3717855, 3717977], [0, 3717733, 3717855], [0, 3717611, 3717733], [1, 3717489, 3717611], [0, 3717367, 3717489], [0, 3717245, 3717367], [0, 3717122, 3717245], [1, 3717000, 3717122]]] +3717000-3717977 i2c: ['DATA READ', 136] +3717977-3718099 i2c: ['ACK', None] +3718100-3719076 i2c: ['BITS', [[0, 3718954, 3719076], [1, 3718832, 3718954], [1, 3718710, 3718832], [1, 3718588, 3718710], [0, 3718466, 3718588], [0, 3718344, 3718466], [0, 3718222, 3718344], [0, 3718100, 3718222]]] +3718100-3719076 i2c: ['DATA READ', 14] +3719077-3719199 i2c: ['ACK', None] +3719199-3720176 i2c: ['BITS', [[1, 3720054, 3720176], [0, 3719932, 3720054], [1, 3719809, 3719932], [0, 3719687, 3719809], [0, 3719565, 3719687], [1, 3719443, 3719565], [1, 3719321, 3719443], [1, 3719199, 3719321]]] +3719199-3720176 i2c: ['DATA READ', 229] +3720176-3720298 i2c: ['ACK', None] +3720298-3721275 i2c: ['BITS', [[1, 3721153, 3721275], [1, 3721031, 3721153], [1, 3720909, 3721031], [0, 3720786, 3720909], [1, 3720664, 3720786], [1, 3720542, 3720664], [1, 3720420, 3720542], [1, 3720298, 3720420]]] +3720298-3721275 i2c: ['DATA READ', 247] +3721308-3721430 i2c: ['NACK', None] +3721458-3721458 i2c: ['STOP', None] +3825148-3825148 i2c: ['START', None] +3825244-3826221 i2c: ['BITS', [[0, 3826099, 3826221], [1, 3825977, 3826099], [0, 3825854, 3825977], [0, 3825732, 3825854], [1, 3825610, 3825732], [0, 3825488, 3825610], [1, 3825366, 3825488], [1, 3825244, 3825366]]] +3825244-3826221 i2c: ['ADDRESS WRITE', 105] +3826221-3826343 i2c: ['ACK', None] +3826343-3827320 i2c: ['BITS', [[0, 3827198, 3827320], [0, 3827076, 3827198], [0, 3826954, 3827076], [0, 3826832, 3826954], [0, 3826709, 3826832], [0, 3826587, 3826709], [0, 3826465, 3826587], [0, 3826343, 3826465]]] +3826343-3827320 i2c: ['DATA WRITE', 0] +3827320-3827442 i2c: ['ACK', None] +3827442-3828419 i2c: ['BITS', [[0, 3828297, 3828419], [0, 3828175, 3828297], [0, 3828053, 3828175], [1, 3827931, 3828053], [1, 3827809, 3827931], [0, 3827686, 3827809], [0, 3827564, 3827686], [0, 3827442, 3827564]]] +3827442-3828419 i2c: ['DATA WRITE', 24] +3828419-3828541 i2c: ['ACK', None] +3828541-3829518 i2c: ['BITS', [[0, 3829396, 3829518], [1, 3829274, 3829396], [1, 3829152, 3829274], [1, 3829030, 3829152], [0, 3828908, 3829030], [1, 3828786, 3828908], [0, 3828664, 3828786], [1, 3828541, 3828664]]] +3828541-3829518 i2c: ['DATA WRITE', 174] +3829518-3829640 i2c: ['ACK', None] +3829641-3830619 i2c: ['BITS', [[1, 3830496, 3830619], [1, 3830373, 3830496], [1, 3830251, 3830373], [1, 3830129, 3830251], [1, 3830007, 3830129], [1, 3829885, 3830007], [1, 3829763, 3829885], [1, 3829641, 3829763]]] +3829641-3830619 i2c: ['DATA WRITE', 255] +3830618-3830741 i2c: ['ACK', None] +3830740-3831717 i2c: ['BITS', [[1, 3831595, 3831717], [1, 3831473, 3831595], [1, 3831350, 3831473], [1, 3831228, 3831350], [0, 3831106, 3831228], [1, 3830984, 3831106], [1, 3830862, 3830984], [1, 3830740, 3830862]]] +3830740-3831717 i2c: ['DATA WRITE', 239] +3831717-3831839 i2c: ['ACK', None] +3831839-3832816 i2c: ['BITS', [[1, 3832694, 3832816], [1, 3832572, 3832694], [0, 3832450, 3832572], [1, 3832328, 3832450], [1, 3832205, 3832328], [1, 3832083, 3832205], [1, 3831961, 3832083], [1, 3831839, 3831961]]] +3831839-3832816 i2c: ['DATA WRITE', 251] +3832816-3832938 i2c: ['ACK', None] +3832938-3833915 i2c: ['BITS', [[1, 3833793, 3833915], [1, 3833671, 3833793], [1, 3833549, 3833671], [1, 3833427, 3833549], [0, 3833305, 3833427], [0, 3833182, 3833305], [0, 3833060, 3833182], [0, 3832938, 3833060]]] +3832938-3833915 i2c: ['DATA WRITE', 15] +3833915-3834037 i2c: ['ACK', None] +3834037-3835014 i2c: ['BITS', [[0, 3834892, 3835014], [0, 3834770, 3834892], [0, 3834648, 3834770], [0, 3834526, 3834648], [0, 3834404, 3834526], [0, 3834282, 3834404], [1, 3834160, 3834282], [1, 3834037, 3834160]]] +3834037-3835014 i2c: ['DATA WRITE', 192] +3835014-3835136 i2c: ['ACK', None] +3835137-3836115 i2c: ['BITS', [[1, 3835992, 3836115], [0, 3835869, 3835992], [0, 3835747, 3835869], [0, 3835625, 3835747], [1, 3835503, 3835625], [1, 3835381, 3835503], [1, 3835259, 3835381], [1, 3835137, 3835259]]] +3835137-3836115 i2c: ['DATA WRITE', 241] +3836114-3836237 i2c: ['ACK', None] +3836236-3837213 i2c: ['BITS', [[1, 3837091, 3837213], [1, 3836969, 3837091], [1, 3836846, 3836969], [0, 3836724, 3836846], [1, 3836602, 3836724], [0, 3836480, 3836602], [0, 3836358, 3836480], [0, 3836236, 3836358]]] +3836236-3837213 i2c: ['DATA WRITE', 23] +3837213-3837335 i2c: ['ACK', None] +3837335-3838312 i2c: ['BITS', [[0, 3838190, 3838312], [0, 3838068, 3838190], [0, 3837946, 3838068], [1, 3837824, 3837946], [1, 3837701, 3837824], [0, 3837579, 3837701], [0, 3837457, 3837579], [0, 3837335, 3837457]]] +3837335-3838312 i2c: ['DATA WRITE', 24] +3838312-3838434 i2c: ['ACK', None] +3838434-3839411 i2c: ['BITS', [[0, 3839289, 3839411], [0, 3839167, 3839289], [0, 3839045, 3839167], [0, 3838923, 3839045], [1, 3838801, 3838923], [0, 3838678, 3838801], [0, 3838556, 3838678], [0, 3838434, 3838556]]] +3838434-3839411 i2c: ['DATA WRITE', 16] +3839411-3839533 i2c: ['ACK', None] +3839533-3840510 i2c: ['BITS', [[0, 3840388, 3840510], [1, 3840266, 3840388], [0, 3840144, 3840266], [1, 3840022, 3840144], [1, 3839900, 3840022], [1, 3839778, 3839900], [1, 3839656, 3839778], [0, 3839533, 3839656]]] +3839533-3840510 i2c: ['DATA WRITE', 122] +3840510-3840632 i2c: ['ACK', None] +3840633-3841611 i2c: ['BITS', [[0, 3841488, 3841611], [0, 3841365, 3841488], [1, 3841243, 3841365], [1, 3841121, 3841243], [0, 3840999, 3841121], [0, 3840877, 3840999], [0, 3840755, 3840877], [1, 3840633, 3840755]]] +3840633-3841611 i2c: ['DATA WRITE', 140] +3841610-3841733 i2c: ['ACK', None] +3841732-3842709 i2c: ['BITS', [[1, 3842587, 3842709], [0, 3842465, 3842587], [0, 3842342, 3842465], [0, 3842220, 3842342], [0, 3842098, 3842220], [0, 3841976, 3842098], [0, 3841854, 3841976], [1, 3841732, 3841854]]] +3841732-3842709 i2c: ['DATA WRITE', 129] +3842709-3842831 i2c: ['ACK', None] +3842831-3843808 i2c: ['BITS', [[1, 3843686, 3843808], [1, 3843564, 3843686], [1, 3843442, 3843564], [1, 3843320, 3843442], [1, 3843197, 3843320], [0, 3843075, 3843197], [0, 3842953, 3843075], [0, 3842831, 3842953]]] +3842831-3843808 i2c: ['DATA WRITE', 31] +3843808-3843930 i2c: ['ACK', None] +3843930-3844907 i2c: ['BITS', [[0, 3844785, 3844907], [0, 3844663, 3844785], [0, 3844541, 3844663], [1, 3844419, 3844541], [1, 3844297, 3844419], [0, 3844174, 3844297], [0, 3844052, 3844174], [0, 3843930, 3844052]]] +3843930-3844907 i2c: ['DATA WRITE', 24] +3844907-3845029 i2c: ['ACK', None] +3845029-3846006 i2c: ['BITS', [[0, 3845884, 3846006], [0, 3845762, 3845884], [0, 3845640, 3845762], [0, 3845518, 3845640], [0, 3845396, 3845518], [0, 3845274, 3845396], [0, 3845152, 3845274], [0, 3845029, 3845152]]] +3845029-3846006 i2c: ['DATA WRITE', 0] +3846006-3846128 i2c: ['ACK', None] +3846129-3847107 i2c: ['BITS', [[0, 3846984, 3847107], [0, 3846861, 3846984], [0, 3846739, 3846861], [0, 3846617, 3846739], [0, 3846495, 3846617], [0, 3846373, 3846495], [0, 3846251, 3846373], [0, 3846129, 3846251]]] +3846129-3847107 i2c: ['DATA WRITE', 0] +3847106-3847229 i2c: ['ACK', None] +3847228-3848205 i2c: ['BITS', [[0, 3848083, 3848205], [0, 3847961, 3848083], [0, 3847838, 3847961], [0, 3847716, 3847838], [0, 3847594, 3847716], [0, 3847472, 3847594], [0, 3847350, 3847472], [0, 3847228, 3847350]]] +3847228-3848205 i2c: ['DATA WRITE', 0] +3848205-3848327 i2c: ['ACK', None] +3848327-3849304 i2c: ['BITS', [[0, 3849182, 3849304], [0, 3849060, 3849182], [0, 3848938, 3849060], [0, 3848816, 3848938], [0, 3848693, 3848816], [0, 3848571, 3848693], [0, 3848449, 3848571], [0, 3848327, 3848449]]] +3848327-3849304 i2c: ['DATA WRITE', 0] +3849304-3849426 i2c: ['ACK', None] +3849426-3850403 i2c: ['BITS', [[0, 3850281, 3850403], [0, 3850159, 3850281], [0, 3850037, 3850159], [0, 3849915, 3850037], [0, 3849793, 3849915], [0, 3849670, 3849793], [0, 3849548, 3849670], [0, 3849426, 3849548]]] +3849426-3850403 i2c: ['DATA WRITE', 0] +3850403-3850525 i2c: ['ACK', None] +3850525-3851502 i2c: ['BITS', [[0, 3851380, 3851502], [0, 3851258, 3851380], [0, 3851136, 3851258], [0, 3851014, 3851136], [0, 3850892, 3851014], [0, 3850770, 3850892], [0, 3850648, 3850770], [0, 3850525, 3850648]]] +3850525-3851502 i2c: ['DATA WRITE', 0] +3851502-3851624 i2c: ['ACK', None] +3851625-3852603 i2c: ['BITS', [[0, 3852480, 3852603], [0, 3852357, 3852480], [0, 3852235, 3852357], [0, 3852113, 3852235], [0, 3851991, 3852113], [0, 3851869, 3851991], [0, 3851747, 3851869], [0, 3851625, 3851747]]] +3851625-3852603 i2c: ['DATA WRITE', 0] +3852602-3852725 i2c: ['ACK', None] +3852724-3853701 i2c: ['BITS', [[0, 3853579, 3853701], [0, 3853457, 3853579], [0, 3853334, 3853457], [0, 3853212, 3853334], [0, 3853090, 3853212], [0, 3852968, 3853090], [0, 3852846, 3852968], [0, 3852724, 3852846]]] +3852724-3853701 i2c: ['DATA WRITE', 0] +3853701-3853823 i2c: ['ACK', None] +3853823-3854800 i2c: ['BITS', [[0, 3854678, 3854800], [0, 3854556, 3854678], [0, 3854434, 3854556], [0, 3854312, 3854434], [0, 3854189, 3854312], [0, 3854067, 3854189], [0, 3853945, 3854067], [0, 3853823, 3853945]]] +3853823-3854800 i2c: ['DATA WRITE', 0] +3854800-3854922 i2c: ['ACK', None] +3854950-3854950 i2c: ['STOP', None] diff --git a/decoder/test/i2c/rtc_ds1307_200khz.output b/decoder/test/i2c/rtc_ds1307_200khz.output new file mode 100644 index 0000000..f0695fb --- /dev/null +++ b/decoder/test/i2c/rtc_ds1307_200khz.output @@ -0,0 +1,828 @@ +0-0 i2c: start: "Start" "S" +16-18 i2c: bit: "0" +14-16 i2c: bit: "0" +12-14 i2c: bit: "0" +10-12 i2c: bit: "0" +8-10 i2c: bit: "1" +6-8 i2c: bit: "0" +4-6 i2c: bit: "1" +2-4 i2c: bit: "1" +16-18 i2c: address-write: "Write" "Wr" "W" +2-16 i2c: address-write: "Address write: 68" "AW: 68" "68" +18-20 i2c: ack: "ACK" "A" +39-41 i2c: bit: "0" +37-39 i2c: bit: "0" +35-37 i2c: bit: "0" +33-35 i2c: bit: "0" +31-33 i2c: bit: "0" +29-31 i2c: bit: "0" +27-29 i2c: bit: "0" +25-27 i2c: bit: "0" +25-41 i2c: data-write: "Data write: 00" "DW: 00" "00" +41-43 i2c: ack: "ACK" "A" +57-59 i2c: bit: "0" +55-57 i2c: bit: "0" +53-55 i2c: bit: "0" +51-53 i2c: bit: "0" +49-51 i2c: bit: "1" +47-49 i2c: bit: "1" +45-47 i2c: bit: "0" +43-45 i2c: bit: "0" +43-59 i2c: data-write: "Data write: 30" "DW: 30" "30" +59-61 i2c: ack: "ACK" "A" +75-77 i2c: bit: "1" +73-75 i2c: bit: "0" +71-73 i2c: bit: "1" +69-71 i2c: bit: "0" +67-69 i2c: bit: "1" +65-67 i2c: bit: "1" +63-65 i2c: bit: "0" +61-63 i2c: bit: "0" +61-77 i2c: data-write: "Data write: 35" "DW: 35" "35" +77-79 i2c: ack: "ACK" "A" +93-95 i2c: bit: "1" +91-93 i2c: bit: "1" +89-91 i2c: bit: "0" +87-89 i2c: bit: "0" +85-87 i2c: bit: "0" +83-85 i2c: bit: "1" +81-83 i2c: bit: "0" +79-81 i2c: bit: "0" +79-95 i2c: data-write: "Data write: 23" "DW: 23" "23" +95-97 i2c: ack: "ACK" "A" +111-113 i2c: bit: "1" +109-111 i2c: bit: "0" +107-109 i2c: bit: "0" +105-107 i2c: bit: "0" +103-105 i2c: bit: "0" +101-103 i2c: bit: "0" +99-101 i2c: bit: "0" +97-99 i2c: bit: "0" +97-113 i2c: data-write: "Data write: 01" "DW: 01" "01" +113-115 i2c: ack: "ACK" "A" +129-131 i2c: bit: "0" +127-129 i2c: bit: "0" +125-127 i2c: bit: "0" +123-125 i2c: bit: "0" +121-123 i2c: bit: "1" +119-121 i2c: bit: "0" +117-119 i2c: bit: "0" +115-117 i2c: bit: "0" +115-131 i2c: data-write: "Data write: 10" "DW: 10" "10" +131-133 i2c: ack: "ACK" "A" +147-149 i2c: bit: "1" +145-147 i2c: bit: "1" +143-145 i2c: bit: "0" +141-143 i2c: bit: "0" +139-141 i2c: bit: "0" +137-139 i2c: bit: "0" +135-137 i2c: bit: "0" +133-135 i2c: bit: "0" +133-149 i2c: data-write: "Data write: 03" "DW: 03" "03" +149-151 i2c: ack: "ACK" "A" +165-167 i2c: bit: "1" +163-165 i2c: bit: "1" +161-163 i2c: bit: "0" +159-161 i2c: bit: "0" +157-159 i2c: bit: "1" +155-157 i2c: bit: "0" +153-155 i2c: bit: "0" +151-153 i2c: bit: "0" +151-167 i2c: data-write: "Data write: 13" "DW: 13" "13" +167-169 i2c: ack: "ACK" "A" +171-171 i2c: stop: "Stop" "P" +253-253 i2c: start: "Start" "S" +269-271 i2c: bit: "0" +267-269 i2c: bit: "0" +265-267 i2c: bit: "0" +263-265 i2c: bit: "0" +261-263 i2c: bit: "1" +259-261 i2c: bit: "0" +257-259 i2c: bit: "1" +255-257 i2c: bit: "1" +269-271 i2c: address-write: "Write" "Wr" "W" +255-269 i2c: address-write: "Address write: 68" "AW: 68" "68" +271-273 i2c: ack: "ACK" "A" +287-289 i2c: bit: "0" +285-287 i2c: bit: "0" +283-285 i2c: bit: "0" +281-283 i2c: bit: "0" +279-281 i2c: bit: "0" +277-279 i2c: bit: "0" +275-277 i2c: bit: "0" +273-275 i2c: bit: "0" +273-289 i2c: data-write: "Data write: 00" "DW: 00" "00" +289-291 i2c: ack: "ACK" "A" +323-323 i2c: repeat-start: "Start repeat" "Sr" +339-341 i2c: bit: "1" +337-339 i2c: bit: "0" +335-337 i2c: bit: "0" +333-335 i2c: bit: "0" +331-333 i2c: bit: "1" +329-331 i2c: bit: "0" +327-329 i2c: bit: "1" +325-327 i2c: bit: "1" +339-341 i2c: address-read: "Read" "Rd" "R" +325-339 i2c: address-read: "Address read: 68" "AR: 68" "68" +341-343 i2c: ack: "ACK" "A" +357-359 i2c: bit: "0" +355-357 i2c: bit: "0" +353-355 i2c: bit: "0" +351-353 i2c: bit: "0" +349-351 i2c: bit: "1" +347-349 i2c: bit: "1" +345-347 i2c: bit: "0" +343-345 i2c: bit: "0" +343-359 i2c: data-read: "Data read: 30" "DR: 30" "30" +359-361 i2c: ack: "ACK" "A" +375-377 i2c: bit: "1" +373-375 i2c: bit: "0" +371-373 i2c: bit: "1" +369-371 i2c: bit: "0" +367-369 i2c: bit: "1" +365-367 i2c: bit: "1" +363-365 i2c: bit: "0" +361-363 i2c: bit: "0" +361-377 i2c: data-read: "Data read: 35" "DR: 35" "35" +377-379 i2c: ack: "ACK" "A" +393-395 i2c: bit: "1" +391-393 i2c: bit: "1" +389-391 i2c: bit: "0" +387-389 i2c: bit: "0" +385-387 i2c: bit: "0" +383-385 i2c: bit: "1" +381-383 i2c: bit: "0" +379-381 i2c: bit: "0" +379-395 i2c: data-read: "Data read: 23" "DR: 23" "23" +395-397 i2c: ack: "ACK" "A" +411-413 i2c: bit: "1" +409-411 i2c: bit: "0" +407-409 i2c: bit: "0" +405-407 i2c: bit: "0" +403-405 i2c: bit: "0" +401-403 i2c: bit: "0" +399-401 i2c: bit: "0" +397-399 i2c: bit: "0" +397-413 i2c: data-read: "Data read: 01" "DR: 01" "01" +413-415 i2c: ack: "ACK" "A" +429-431 i2c: bit: "0" +427-429 i2c: bit: "0" +425-427 i2c: bit: "0" +423-425 i2c: bit: "0" +421-423 i2c: bit: "1" +419-421 i2c: bit: "0" +417-419 i2c: bit: "0" +415-417 i2c: bit: "0" +415-431 i2c: data-read: "Data read: 10" "DR: 10" "10" +431-433 i2c: ack: "ACK" "A" +447-449 i2c: bit: "1" +445-447 i2c: bit: "1" +443-445 i2c: bit: "0" +441-443 i2c: bit: "0" +439-441 i2c: bit: "0" +437-439 i2c: bit: "0" +435-437 i2c: bit: "0" +433-435 i2c: bit: "0" +433-449 i2c: data-read: "Data read: 03" "DR: 03" "03" +449-451 i2c: ack: "ACK" "A" +465-467 i2c: bit: "1" +463-465 i2c: bit: "1" +461-463 i2c: bit: "0" +459-461 i2c: bit: "0" +457-459 i2c: bit: "1" +455-457 i2c: bit: "0" +453-455 i2c: bit: "0" +451-453 i2c: bit: "0" +451-467 i2c: data-read: "Data read: 13" "DR: 13" "13" +467-469 i2c: nack: "NACK" "N" +471-471 i2c: stop: "Stop" "P" +3548-3548 i2c: start: "Start" "S" +3564-3566 i2c: bit: "0" +3562-3564 i2c: bit: "0" +3560-3562 i2c: bit: "0" +3558-3560 i2c: bit: "0" +3556-3558 i2c: bit: "1" +3554-3556 i2c: bit: "0" +3552-3554 i2c: bit: "1" +3550-3552 i2c: bit: "1" +3564-3566 i2c: address-write: "Write" "Wr" "W" +3550-3564 i2c: address-write: "Address write: 68" "AW: 68" "68" +3566-3568 i2c: ack: "ACK" "A" +3582-3584 i2c: bit: "0" +3580-3582 i2c: bit: "0" +3578-3580 i2c: bit: "0" +3576-3578 i2c: bit: "0" +3574-3576 i2c: bit: "0" +3572-3574 i2c: bit: "0" +3570-3572 i2c: bit: "0" +3568-3570 i2c: bit: "0" +3568-3584 i2c: data-write: "Data write: 00" "DW: 00" "00" +3584-3586 i2c: ack: "ACK" "A" +3608-3608 i2c: repeat-start: "Start repeat" "Sr" +3624-3626 i2c: bit: "1" +3622-3624 i2c: bit: "0" +3620-3622 i2c: bit: "0" +3618-3620 i2c: bit: "0" +3616-3618 i2c: bit: "1" +3614-3616 i2c: bit: "0" +3612-3614 i2c: bit: "1" +3610-3612 i2c: bit: "1" +3624-3626 i2c: address-read: "Read" "Rd" "R" +3610-3624 i2c: address-read: "Address read: 68" "AR: 68" "68" +3626-3628 i2c: ack: "ACK" "A" +3642-3644 i2c: bit: "0" +3640-3642 i2c: bit: "0" +3638-3640 i2c: bit: "0" +3636-3638 i2c: bit: "0" +3634-3636 i2c: bit: "1" +3632-3634 i2c: bit: "1" +3630-3632 i2c: bit: "0" +3628-3630 i2c: bit: "0" +3628-3644 i2c: data-read: "Data read: 30" "DR: 30" "30" +3644-3646 i2c: ack: "ACK" "A" +3660-3662 i2c: bit: "1" +3658-3660 i2c: bit: "0" +3656-3658 i2c: bit: "1" +3654-3656 i2c: bit: "0" +3652-3654 i2c: bit: "1" +3650-3652 i2c: bit: "1" +3648-3650 i2c: bit: "0" +3646-3648 i2c: bit: "0" +3646-3662 i2c: data-read: "Data read: 35" "DR: 35" "35" +3662-3664 i2c: ack: "ACK" "A" +3678-3680 i2c: bit: "1" +3676-3678 i2c: bit: "1" +3674-3676 i2c: bit: "0" +3672-3674 i2c: bit: "0" +3670-3672 i2c: bit: "0" +3668-3670 i2c: bit: "1" +3666-3668 i2c: bit: "0" +3664-3666 i2c: bit: "0" +3664-3680 i2c: data-read: "Data read: 23" "DR: 23" "23" +3680-3682 i2c: ack: "ACK" "A" +3696-3698 i2c: bit: "1" +3694-3696 i2c: bit: "0" +3692-3694 i2c: bit: "0" +3690-3692 i2c: bit: "0" +3688-3690 i2c: bit: "0" +3686-3688 i2c: bit: "0" +3684-3686 i2c: bit: "0" +3682-3684 i2c: bit: "0" +3682-3698 i2c: data-read: "Data read: 01" "DR: 01" "01" +3698-3700 i2c: ack: "ACK" "A" +3714-3716 i2c: bit: "0" +3712-3714 i2c: bit: "0" +3710-3712 i2c: bit: "0" +3708-3710 i2c: bit: "0" +3706-3708 i2c: bit: "1" +3704-3706 i2c: bit: "0" +3702-3704 i2c: bit: "0" +3700-3702 i2c: bit: "0" +3700-3716 i2c: data-read: "Data read: 10" "DR: 10" "10" +3716-3718 i2c: ack: "ACK" "A" +3732-3734 i2c: bit: "1" +3730-3732 i2c: bit: "1" +3728-3730 i2c: bit: "0" +3726-3728 i2c: bit: "0" +3724-3726 i2c: bit: "0" +3722-3724 i2c: bit: "0" +3720-3722 i2c: bit: "0" +3718-3720 i2c: bit: "0" +3718-3734 i2c: data-read: "Data read: 03" "DR: 03" "03" +3734-3736 i2c: ack: "ACK" "A" +3750-3752 i2c: bit: "1" +3748-3750 i2c: bit: "1" +3746-3748 i2c: bit: "0" +3744-3746 i2c: bit: "0" +3742-3744 i2c: bit: "1" +3740-3742 i2c: bit: "0" +3738-3740 i2c: bit: "0" +3736-3738 i2c: bit: "0" +3736-3752 i2c: data-read: "Data read: 13" "DR: 13" "13" +3752-3754 i2c: nack: "NACK" "N" +3756-3756 i2c: stop: "Stop" "P" +7470-7470 i2c: start: "Start" "S" +7486-7488 i2c: bit: "0" +7484-7486 i2c: bit: "0" +7482-7484 i2c: bit: "0" +7480-7482 i2c: bit: "0" +7478-7480 i2c: bit: "1" +7476-7478 i2c: bit: "0" +7474-7476 i2c: bit: "1" +7472-7474 i2c: bit: "1" +7486-7488 i2c: address-write: "Write" "Wr" "W" +7472-7486 i2c: address-write: "Address write: 68" "AW: 68" "68" +7488-7490 i2c: ack: "ACK" "A" +7504-7506 i2c: bit: "0" +7502-7504 i2c: bit: "0" +7500-7502 i2c: bit: "0" +7498-7500 i2c: bit: "0" +7496-7498 i2c: bit: "0" +7494-7496 i2c: bit: "0" +7492-7494 i2c: bit: "0" +7490-7492 i2c: bit: "0" +7490-7506 i2c: data-write: "Data write: 00" "DW: 00" "00" +7506-7508 i2c: ack: "ACK" "A" +7529-7529 i2c: repeat-start: "Start repeat" "Sr" +7545-7547 i2c: bit: "1" +7543-7545 i2c: bit: "0" +7541-7543 i2c: bit: "0" +7539-7541 i2c: bit: "0" +7537-7539 i2c: bit: "1" +7535-7537 i2c: bit: "0" +7533-7535 i2c: bit: "1" +7531-7533 i2c: bit: "1" +7545-7547 i2c: address-read: "Read" "Rd" "R" +7531-7545 i2c: address-read: "Address read: 68" "AR: 68" "68" +7547-7549 i2c: ack: "ACK" "A" +7563-7565 i2c: bit: "0" +7561-7563 i2c: bit: "0" +7559-7561 i2c: bit: "0" +7557-7559 i2c: bit: "0" +7555-7557 i2c: bit: "1" +7553-7555 i2c: bit: "1" +7551-7553 i2c: bit: "0" +7549-7551 i2c: bit: "0" +7549-7565 i2c: data-read: "Data read: 30" "DR: 30" "30" +7565-7567 i2c: ack: "ACK" "A" +7581-7583 i2c: bit: "1" +7579-7581 i2c: bit: "0" +7577-7579 i2c: bit: "1" +7575-7577 i2c: bit: "0" +7573-7575 i2c: bit: "1" +7571-7573 i2c: bit: "1" +7569-7571 i2c: bit: "0" +7567-7569 i2c: bit: "0" +7567-7583 i2c: data-read: "Data read: 35" "DR: 35" "35" +7583-7585 i2c: ack: "ACK" "A" +7599-7601 i2c: bit: "1" +7597-7599 i2c: bit: "1" +7595-7597 i2c: bit: "0" +7593-7595 i2c: bit: "0" +7591-7593 i2c: bit: "0" +7589-7591 i2c: bit: "1" +7587-7589 i2c: bit: "0" +7585-7587 i2c: bit: "0" +7585-7601 i2c: data-read: "Data read: 23" "DR: 23" "23" +7601-7603 i2c: ack: "ACK" "A" +7617-7619 i2c: bit: "1" +7615-7617 i2c: bit: "0" +7613-7615 i2c: bit: "0" +7611-7613 i2c: bit: "0" +7609-7611 i2c: bit: "0" +7607-7609 i2c: bit: "0" +7605-7607 i2c: bit: "0" +7603-7605 i2c: bit: "0" +7603-7619 i2c: data-read: "Data read: 01" "DR: 01" "01" +7619-7621 i2c: ack: "ACK" "A" +7635-7637 i2c: bit: "0" +7633-7635 i2c: bit: "0" +7631-7633 i2c: bit: "0" +7629-7631 i2c: bit: "0" +7627-7629 i2c: bit: "1" +7625-7627 i2c: bit: "0" +7623-7625 i2c: bit: "0" +7621-7623 i2c: bit: "0" +7621-7637 i2c: data-read: "Data read: 10" "DR: 10" "10" +7637-7639 i2c: ack: "ACK" "A" +7653-7655 i2c: bit: "1" +7651-7653 i2c: bit: "1" +7649-7651 i2c: bit: "0" +7647-7649 i2c: bit: "0" +7645-7647 i2c: bit: "0" +7643-7645 i2c: bit: "0" +7641-7643 i2c: bit: "0" +7639-7641 i2c: bit: "0" +7639-7655 i2c: data-read: "Data read: 03" "DR: 03" "03" +7655-7657 i2c: ack: "ACK" "A" +7671-7673 i2c: bit: "1" +7669-7671 i2c: bit: "1" +7667-7669 i2c: bit: "0" +7665-7667 i2c: bit: "0" +7663-7665 i2c: bit: "1" +7661-7663 i2c: bit: "0" +7659-7661 i2c: bit: "0" +7657-7659 i2c: bit: "0" +7657-7673 i2c: data-read: "Data read: 13" "DR: 13" "13" +7673-7675 i2c: nack: "NACK" "N" +7677-7677 i2c: stop: "Stop" "P" +11405-11405 i2c: start: "Start" "S" +11422-11424 i2c: bit: "0" +11420-11422 i2c: bit: "0" +11418-11420 i2c: bit: "0" +11416-11418 i2c: bit: "0" +11414-11416 i2c: bit: "1" +11412-11414 i2c: bit: "0" +11410-11412 i2c: bit: "1" +11408-11410 i2c: bit: "1" +11422-11424 i2c: address-write: "Write" "Wr" "W" +11408-11422 i2c: address-write: "Address write: 68" "AW: 68" "68" +11424-11426 i2c: ack: "ACK" "A" +11440-11442 i2c: bit: "0" +11438-11440 i2c: bit: "0" +11436-11438 i2c: bit: "0" +11434-11436 i2c: bit: "0" +11432-11434 i2c: bit: "0" +11430-11432 i2c: bit: "0" +11428-11430 i2c: bit: "0" +11426-11428 i2c: bit: "0" +11426-11442 i2c: data-write: "Data write: 00" "DW: 00" "00" +11442-11444 i2c: ack: "ACK" "A" +11466-11466 i2c: repeat-start: "Start repeat" "Sr" +11482-11484 i2c: bit: "1" +11480-11482 i2c: bit: "0" +11478-11480 i2c: bit: "0" +11476-11478 i2c: bit: "0" +11474-11476 i2c: bit: "1" +11472-11474 i2c: bit: "0" +11470-11472 i2c: bit: "1" +11468-11470 i2c: bit: "1" +11482-11484 i2c: address-read: "Read" "Rd" "R" +11468-11482 i2c: address-read: "Address read: 68" "AR: 68" "68" +11484-11486 i2c: ack: "ACK" "A" +11500-11502 i2c: bit: "0" +11498-11500 i2c: bit: "0" +11496-11498 i2c: bit: "0" +11494-11496 i2c: bit: "0" +11492-11494 i2c: bit: "1" +11490-11492 i2c: bit: "1" +11488-11490 i2c: bit: "0" +11486-11488 i2c: bit: "0" +11486-11502 i2c: data-read: "Data read: 30" "DR: 30" "30" +11502-11504 i2c: ack: "ACK" "A" +11518-11520 i2c: bit: "1" +11516-11518 i2c: bit: "0" +11514-11516 i2c: bit: "1" +11512-11514 i2c: bit: "0" +11510-11512 i2c: bit: "1" +11508-11510 i2c: bit: "1" +11506-11508 i2c: bit: "0" +11504-11506 i2c: bit: "0" +11504-11520 i2c: data-read: "Data read: 35" "DR: 35" "35" +11520-11522 i2c: ack: "ACK" "A" +11536-11538 i2c: bit: "1" +11534-11536 i2c: bit: "1" +11532-11534 i2c: bit: "0" +11530-11532 i2c: bit: "0" +11528-11530 i2c: bit: "0" +11526-11528 i2c: bit: "1" +11524-11526 i2c: bit: "0" +11522-11524 i2c: bit: "0" +11522-11538 i2c: data-read: "Data read: 23" "DR: 23" "23" +11538-11540 i2c: ack: "ACK" "A" +11554-11556 i2c: bit: "1" +11552-11554 i2c: bit: "0" +11550-11552 i2c: bit: "0" +11548-11550 i2c: bit: "0" +11546-11548 i2c: bit: "0" +11544-11546 i2c: bit: "0" +11542-11544 i2c: bit: "0" +11540-11542 i2c: bit: "0" +11540-11556 i2c: data-read: "Data read: 01" "DR: 01" "01" +11556-11558 i2c: ack: "ACK" "A" +11572-11574 i2c: bit: "0" +11570-11572 i2c: bit: "0" +11568-11570 i2c: bit: "0" +11566-11568 i2c: bit: "0" +11564-11566 i2c: bit: "1" +11562-11564 i2c: bit: "0" +11560-11562 i2c: bit: "0" +11558-11560 i2c: bit: "0" +11558-11574 i2c: data-read: "Data read: 10" "DR: 10" "10" +11574-11576 i2c: ack: "ACK" "A" +11590-11592 i2c: bit: "1" +11588-11590 i2c: bit: "1" +11586-11588 i2c: bit: "0" +11584-11586 i2c: bit: "0" +11582-11584 i2c: bit: "0" +11580-11582 i2c: bit: "0" +11578-11580 i2c: bit: "0" +11576-11578 i2c: bit: "0" +11576-11592 i2c: data-read: "Data read: 03" "DR: 03" "03" +11592-11594 i2c: ack: "ACK" "A" +11608-11610 i2c: bit: "1" +11606-11608 i2c: bit: "1" +11604-11606 i2c: bit: "0" +11602-11604 i2c: bit: "0" +11600-11602 i2c: bit: "1" +11598-11600 i2c: bit: "0" +11596-11598 i2c: bit: "0" +11594-11596 i2c: bit: "0" +11594-11610 i2c: data-read: "Data read: 13" "DR: 13" "13" +11610-11612 i2c: nack: "NACK" "N" +11614-11614 i2c: stop: "Stop" "P" +15332-15332 i2c: start: "Start" "S" +15348-15350 i2c: bit: "0" +15346-15348 i2c: bit: "0" +15344-15346 i2c: bit: "0" +15342-15344 i2c: bit: "0" +15340-15342 i2c: bit: "1" +15338-15340 i2c: bit: "0" +15336-15338 i2c: bit: "1" +15334-15336 i2c: bit: "1" +15348-15350 i2c: address-write: "Write" "Wr" "W" +15334-15348 i2c: address-write: "Address write: 68" "AW: 68" "68" +15350-15352 i2c: ack: "ACK" "A" +15366-15368 i2c: bit: "0" +15364-15366 i2c: bit: "0" +15362-15364 i2c: bit: "0" +15360-15362 i2c: bit: "0" +15358-15360 i2c: bit: "0" +15356-15358 i2c: bit: "0" +15354-15356 i2c: bit: "0" +15352-15354 i2c: bit: "0" +15352-15368 i2c: data-write: "Data write: 00" "DW: 00" "00" +15368-15370 i2c: ack: "ACK" "A" +15400-15400 i2c: repeat-start: "Start repeat" "Sr" +15416-15418 i2c: bit: "1" +15414-15416 i2c: bit: "0" +15412-15414 i2c: bit: "0" +15410-15412 i2c: bit: "0" +15408-15410 i2c: bit: "1" +15406-15408 i2c: bit: "0" +15404-15406 i2c: bit: "1" +15402-15404 i2c: bit: "1" +15416-15418 i2c: address-read: "Read" "Rd" "R" +15402-15416 i2c: address-read: "Address read: 68" "AR: 68" "68" +15418-15420 i2c: ack: "ACK" "A" +15434-15436 i2c: bit: "0" +15432-15434 i2c: bit: "0" +15430-15432 i2c: bit: "0" +15428-15430 i2c: bit: "0" +15426-15428 i2c: bit: "1" +15424-15426 i2c: bit: "1" +15422-15424 i2c: bit: "0" +15420-15422 i2c: bit: "0" +15420-15436 i2c: data-read: "Data read: 30" "DR: 30" "30" +15436-15438 i2c: ack: "ACK" "A" +15452-15454 i2c: bit: "1" +15450-15452 i2c: bit: "0" +15448-15450 i2c: bit: "1" +15446-15448 i2c: bit: "0" +15444-15446 i2c: bit: "1" +15442-15444 i2c: bit: "1" +15440-15442 i2c: bit: "0" +15438-15440 i2c: bit: "0" +15438-15454 i2c: data-read: "Data read: 35" "DR: 35" "35" +15454-15456 i2c: ack: "ACK" "A" +15470-15472 i2c: bit: "1" +15468-15470 i2c: bit: "1" +15466-15468 i2c: bit: "0" +15464-15466 i2c: bit: "0" +15462-15464 i2c: bit: "0" +15460-15462 i2c: bit: "1" +15458-15460 i2c: bit: "0" +15456-15458 i2c: bit: "0" +15456-15472 i2c: data-read: "Data read: 23" "DR: 23" "23" +15472-15474 i2c: ack: "ACK" "A" +15488-15490 i2c: bit: "1" +15486-15488 i2c: bit: "0" +15484-15486 i2c: bit: "0" +15482-15484 i2c: bit: "0" +15480-15482 i2c: bit: "0" +15478-15480 i2c: bit: "0" +15476-15478 i2c: bit: "0" +15474-15476 i2c: bit: "0" +15474-15490 i2c: data-read: "Data read: 01" "DR: 01" "01" +15490-15492 i2c: ack: "ACK" "A" +15506-15508 i2c: bit: "0" +15504-15506 i2c: bit: "0" +15502-15504 i2c: bit: "0" +15500-15502 i2c: bit: "0" +15498-15500 i2c: bit: "1" +15496-15498 i2c: bit: "0" +15494-15496 i2c: bit: "0" +15492-15494 i2c: bit: "0" +15492-15508 i2c: data-read: "Data read: 10" "DR: 10" "10" +15508-15510 i2c: ack: "ACK" "A" +15524-15526 i2c: bit: "1" +15522-15524 i2c: bit: "1" +15520-15522 i2c: bit: "0" +15518-15520 i2c: bit: "0" +15516-15518 i2c: bit: "0" +15514-15516 i2c: bit: "0" +15512-15514 i2c: bit: "0" +15510-15512 i2c: bit: "0" +15510-15526 i2c: data-read: "Data read: 03" "DR: 03" "03" +15526-15528 i2c: ack: "ACK" "A" +15542-15544 i2c: bit: "1" +15540-15542 i2c: bit: "1" +15538-15540 i2c: bit: "0" +15536-15538 i2c: bit: "0" +15534-15536 i2c: bit: "1" +15532-15534 i2c: bit: "0" +15530-15532 i2c: bit: "0" +15528-15530 i2c: bit: "0" +15528-15544 i2c: data-read: "Data read: 13" "DR: 13" "13" +15544-15546 i2c: nack: "NACK" "N" +15548-15548 i2c: stop: "Stop" "P" +19253-19253 i2c: start: "Start" "S" +19269-19271 i2c: bit: "0" +19267-19269 i2c: bit: "0" +19265-19267 i2c: bit: "0" +19263-19265 i2c: bit: "0" +19261-19263 i2c: bit: "1" +19259-19261 i2c: bit: "0" +19257-19259 i2c: bit: "1" +19255-19257 i2c: bit: "1" +19269-19271 i2c: address-write: "Write" "Wr" "W" +19255-19269 i2c: address-write: "Address write: 68" "AW: 68" "68" +19271-19273 i2c: ack: "ACK" "A" +19288-19290 i2c: bit: "0" +19286-19288 i2c: bit: "0" +19284-19286 i2c: bit: "0" +19282-19284 i2c: bit: "0" +19280-19282 i2c: bit: "0" +19278-19280 i2c: bit: "0" +19276-19278 i2c: bit: "0" +19274-19276 i2c: bit: "0" +19274-19290 i2c: data-write: "Data write: 00" "DW: 00" "00" +19290-19292 i2c: ack: "ACK" "A" +19359-19359 i2c: repeat-start: "Start repeat" "Sr" +19375-19377 i2c: bit: "1" +19373-19375 i2c: bit: "0" +19371-19373 i2c: bit: "0" +19369-19371 i2c: bit: "0" +19367-19369 i2c: bit: "1" +19365-19367 i2c: bit: "0" +19363-19365 i2c: bit: "1" +19361-19363 i2c: bit: "1" +19375-19377 i2c: address-read: "Read" "Rd" "R" +19361-19375 i2c: address-read: "Address read: 68" "AR: 68" "68" +19377-19379 i2c: ack: "ACK" "A" +19393-19395 i2c: bit: "0" +19391-19393 i2c: bit: "0" +19389-19391 i2c: bit: "0" +19387-19389 i2c: bit: "0" +19385-19387 i2c: bit: "1" +19383-19385 i2c: bit: "1" +19381-19383 i2c: bit: "0" +19379-19381 i2c: bit: "0" +19379-19395 i2c: data-read: "Data read: 30" "DR: 30" "30" +19395-19397 i2c: ack: "ACK" "A" +19411-19413 i2c: bit: "1" +19409-19411 i2c: bit: "0" +19407-19409 i2c: bit: "1" +19405-19407 i2c: bit: "0" +19403-19405 i2c: bit: "1" +19401-19403 i2c: bit: "1" +19399-19401 i2c: bit: "0" +19397-19399 i2c: bit: "0" +19397-19413 i2c: data-read: "Data read: 35" "DR: 35" "35" +19413-19415 i2c: ack: "ACK" "A" +19429-19431 i2c: bit: "1" +19427-19429 i2c: bit: "1" +19425-19427 i2c: bit: "0" +19423-19425 i2c: bit: "0" +19421-19423 i2c: bit: "0" +19419-19421 i2c: bit: "1" +19417-19419 i2c: bit: "0" +19415-19417 i2c: bit: "0" +19415-19431 i2c: data-read: "Data read: 23" "DR: 23" "23" +19431-19433 i2c: ack: "ACK" "A" +19447-19449 i2c: bit: "1" +19445-19447 i2c: bit: "0" +19443-19445 i2c: bit: "0" +19441-19443 i2c: bit: "0" +19439-19441 i2c: bit: "0" +19437-19439 i2c: bit: "0" +19435-19437 i2c: bit: "0" +19433-19435 i2c: bit: "0" +19433-19449 i2c: data-read: "Data read: 01" "DR: 01" "01" +19449-19451 i2c: ack: "ACK" "A" +19465-19467 i2c: bit: "0" +19463-19465 i2c: bit: "0" +19461-19463 i2c: bit: "0" +19459-19461 i2c: bit: "0" +19457-19459 i2c: bit: "1" +19455-19457 i2c: bit: "0" +19453-19455 i2c: bit: "0" +19451-19453 i2c: bit: "0" +19451-19467 i2c: data-read: "Data read: 10" "DR: 10" "10" +19467-19469 i2c: ack: "ACK" "A" +19483-19485 i2c: bit: "1" +19481-19483 i2c: bit: "1" +19479-19481 i2c: bit: "0" +19477-19479 i2c: bit: "0" +19475-19477 i2c: bit: "0" +19473-19475 i2c: bit: "0" +19471-19473 i2c: bit: "0" +19469-19471 i2c: bit: "0" +19469-19485 i2c: data-read: "Data read: 03" "DR: 03" "03" +19485-19487 i2c: ack: "ACK" "A" +19501-19503 i2c: bit: "1" +19499-19501 i2c: bit: "1" +19497-19499 i2c: bit: "0" +19495-19497 i2c: bit: "0" +19493-19495 i2c: bit: "1" +19491-19493 i2c: bit: "0" +19489-19491 i2c: bit: "0" +19487-19489 i2c: bit: "0" +19487-19503 i2c: data-read: "Data read: 13" "DR: 13" "13" +19503-19505 i2c: nack: "NACK" "N" +19507-19507 i2c: stop: "Stop" "P" +23211-23211 i2c: start: "Start" "S" +23228-23230 i2c: bit: "0" +23226-23228 i2c: bit: "0" +23224-23226 i2c: bit: "0" +23222-23224 i2c: bit: "0" +23220-23222 i2c: bit: "1" +23218-23220 i2c: bit: "0" +23216-23218 i2c: bit: "1" +23214-23216 i2c: bit: "1" +23228-23230 i2c: address-write: "Write" "Wr" "W" +23214-23228 i2c: address-write: "Address write: 68" "AW: 68" "68" +23230-23232 i2c: ack: "ACK" "A" +23279-23281 i2c: bit: "0" +23277-23279 i2c: bit: "0" +23275-23277 i2c: bit: "0" +23273-23275 i2c: bit: "0" +23271-23273 i2c: bit: "0" +23269-23271 i2c: bit: "0" +23267-23269 i2c: bit: "0" +23265-23267 i2c: bit: "0" +23265-23281 i2c: data-write: "Data write: 00" "DW: 00" "00" +23281-23283 i2c: ack: "ACK" "A" +23299-23299 i2c: repeat-start: "Start repeat" "Sr" +23315-23317 i2c: bit: "1" +23313-23315 i2c: bit: "0" +23311-23313 i2c: bit: "0" +23309-23311 i2c: bit: "0" +23307-23309 i2c: bit: "1" +23305-23307 i2c: bit: "0" +23303-23305 i2c: bit: "1" +23301-23303 i2c: bit: "1" +23315-23317 i2c: address-read: "Read" "Rd" "R" +23301-23315 i2c: address-read: "Address read: 68" "AR: 68" "68" +23317-23319 i2c: ack: "ACK" "A" +23333-23335 i2c: bit: "0" +23331-23333 i2c: bit: "0" +23329-23331 i2c: bit: "0" +23327-23329 i2c: bit: "0" +23325-23327 i2c: bit: "1" +23323-23325 i2c: bit: "1" +23321-23323 i2c: bit: "0" +23319-23321 i2c: bit: "0" +23319-23335 i2c: data-read: "Data read: 30" "DR: 30" "30" +23335-23337 i2c: ack: "ACK" "A" +23351-23353 i2c: bit: "1" +23349-23351 i2c: bit: "0" +23347-23349 i2c: bit: "1" +23345-23347 i2c: bit: "0" +23343-23345 i2c: bit: "1" +23341-23343 i2c: bit: "1" +23339-23341 i2c: bit: "0" +23337-23339 i2c: bit: "0" +23337-23353 i2c: data-read: "Data read: 35" "DR: 35" "35" +23353-23355 i2c: ack: "ACK" "A" +23369-23371 i2c: bit: "1" +23367-23369 i2c: bit: "1" +23365-23367 i2c: bit: "0" +23363-23365 i2c: bit: "0" +23361-23363 i2c: bit: "0" +23359-23361 i2c: bit: "1" +23357-23359 i2c: bit: "0" +23355-23357 i2c: bit: "0" +23355-23371 i2c: data-read: "Data read: 23" "DR: 23" "23" +23371-23373 i2c: ack: "ACK" "A" +23387-23389 i2c: bit: "1" +23385-23387 i2c: bit: "0" +23383-23385 i2c: bit: "0" +23381-23383 i2c: bit: "0" +23379-23381 i2c: bit: "0" +23377-23379 i2c: bit: "0" +23375-23377 i2c: bit: "0" +23373-23375 i2c: bit: "0" +23373-23389 i2c: data-read: "Data read: 01" "DR: 01" "01" +23389-23391 i2c: ack: "ACK" "A" +23405-23407 i2c: bit: "0" +23403-23405 i2c: bit: "0" +23401-23403 i2c: bit: "0" +23399-23401 i2c: bit: "0" +23397-23399 i2c: bit: "1" +23395-23397 i2c: bit: "0" +23393-23395 i2c: bit: "0" +23391-23393 i2c: bit: "0" +23391-23407 i2c: data-read: "Data read: 10" "DR: 10" "10" +23407-23409 i2c: ack: "ACK" "A" +23423-23425 i2c: bit: "1" +23421-23423 i2c: bit: "1" +23419-23421 i2c: bit: "0" +23417-23419 i2c: bit: "0" +23415-23417 i2c: bit: "0" +23413-23415 i2c: bit: "0" +23411-23413 i2c: bit: "0" +23409-23411 i2c: bit: "0" +23409-23425 i2c: data-read: "Data read: 03" "DR: 03" "03" +23425-23427 i2c: ack: "ACK" "A" +23441-23443 i2c: bit: "1" +23439-23441 i2c: bit: "1" +23437-23439 i2c: bit: "0" +23435-23437 i2c: bit: "0" +23433-23435 i2c: bit: "1" +23431-23433 i2c: bit: "0" +23429-23431 i2c: bit: "0" +23427-23429 i2c: bit: "0" +23427-23443 i2c: data-read: "Data read: 13" "DR: 13" "13" +23443-23445 i2c: nack: "NACK" "N" +23447-23447 i2c: stop: "Stop" "P" diff --git a/decoder/test/i2c/rtc_ds1307_200khz.python b/decoder/test/i2c/rtc_ds1307_200khz.python new file mode 100644 index 0000000..93744da --- /dev/null +++ b/decoder/test/i2c/rtc_ds1307_200khz.python @@ -0,0 +1,260 @@ +0-0 i2c: ['START', None] +2-18 i2c: ['BITS', [[0, 16, 18], [0, 14, 16], [0, 12, 14], [0, 10, 12], [1, 8, 10], [0, 6, 8], [1, 4, 6], [1, 2, 4]]] +2-18 i2c: ['ADDRESS WRITE', 104] +18-20 i2c: ['ACK', None] +25-41 i2c: ['BITS', [[0, 39, 41], [0, 37, 39], [0, 35, 37], [0, 33, 35], [0, 31, 33], [0, 29, 31], [0, 27, 29], [0, 25, 27]]] +25-41 i2c: ['DATA WRITE', 0] +41-43 i2c: ['ACK', None] +43-59 i2c: ['BITS', [[0, 57, 59], [0, 55, 57], [0, 53, 55], [0, 51, 53], [1, 49, 51], [1, 47, 49], [0, 45, 47], [0, 43, 45]]] +43-59 i2c: ['DATA WRITE', 48] +59-61 i2c: ['ACK', None] +61-77 i2c: ['BITS', [[1, 75, 77], [0, 73, 75], [1, 71, 73], [0, 69, 71], [1, 67, 69], [1, 65, 67], [0, 63, 65], [0, 61, 63]]] +61-77 i2c: ['DATA WRITE', 53] +77-79 i2c: ['ACK', None] +79-95 i2c: ['BITS', [[1, 93, 95], [1, 91, 93], [0, 89, 91], [0, 87, 89], [0, 85, 87], [1, 83, 85], [0, 81, 83], [0, 79, 81]]] +79-95 i2c: ['DATA WRITE', 35] +95-97 i2c: ['ACK', None] +97-113 i2c: ['BITS', [[1, 111, 113], [0, 109, 111], [0, 107, 109], [0, 105, 107], [0, 103, 105], [0, 101, 103], [0, 99, 101], [0, 97, 99]]] +97-113 i2c: ['DATA WRITE', 1] +113-115 i2c: ['ACK', None] +115-131 i2c: ['BITS', [[0, 129, 131], [0, 127, 129], [0, 125, 127], [0, 123, 125], [1, 121, 123], [0, 119, 121], [0, 117, 119], [0, 115, 117]]] +115-131 i2c: ['DATA WRITE', 16] +131-133 i2c: ['ACK', None] +133-149 i2c: ['BITS', [[1, 147, 149], [1, 145, 147], [0, 143, 145], [0, 141, 143], [0, 139, 141], [0, 137, 139], [0, 135, 137], [0, 133, 135]]] +133-149 i2c: ['DATA WRITE', 3] +149-151 i2c: ['ACK', None] +151-167 i2c: ['BITS', [[1, 165, 167], [1, 163, 165], [0, 161, 163], [0, 159, 161], [1, 157, 159], [0, 155, 157], [0, 153, 155], [0, 151, 153]]] +151-167 i2c: ['DATA WRITE', 19] +167-169 i2c: ['ACK', None] +171-171 i2c: ['STOP', None] +253-253 i2c: ['START', None] +255-271 i2c: ['BITS', [[0, 269, 271], [0, 267, 269], [0, 265, 267], [0, 263, 265], [1, 261, 263], [0, 259, 261], [1, 257, 259], [1, 255, 257]]] +255-271 i2c: ['ADDRESS WRITE', 104] +271-273 i2c: ['ACK', None] +273-289 i2c: ['BITS', [[0, 287, 289], [0, 285, 287], [0, 283, 285], [0, 281, 283], [0, 279, 281], [0, 277, 279], [0, 275, 277], [0, 273, 275]]] +273-289 i2c: ['DATA WRITE', 0] +289-291 i2c: ['ACK', None] +323-323 i2c: ['START REPEAT', None] +325-341 i2c: ['BITS', [[1, 339, 341], [0, 337, 339], [0, 335, 337], [0, 333, 335], [1, 331, 333], [0, 329, 331], [1, 327, 329], [1, 325, 327]]] +325-341 i2c: ['ADDRESS READ', 104] +341-343 i2c: ['ACK', None] +343-359 i2c: ['BITS', [[0, 357, 359], [0, 355, 357], [0, 353, 355], [0, 351, 353], [1, 349, 351], [1, 347, 349], [0, 345, 347], [0, 343, 345]]] +343-359 i2c: ['DATA READ', 48] +359-361 i2c: ['ACK', None] +361-377 i2c: ['BITS', [[1, 375, 377], [0, 373, 375], [1, 371, 373], [0, 369, 371], [1, 367, 369], [1, 365, 367], [0, 363, 365], [0, 361, 363]]] +361-377 i2c: ['DATA READ', 53] +377-379 i2c: ['ACK', None] +379-395 i2c: ['BITS', [[1, 393, 395], [1, 391, 393], [0, 389, 391], [0, 387, 389], [0, 385, 387], [1, 383, 385], [0, 381, 383], [0, 379, 381]]] +379-395 i2c: ['DATA READ', 35] +395-397 i2c: ['ACK', None] +397-413 i2c: ['BITS', [[1, 411, 413], [0, 409, 411], [0, 407, 409], [0, 405, 407], [0, 403, 405], [0, 401, 403], [0, 399, 401], [0, 397, 399]]] +397-413 i2c: ['DATA READ', 1] +413-415 i2c: ['ACK', None] +415-431 i2c: ['BITS', [[0, 429, 431], [0, 427, 429], [0, 425, 427], [0, 423, 425], [1, 421, 423], [0, 419, 421], [0, 417, 419], [0, 415, 417]]] +415-431 i2c: ['DATA READ', 16] +431-433 i2c: ['ACK', None] +433-449 i2c: ['BITS', [[1, 447, 449], [1, 445, 447], [0, 443, 445], [0, 441, 443], [0, 439, 441], [0, 437, 439], [0, 435, 437], [0, 433, 435]]] +433-449 i2c: ['DATA READ', 3] +449-451 i2c: ['ACK', None] +451-467 i2c: ['BITS', [[1, 465, 467], [1, 463, 465], [0, 461, 463], [0, 459, 461], [1, 457, 459], [0, 455, 457], [0, 453, 455], [0, 451, 453]]] +451-467 i2c: ['DATA READ', 19] +467-469 i2c: ['NACK', None] +471-471 i2c: ['STOP', None] +3548-3548 i2c: ['START', None] +3550-3566 i2c: ['BITS', [[0, 3564, 3566], [0, 3562, 3564], [0, 3560, 3562], [0, 3558, 3560], [1, 3556, 3558], [0, 3554, 3556], [1, 3552, 3554], [1, 3550, 3552]]] +3550-3566 i2c: ['ADDRESS WRITE', 104] +3566-3568 i2c: ['ACK', None] +3568-3584 i2c: ['BITS', [[0, 3582, 3584], [0, 3580, 3582], [0, 3578, 3580], [0, 3576, 3578], [0, 3574, 3576], [0, 3572, 3574], [0, 3570, 3572], [0, 3568, 3570]]] +3568-3584 i2c: ['DATA WRITE', 0] +3584-3586 i2c: ['ACK', None] +3608-3608 i2c: ['START REPEAT', None] +3610-3626 i2c: ['BITS', [[1, 3624, 3626], [0, 3622, 3624], [0, 3620, 3622], [0, 3618, 3620], [1, 3616, 3618], [0, 3614, 3616], [1, 3612, 3614], [1, 3610, 3612]]] +3610-3626 i2c: ['ADDRESS READ', 104] +3626-3628 i2c: ['ACK', None] +3628-3644 i2c: ['BITS', [[0, 3642, 3644], [0, 3640, 3642], [0, 3638, 3640], [0, 3636, 3638], [1, 3634, 3636], [1, 3632, 3634], [0, 3630, 3632], [0, 3628, 3630]]] +3628-3644 i2c: ['DATA READ', 48] +3644-3646 i2c: ['ACK', None] +3646-3662 i2c: ['BITS', [[1, 3660, 3662], [0, 3658, 3660], [1, 3656, 3658], [0, 3654, 3656], [1, 3652, 3654], [1, 3650, 3652], [0, 3648, 3650], [0, 3646, 3648]]] +3646-3662 i2c: ['DATA READ', 53] +3662-3664 i2c: ['ACK', None] +3664-3680 i2c: ['BITS', [[1, 3678, 3680], [1, 3676, 3678], [0, 3674, 3676], [0, 3672, 3674], [0, 3670, 3672], [1, 3668, 3670], [0, 3666, 3668], [0, 3664, 3666]]] +3664-3680 i2c: ['DATA READ', 35] +3680-3682 i2c: ['ACK', None] +3682-3698 i2c: ['BITS', [[1, 3696, 3698], [0, 3694, 3696], [0, 3692, 3694], [0, 3690, 3692], [0, 3688, 3690], [0, 3686, 3688], [0, 3684, 3686], [0, 3682, 3684]]] +3682-3698 i2c: ['DATA READ', 1] +3698-3700 i2c: ['ACK', None] +3700-3716 i2c: ['BITS', [[0, 3714, 3716], [0, 3712, 3714], [0, 3710, 3712], [0, 3708, 3710], [1, 3706, 3708], [0, 3704, 3706], [0, 3702, 3704], [0, 3700, 3702]]] +3700-3716 i2c: ['DATA READ', 16] +3716-3718 i2c: ['ACK', None] +3718-3734 i2c: ['BITS', [[1, 3732, 3734], [1, 3730, 3732], [0, 3728, 3730], [0, 3726, 3728], [0, 3724, 3726], [0, 3722, 3724], [0, 3720, 3722], [0, 3718, 3720]]] +3718-3734 i2c: ['DATA READ', 3] +3734-3736 i2c: ['ACK', None] +3736-3752 i2c: ['BITS', [[1, 3750, 3752], [1, 3748, 3750], [0, 3746, 3748], [0, 3744, 3746], [1, 3742, 3744], [0, 3740, 3742], [0, 3738, 3740], [0, 3736, 3738]]] +3736-3752 i2c: ['DATA READ', 19] +3752-3754 i2c: ['NACK', None] +3756-3756 i2c: ['STOP', None] +7470-7470 i2c: ['START', None] +7472-7488 i2c: ['BITS', [[0, 7486, 7488], [0, 7484, 7486], [0, 7482, 7484], [0, 7480, 7482], [1, 7478, 7480], [0, 7476, 7478], [1, 7474, 7476], [1, 7472, 7474]]] +7472-7488 i2c: ['ADDRESS WRITE', 104] +7488-7490 i2c: ['ACK', None] +7490-7506 i2c: ['BITS', [[0, 7504, 7506], [0, 7502, 7504], [0, 7500, 7502], [0, 7498, 7500], [0, 7496, 7498], [0, 7494, 7496], [0, 7492, 7494], [0, 7490, 7492]]] +7490-7506 i2c: ['DATA WRITE', 0] +7506-7508 i2c: ['ACK', None] +7529-7529 i2c: ['START REPEAT', None] +7531-7547 i2c: ['BITS', [[1, 7545, 7547], [0, 7543, 7545], [0, 7541, 7543], [0, 7539, 7541], [1, 7537, 7539], [0, 7535, 7537], [1, 7533, 7535], [1, 7531, 7533]]] +7531-7547 i2c: ['ADDRESS READ', 104] +7547-7549 i2c: ['ACK', None] +7549-7565 i2c: ['BITS', [[0, 7563, 7565], [0, 7561, 7563], [0, 7559, 7561], [0, 7557, 7559], [1, 7555, 7557], [1, 7553, 7555], [0, 7551, 7553], [0, 7549, 7551]]] +7549-7565 i2c: ['DATA READ', 48] +7565-7567 i2c: ['ACK', None] +7567-7583 i2c: ['BITS', [[1, 7581, 7583], [0, 7579, 7581], [1, 7577, 7579], [0, 7575, 7577], [1, 7573, 7575], [1, 7571, 7573], [0, 7569, 7571], [0, 7567, 7569]]] +7567-7583 i2c: ['DATA READ', 53] +7583-7585 i2c: ['ACK', None] +7585-7601 i2c: ['BITS', [[1, 7599, 7601], [1, 7597, 7599], [0, 7595, 7597], [0, 7593, 7595], [0, 7591, 7593], [1, 7589, 7591], [0, 7587, 7589], [0, 7585, 7587]]] +7585-7601 i2c: ['DATA READ', 35] +7601-7603 i2c: ['ACK', None] +7603-7619 i2c: ['BITS', [[1, 7617, 7619], [0, 7615, 7617], [0, 7613, 7615], [0, 7611, 7613], [0, 7609, 7611], [0, 7607, 7609], [0, 7605, 7607], [0, 7603, 7605]]] +7603-7619 i2c: ['DATA READ', 1] +7619-7621 i2c: ['ACK', None] +7621-7637 i2c: ['BITS', [[0, 7635, 7637], [0, 7633, 7635], [0, 7631, 7633], [0, 7629, 7631], [1, 7627, 7629], [0, 7625, 7627], [0, 7623, 7625], [0, 7621, 7623]]] +7621-7637 i2c: ['DATA READ', 16] +7637-7639 i2c: ['ACK', None] +7639-7655 i2c: ['BITS', [[1, 7653, 7655], [1, 7651, 7653], [0, 7649, 7651], [0, 7647, 7649], [0, 7645, 7647], [0, 7643, 7645], [0, 7641, 7643], [0, 7639, 7641]]] +7639-7655 i2c: ['DATA READ', 3] +7655-7657 i2c: ['ACK', None] +7657-7673 i2c: ['BITS', [[1, 7671, 7673], [1, 7669, 7671], [0, 7667, 7669], [0, 7665, 7667], [1, 7663, 7665], [0, 7661, 7663], [0, 7659, 7661], [0, 7657, 7659]]] +7657-7673 i2c: ['DATA READ', 19] +7673-7675 i2c: ['NACK', None] +7677-7677 i2c: ['STOP', None] +11405-11405 i2c: ['START', None] +11408-11424 i2c: ['BITS', [[0, 11422, 11424], [0, 11420, 11422], [0, 11418, 11420], [0, 11416, 11418], [1, 11414, 11416], [0, 11412, 11414], [1, 11410, 11412], [1, 11408, 11410]]] +11408-11424 i2c: ['ADDRESS WRITE', 104] +11424-11426 i2c: ['ACK', None] +11426-11442 i2c: ['BITS', [[0, 11440, 11442], [0, 11438, 11440], [0, 11436, 11438], [0, 11434, 11436], [0, 11432, 11434], [0, 11430, 11432], [0, 11428, 11430], [0, 11426, 11428]]] +11426-11442 i2c: ['DATA WRITE', 0] +11442-11444 i2c: ['ACK', None] +11466-11466 i2c: ['START REPEAT', None] +11468-11484 i2c: ['BITS', [[1, 11482, 11484], [0, 11480, 11482], [0, 11478, 11480], [0, 11476, 11478], [1, 11474, 11476], [0, 11472, 11474], [1, 11470, 11472], [1, 11468, 11470]]] +11468-11484 i2c: ['ADDRESS READ', 104] +11484-11486 i2c: ['ACK', None] +11486-11502 i2c: ['BITS', [[0, 11500, 11502], [0, 11498, 11500], [0, 11496, 11498], [0, 11494, 11496], [1, 11492, 11494], [1, 11490, 11492], [0, 11488, 11490], [0, 11486, 11488]]] +11486-11502 i2c: ['DATA READ', 48] +11502-11504 i2c: ['ACK', None] +11504-11520 i2c: ['BITS', [[1, 11518, 11520], [0, 11516, 11518], [1, 11514, 11516], [0, 11512, 11514], [1, 11510, 11512], [1, 11508, 11510], [0, 11506, 11508], [0, 11504, 11506]]] +11504-11520 i2c: ['DATA READ', 53] +11520-11522 i2c: ['ACK', None] +11522-11538 i2c: ['BITS', [[1, 11536, 11538], [1, 11534, 11536], [0, 11532, 11534], [0, 11530, 11532], [0, 11528, 11530], [1, 11526, 11528], [0, 11524, 11526], [0, 11522, 11524]]] +11522-11538 i2c: ['DATA READ', 35] +11538-11540 i2c: ['ACK', None] +11540-11556 i2c: ['BITS', [[1, 11554, 11556], [0, 11552, 11554], [0, 11550, 11552], [0, 11548, 11550], [0, 11546, 11548], [0, 11544, 11546], [0, 11542, 11544], [0, 11540, 11542]]] +11540-11556 i2c: ['DATA READ', 1] +11556-11558 i2c: ['ACK', None] +11558-11574 i2c: ['BITS', [[0, 11572, 11574], [0, 11570, 11572], [0, 11568, 11570], [0, 11566, 11568], [1, 11564, 11566], [0, 11562, 11564], [0, 11560, 11562], [0, 11558, 11560]]] +11558-11574 i2c: ['DATA READ', 16] +11574-11576 i2c: ['ACK', None] +11576-11592 i2c: ['BITS', [[1, 11590, 11592], [1, 11588, 11590], [0, 11586, 11588], [0, 11584, 11586], [0, 11582, 11584], [0, 11580, 11582], [0, 11578, 11580], [0, 11576, 11578]]] +11576-11592 i2c: ['DATA READ', 3] +11592-11594 i2c: ['ACK', None] +11594-11610 i2c: ['BITS', [[1, 11608, 11610], [1, 11606, 11608], [0, 11604, 11606], [0, 11602, 11604], [1, 11600, 11602], [0, 11598, 11600], [0, 11596, 11598], [0, 11594, 11596]]] +11594-11610 i2c: ['DATA READ', 19] +11610-11612 i2c: ['NACK', None] +11614-11614 i2c: ['STOP', None] +15332-15332 i2c: ['START', None] +15334-15350 i2c: ['BITS', [[0, 15348, 15350], [0, 15346, 15348], [0, 15344, 15346], [0, 15342, 15344], [1, 15340, 15342], [0, 15338, 15340], [1, 15336, 15338], [1, 15334, 15336]]] +15334-15350 i2c: ['ADDRESS WRITE', 104] +15350-15352 i2c: ['ACK', None] +15352-15368 i2c: ['BITS', [[0, 15366, 15368], [0, 15364, 15366], [0, 15362, 15364], [0, 15360, 15362], [0, 15358, 15360], [0, 15356, 15358], [0, 15354, 15356], [0, 15352, 15354]]] +15352-15368 i2c: ['DATA WRITE', 0] +15368-15370 i2c: ['ACK', None] +15400-15400 i2c: ['START REPEAT', None] +15402-15418 i2c: ['BITS', [[1, 15416, 15418], [0, 15414, 15416], [0, 15412, 15414], [0, 15410, 15412], [1, 15408, 15410], [0, 15406, 15408], [1, 15404, 15406], [1, 15402, 15404]]] +15402-15418 i2c: ['ADDRESS READ', 104] +15418-15420 i2c: ['ACK', None] +15420-15436 i2c: ['BITS', [[0, 15434, 15436], [0, 15432, 15434], [0, 15430, 15432], [0, 15428, 15430], [1, 15426, 15428], [1, 15424, 15426], [0, 15422, 15424], [0, 15420, 15422]]] +15420-15436 i2c: ['DATA READ', 48] +15436-15438 i2c: ['ACK', None] +15438-15454 i2c: ['BITS', [[1, 15452, 15454], [0, 15450, 15452], [1, 15448, 15450], [0, 15446, 15448], [1, 15444, 15446], [1, 15442, 15444], [0, 15440, 15442], [0, 15438, 15440]]] +15438-15454 i2c: ['DATA READ', 53] +15454-15456 i2c: ['ACK', None] +15456-15472 i2c: ['BITS', [[1, 15470, 15472], [1, 15468, 15470], [0, 15466, 15468], [0, 15464, 15466], [0, 15462, 15464], [1, 15460, 15462], [0, 15458, 15460], [0, 15456, 15458]]] +15456-15472 i2c: ['DATA READ', 35] +15472-15474 i2c: ['ACK', None] +15474-15490 i2c: ['BITS', [[1, 15488, 15490], [0, 15486, 15488], [0, 15484, 15486], [0, 15482, 15484], [0, 15480, 15482], [0, 15478, 15480], [0, 15476, 15478], [0, 15474, 15476]]] +15474-15490 i2c: ['DATA READ', 1] +15490-15492 i2c: ['ACK', None] +15492-15508 i2c: ['BITS', [[0, 15506, 15508], [0, 15504, 15506], [0, 15502, 15504], [0, 15500, 15502], [1, 15498, 15500], [0, 15496, 15498], [0, 15494, 15496], [0, 15492, 15494]]] +15492-15508 i2c: ['DATA READ', 16] +15508-15510 i2c: ['ACK', None] +15510-15526 i2c: ['BITS', [[1, 15524, 15526], [1, 15522, 15524], [0, 15520, 15522], [0, 15518, 15520], [0, 15516, 15518], [0, 15514, 15516], [0, 15512, 15514], [0, 15510, 15512]]] +15510-15526 i2c: ['DATA READ', 3] +15526-15528 i2c: ['ACK', None] +15528-15544 i2c: ['BITS', [[1, 15542, 15544], [1, 15540, 15542], [0, 15538, 15540], [0, 15536, 15538], [1, 15534, 15536], [0, 15532, 15534], [0, 15530, 15532], [0, 15528, 15530]]] +15528-15544 i2c: ['DATA READ', 19] +15544-15546 i2c: ['NACK', None] +15548-15548 i2c: ['STOP', None] +19253-19253 i2c: ['START', None] +19255-19271 i2c: ['BITS', [[0, 19269, 19271], [0, 19267, 19269], [0, 19265, 19267], [0, 19263, 19265], [1, 19261, 19263], [0, 19259, 19261], [1, 19257, 19259], [1, 19255, 19257]]] +19255-19271 i2c: ['ADDRESS WRITE', 104] +19271-19273 i2c: ['ACK', None] +19274-19290 i2c: ['BITS', [[0, 19288, 19290], [0, 19286, 19288], [0, 19284, 19286], [0, 19282, 19284], [0, 19280, 19282], [0, 19278, 19280], [0, 19276, 19278], [0, 19274, 19276]]] +19274-19290 i2c: ['DATA WRITE', 0] +19290-19292 i2c: ['ACK', None] +19359-19359 i2c: ['START REPEAT', None] +19361-19377 i2c: ['BITS', [[1, 19375, 19377], [0, 19373, 19375], [0, 19371, 19373], [0, 19369, 19371], [1, 19367, 19369], [0, 19365, 19367], [1, 19363, 19365], [1, 19361, 19363]]] +19361-19377 i2c: ['ADDRESS READ', 104] +19377-19379 i2c: ['ACK', None] +19379-19395 i2c: ['BITS', [[0, 19393, 19395], [0, 19391, 19393], [0, 19389, 19391], [0, 19387, 19389], [1, 19385, 19387], [1, 19383, 19385], [0, 19381, 19383], [0, 19379, 19381]]] +19379-19395 i2c: ['DATA READ', 48] +19395-19397 i2c: ['ACK', None] +19397-19413 i2c: ['BITS', [[1, 19411, 19413], [0, 19409, 19411], [1, 19407, 19409], [0, 19405, 19407], [1, 19403, 19405], [1, 19401, 19403], [0, 19399, 19401], [0, 19397, 19399]]] +19397-19413 i2c: ['DATA READ', 53] +19413-19415 i2c: ['ACK', None] +19415-19431 i2c: ['BITS', [[1, 19429, 19431], [1, 19427, 19429], [0, 19425, 19427], [0, 19423, 19425], [0, 19421, 19423], [1, 19419, 19421], [0, 19417, 19419], [0, 19415, 19417]]] +19415-19431 i2c: ['DATA READ', 35] +19431-19433 i2c: ['ACK', None] +19433-19449 i2c: ['BITS', [[1, 19447, 19449], [0, 19445, 19447], [0, 19443, 19445], [0, 19441, 19443], [0, 19439, 19441], [0, 19437, 19439], [0, 19435, 19437], [0, 19433, 19435]]] +19433-19449 i2c: ['DATA READ', 1] +19449-19451 i2c: ['ACK', None] +19451-19467 i2c: ['BITS', [[0, 19465, 19467], [0, 19463, 19465], [0, 19461, 19463], [0, 19459, 19461], [1, 19457, 19459], [0, 19455, 19457], [0, 19453, 19455], [0, 19451, 19453]]] +19451-19467 i2c: ['DATA READ', 16] +19467-19469 i2c: ['ACK', None] +19469-19485 i2c: ['BITS', [[1, 19483, 19485], [1, 19481, 19483], [0, 19479, 19481], [0, 19477, 19479], [0, 19475, 19477], [0, 19473, 19475], [0, 19471, 19473], [0, 19469, 19471]]] +19469-19485 i2c: ['DATA READ', 3] +19485-19487 i2c: ['ACK', None] +19487-19503 i2c: ['BITS', [[1, 19501, 19503], [1, 19499, 19501], [0, 19497, 19499], [0, 19495, 19497], [1, 19493, 19495], [0, 19491, 19493], [0, 19489, 19491], [0, 19487, 19489]]] +19487-19503 i2c: ['DATA READ', 19] +19503-19505 i2c: ['NACK', None] +19507-19507 i2c: ['STOP', None] +23211-23211 i2c: ['START', None] +23214-23230 i2c: ['BITS', [[0, 23228, 23230], [0, 23226, 23228], [0, 23224, 23226], [0, 23222, 23224], [1, 23220, 23222], [0, 23218, 23220], [1, 23216, 23218], [1, 23214, 23216]]] +23214-23230 i2c: ['ADDRESS WRITE', 104] +23230-23232 i2c: ['ACK', None] +23265-23281 i2c: ['BITS', [[0, 23279, 23281], [0, 23277, 23279], [0, 23275, 23277], [0, 23273, 23275], [0, 23271, 23273], [0, 23269, 23271], [0, 23267, 23269], [0, 23265, 23267]]] +23265-23281 i2c: ['DATA WRITE', 0] +23281-23283 i2c: ['ACK', None] +23299-23299 i2c: ['START REPEAT', None] +23301-23317 i2c: ['BITS', [[1, 23315, 23317], [0, 23313, 23315], [0, 23311, 23313], [0, 23309, 23311], [1, 23307, 23309], [0, 23305, 23307], [1, 23303, 23305], [1, 23301, 23303]]] +23301-23317 i2c: ['ADDRESS READ', 104] +23317-23319 i2c: ['ACK', None] +23319-23335 i2c: ['BITS', [[0, 23333, 23335], [0, 23331, 23333], [0, 23329, 23331], [0, 23327, 23329], [1, 23325, 23327], [1, 23323, 23325], [0, 23321, 23323], [0, 23319, 23321]]] +23319-23335 i2c: ['DATA READ', 48] +23335-23337 i2c: ['ACK', None] +23337-23353 i2c: ['BITS', [[1, 23351, 23353], [0, 23349, 23351], [1, 23347, 23349], [0, 23345, 23347], [1, 23343, 23345], [1, 23341, 23343], [0, 23339, 23341], [0, 23337, 23339]]] +23337-23353 i2c: ['DATA READ', 53] +23353-23355 i2c: ['ACK', None] +23355-23371 i2c: ['BITS', [[1, 23369, 23371], [1, 23367, 23369], [0, 23365, 23367], [0, 23363, 23365], [0, 23361, 23363], [1, 23359, 23361], [0, 23357, 23359], [0, 23355, 23357]]] +23355-23371 i2c: ['DATA READ', 35] +23371-23373 i2c: ['ACK', None] +23373-23389 i2c: ['BITS', [[1, 23387, 23389], [0, 23385, 23387], [0, 23383, 23385], [0, 23381, 23383], [0, 23379, 23381], [0, 23377, 23379], [0, 23375, 23377], [0, 23373, 23375]]] +23373-23389 i2c: ['DATA READ', 1] +23389-23391 i2c: ['ACK', None] +23391-23407 i2c: ['BITS', [[0, 23405, 23407], [0, 23403, 23405], [0, 23401, 23403], [0, 23399, 23401], [1, 23397, 23399], [0, 23395, 23397], [0, 23393, 23395], [0, 23391, 23393]]] +23391-23407 i2c: ['DATA READ', 16] +23407-23409 i2c: ['ACK', None] +23409-23425 i2c: ['BITS', [[1, 23423, 23425], [1, 23421, 23423], [0, 23419, 23421], [0, 23417, 23419], [0, 23415, 23417], [0, 23413, 23415], [0, 23411, 23413], [0, 23409, 23411]]] +23409-23425 i2c: ['DATA READ', 3] +23425-23427 i2c: ['ACK', None] +23427-23443 i2c: ['BITS', [[1, 23441, 23443], [1, 23439, 23441], [0, 23437, 23439], [0, 23435, 23437], [1, 23433, 23435], [0, 23431, 23433], [0, 23429, 23431], [0, 23427, 23429]]] +23427-23443 i2c: ['DATA READ', 19] +23443-23445 i2c: ['NACK', None] +23447-23447 i2c: ['STOP', None] diff --git a/decoder/test/i2c/rtc_ds1307_200khz_data_read.output b/decoder/test/i2c/rtc_ds1307_200khz_data_read.output new file mode 100644 index 0000000..8e933e6 --- /dev/null +++ b/decoder/test/i2c/rtc_ds1307_200khz_data_read.output @@ -0,0 +1,49 @@ +343-359 i2c: data-read: "Data read: 30" "DR: 30" "30" +361-377 i2c: data-read: "Data read: 35" "DR: 35" "35" +379-395 i2c: data-read: "Data read: 23" "DR: 23" "23" +397-413 i2c: data-read: "Data read: 01" "DR: 01" "01" +415-431 i2c: data-read: "Data read: 10" "DR: 10" "10" +433-449 i2c: data-read: "Data read: 03" "DR: 03" "03" +451-467 i2c: data-read: "Data read: 13" "DR: 13" "13" +3628-3644 i2c: data-read: "Data read: 30" "DR: 30" "30" +3646-3662 i2c: data-read: "Data read: 35" "DR: 35" "35" +3664-3680 i2c: data-read: "Data read: 23" "DR: 23" "23" +3682-3698 i2c: data-read: "Data read: 01" "DR: 01" "01" +3700-3716 i2c: data-read: "Data read: 10" "DR: 10" "10" +3718-3734 i2c: data-read: "Data read: 03" "DR: 03" "03" +3736-3752 i2c: data-read: "Data read: 13" "DR: 13" "13" +7549-7565 i2c: data-read: "Data read: 30" "DR: 30" "30" +7567-7583 i2c: data-read: "Data read: 35" "DR: 35" "35" +7585-7601 i2c: data-read: "Data read: 23" "DR: 23" "23" +7603-7619 i2c: data-read: "Data read: 01" "DR: 01" "01" +7621-7637 i2c: data-read: "Data read: 10" "DR: 10" "10" +7639-7655 i2c: data-read: "Data read: 03" "DR: 03" "03" +7657-7673 i2c: data-read: "Data read: 13" "DR: 13" "13" +11486-11502 i2c: data-read: "Data read: 30" "DR: 30" "30" +11504-11520 i2c: data-read: "Data read: 35" "DR: 35" "35" +11522-11538 i2c: data-read: "Data read: 23" "DR: 23" "23" +11540-11556 i2c: data-read: "Data read: 01" "DR: 01" "01" +11558-11574 i2c: data-read: "Data read: 10" "DR: 10" "10" +11576-11592 i2c: data-read: "Data read: 03" "DR: 03" "03" +11594-11610 i2c: data-read: "Data read: 13" "DR: 13" "13" +15420-15436 i2c: data-read: "Data read: 30" "DR: 30" "30" +15438-15454 i2c: data-read: "Data read: 35" "DR: 35" "35" +15456-15472 i2c: data-read: "Data read: 23" "DR: 23" "23" +15474-15490 i2c: data-read: "Data read: 01" "DR: 01" "01" +15492-15508 i2c: data-read: "Data read: 10" "DR: 10" "10" +15510-15526 i2c: data-read: "Data read: 03" "DR: 03" "03" +15528-15544 i2c: data-read: "Data read: 13" "DR: 13" "13" +19379-19395 i2c: data-read: "Data read: 30" "DR: 30" "30" +19397-19413 i2c: data-read: "Data read: 35" "DR: 35" "35" +19415-19431 i2c: data-read: "Data read: 23" "DR: 23" "23" +19433-19449 i2c: data-read: "Data read: 01" "DR: 01" "01" +19451-19467 i2c: data-read: "Data read: 10" "DR: 10" "10" +19469-19485 i2c: data-read: "Data read: 03" "DR: 03" "03" +19487-19503 i2c: data-read: "Data read: 13" "DR: 13" "13" +23319-23335 i2c: data-read: "Data read: 30" "DR: 30" "30" +23337-23353 i2c: data-read: "Data read: 35" "DR: 35" "35" +23355-23371 i2c: data-read: "Data read: 23" "DR: 23" "23" +23373-23389 i2c: data-read: "Data read: 01" "DR: 01" "01" +23391-23407 i2c: data-read: "Data read: 10" "DR: 10" "10" +23409-23425 i2c: data-read: "Data read: 03" "DR: 03" "03" +23427-23443 i2c: data-read: "Data read: 13" "DR: 13" "13" diff --git a/decoder/test/i2c/rtc_ds1307_200khz_data_write.output b/decoder/test/i2c/rtc_ds1307_200khz_data_write.output new file mode 100644 index 0000000..59a9945 --- /dev/null +++ b/decoder/test/i2c/rtc_ds1307_200khz_data_write.output @@ -0,0 +1,15 @@ +25-41 i2c: data-write: "Data write: 00" "DW: 00" "00" +43-59 i2c: data-write: "Data write: 30" "DW: 30" "30" +61-77 i2c: data-write: "Data write: 35" "DW: 35" "35" +79-95 i2c: data-write: "Data write: 23" "DW: 23" "23" +97-113 i2c: data-write: "Data write: 01" "DW: 01" "01" +115-131 i2c: data-write: "Data write: 10" "DW: 10" "10" +133-149 i2c: data-write: "Data write: 03" "DW: 03" "03" +151-167 i2c: data-write: "Data write: 13" "DW: 13" "13" +273-289 i2c: data-write: "Data write: 00" "DW: 00" "00" +3568-3584 i2c: data-write: "Data write: 00" "DW: 00" "00" +7490-7506 i2c: data-write: "Data write: 00" "DW: 00" "00" +11426-11442 i2c: data-write: "Data write: 00" "DW: 00" "00" +15352-15368 i2c: data-write: "Data write: 00" "DW: 00" "00" +19274-19290 i2c: data-write: "Data write: 00" "DW: 00" "00" +23265-23281 i2c: data-write: "Data write: 00" "DW: 00" "00" diff --git a/decoder/test/i2c/test.conf b/decoder/test/i2c/test.conf new file mode 100644 index 0000000..e383f5f --- /dev/null +++ b/decoder/test/i2c/test.conf @@ -0,0 +1,27 @@ +test rtc + protocol-decoder i2c channel scl=0 channel sda=1 + input i2c/rtc_dallas_ds1307/rtc_ds1307_200khz.sr + output i2c annotation class data-read match rtc_ds1307_200khz_data_read.output + output i2c annotation class data-write match rtc_ds1307_200khz_data_write.output + output i2c annotation match rtc_ds1307_200khz.output + output i2c python match rtc_ds1307_200khz.python + +test motherboard + protocol-decoder i2c channel scl=0 channel sda=3 + input i2c/gigabyte_6vle-vxl_i2c/gigabyte_6vle_vxl_i2c.sr + output i2c annotation match gigabyte_6vle_vxl_i2c.output + output i2c python match gigabyte_6vle_vxl_i2c.python + +test xfp + protocol-decoder i2c channel scl=0 channel sda=1 + input i2c/network-transceivers/xfp.sr + output i2c binary class data-read match xfp_data_read.binary + output i2c binary class data-write match xfp_data_write.binary + output i2c binary class address-read match xfp_address_read.binary + output i2c binary class address-write match xfp_address_write.binary + +test exception_samplerate + protocol-decoder i2c + input misc/no-samplerate.sr + output i2c exception match SamplerateError + diff --git a/decoder/test/i2c/xfp_address_read.binary b/decoder/test/i2c/xfp_address_read.binary new file mode 100644 index 0000000..c742aeb --- /dev/null +++ b/decoder/test/i2c/xfp_address_read.binary @@ -0,0 +1,256 @@ +329-412 i2c: 50 +1825-1910 i2c: 50 +3202-3286 i2c: 50 +4623-4706 i2c: 50 +6006-6091 i2c: 50 +7302-7387 i2c: 50 +8081-8164 i2c: 50 +9015-9098 i2c: 50 +10031-10116 i2c: 50 +10955-11038 i2c: 50 +11943-12026 i2c: 50 +12864-12947 i2c: 50 +13853-13937 i2c: 50 +14766-14851 i2c: 50 +15747-15832 i2c: 50 +16655-16740 i2c: 50 +17930-18013 i2c: 50 +18899-18984 i2c: 50 +19895-19978 i2c: 50 +20836-20921 i2c: 50 +21822-21907 i2c: 50 +22738-22823 i2c: 50 +23718-23801 i2c: 50 +24630-24715 i2c: 50 +25614-25697 i2c: 50 +26513-26596 i2c: 50 +27497-27582 i2c: 50 +28419-28504 i2c: 50 +29405-29488 i2c: 50 +30312-30397 i2c: 50 +31152-31237 i2c: 50 +31833-31918 i2c: 50 +32714-32799 i2c: 50 +33592-33675 i2c: 50 +34405-34488 i2c: 50 +35304-35387 i2c: 50 +36160-36243 i2c: 50 +37004-37089 i2c: 50 +37886-37969 i2c: 50 +38725-38808 i2c: 50 +39611-39694 i2c: 50 +40444-40527 i2c: 50 +41338-41421 i2c: 50 +42159-42242 i2c: 50 +42962-43045 i2c: 50 +43895-43979 i2c: 50 +44781-44866 i2c: 50 +45611-45694 i2c: 50 +46488-46571 i2c: 50 +47298-47383 i2c: 50 +48116-48199 i2c: 50 +49012-49096 i2c: 50 +49848-49931 i2c: 50 +50723-50806 i2c: 50 +51574-51657 i2c: 50 +52396-52479 i2c: 50 +53093-53176 i2c: 50 +53870-53953 i2c: 50 +54645-54730 i2c: 50 +55551-55636 i2c: 50 +56368-56451 i2c: 50 +57281-57364 i2c: 50 +58100-58185 i2c: 50 +58991-59076 i2c: 50 +59881-59964 i2c: 50 +60784-60869 i2c: 50 +61634-61717 i2c: 50 +62427-62512 i2c: 50 +63240-63323 i2c: 50 +64055-64138 i2c: 50 +64964-65047 i2c: 50 +65828-65913 i2c: 50 +66790-66875 i2c: 50 +67694-67777 i2c: 50 +68664-68747 i2c: 50 +69462-69547 i2c: 50 +70232-70317 i2c: 50 +71036-71121 i2c: 50 +71823-71908 i2c: 50 +72705-72788 i2c: 50 +73621-73706 i2c: 50 +74499-74583 i2c: 50 +75338-75423 i2c: 50 +76145-76228 i2c: 50 +76936-77019 i2c: 50 +77754-77839 i2c: 50 +78448-78533 i2c: 50 +79232-79317 i2c: 50 +80014-80099 i2c: 50 +80912-80997 i2c: 50 +81723-81806 i2c: 50 +82622-82707 i2c: 50 +83465-83548 i2c: 50 +84359-84442 i2c: 50 +85203-85288 i2c: 50 +86099-86184 i2c: 50 +86989-87073 i2c: 50 +87802-87887 i2c: 50 +88607-88692 i2c: 50 +89410-89493 i2c: 50 +90296-90380 i2c: 50 +91111-91196 i2c: 50 +91792-91875 i2c: 50 +92601-92686 i2c: 50 +93393-93476 i2c: 50 +94270-94355 i2c: 50 +95090-95173 i2c: 50 +95968-96051 i2c: 50 +96807-96892 i2c: 50 +97605-97690 i2c: 50 +98411-98494 i2c: 50 +99212-99297 i2c: 50 +100206-100291 i2c: 50 +101037-101122 i2c: 50 +101948-102033 i2c: 50 +102792-102875 i2c: 50 +103691-103774 i2c: 50 +104516-104599 i2c: 50 +105391-105476 i2c: 50 +106204-106289 i2c: 50 +107013-107096 i2c: 50 +107916-108001 i2c: 50 +108721-108804 i2c: 50 +109605-109688 i2c: 50 +110418-110503 i2c: 50 +111290-111373 i2c: 50 +112118-112203 i2c: 50 +112926-113011 i2c: 50 +113698-113781 i2c: 50 +114491-114574 i2c: 50 +115285-115368 i2c: 50 +116198-116282 i2c: 50 +117083-117167 i2c: 50 +117921-118004 i2c: 50 +118734-118817 i2c: 50 +119596-119679 i2c: 50 +120424-120509 i2c: 50 +121317-121402 i2c: 50 +122135-122220 i2c: 50 +122986-123069 i2c: 50 +123870-123953 i2c: 50 +124682-124767 i2c: 50 +125589-125672 i2c: 50 +126407-126491 i2c: 50 +127360-127445 i2c: 50 +128212-128295 i2c: 50 +129111-129194 i2c: 50 +129944-130027 i2c: 50 +130799-130882 i2c: 50 +131691-131776 i2c: 50 +132522-132607 i2c: 50 +133423-133508 i2c: 50 +134261-134344 i2c: 50 +135128-135213 i2c: 50 +135969-136054 i2c: 50 +136774-136857 i2c: 50 +137675-137760 i2c: 50 +138557-138642 i2c: 50 +139394-139479 i2c: 50 +140205-140290 i2c: 50 +141147-141232 i2c: 50 +141997-142082 i2c: 50 +142891-142976 i2c: 50 +143714-143797 i2c: 50 +144508-144591 i2c: 50 +145311-145396 i2c: 50 +146126-146209 i2c: 50 +147033-147116 i2c: 50 +147896-147981 i2c: 50 +148853-148936 i2c: 50 +149671-149756 i2c: 50 +150357-150440 i2c: 50 +151185-151268 i2c: 50 +151992-152077 i2c: 50 +152877-152960 i2c: 50 +153717-153800 i2c: 50 +154664-154747 i2c: 50 +155509-155592 i2c: 50 +156323-156406 i2c: 50 +157234-157317 i2c: 50 +158201-158286 i2c: 50 +159021-159106 i2c: 50 +159858-159943 i2c: 50 +160748-160833 i2c: 50 +161580-161665 i2c: 50 +162470-162553 i2c: 50 +163324-163407 i2c: 50 +164131-164216 i2c: 50 +165048-165133 i2c: 50 +165934-166017 i2c: 50 +166751-166836 i2c: 50 +167580-167664 i2c: 50 +168525-168610 i2c: 50 +169350-169435 i2c: 50 +170253-170336 i2c: 50 +171091-171174 i2c: 50 +171886-171971 i2c: 50 +172693-172778 i2c: 50 +173512-173597 i2c: 50 +174197-174280 i2c: 50 +174968-175051 i2c: 50 +175750-175835 i2c: 50 +176653-176736 i2c: 50 +177460-177543 i2c: 50 +178370-178455 i2c: 50 +179205-179288 i2c: 50 +180085-180170 i2c: 50 +180902-180987 i2c: 50 +181874-181959 i2c: 50 +182704-182787 i2c: 50 +183562-183647 i2c: 50 +184431-184516 i2c: 50 +185236-185321 i2c: 50 +186138-186222 i2c: 50 +186956-187039 i2c: 50 +187845-187928 i2c: 50 +188669-188754 i2c: 50 +189468-189553 i2c: 50 +190281-190366 i2c: 50 +191090-191173 i2c: 50 +191987-192072 i2c: 50 +192849-192934 i2c: 50 +193822-193907 i2c: 50 +194732-194815 i2c: 50 +195703-195788 i2c: 50 +196389-196472 i2c: 50 +197247-197332 i2c: 50 +198070-198153 i2c: 50 +198873-198958 i2c: 50 +199762-199845 i2c: 50 +200575-200658 i2c: 50 +201469-201554 i2c: 50 +202285-202368 i2c: 50 +203102-203185 i2c: 50 +204022-204107 i2c: 50 +204837-204920 i2c: 50 +205742-205827 i2c: 50 +206551-206634 i2c: 50 +207432-207517 i2c: 50 +208255-208338 i2c: 50 +209229-209312 i2c: 50 +210053-210138 i2c: 50 +210929-211014 i2c: 50 +211768-211853 i2c: 50 +212594-212679 i2c: 50 +213477-213562 i2c: 50 +214327-214412 i2c: 50 +215218-215303 i2c: 50 +216048-216133 i2c: 50 +216842-216927 i2c: 50 +217643-217726 i2c: 50 +218452-218537 i2c: 50 +219145-219230 i2c: 50 +219925-220009 i2c: 50 +220703-220788 i2c: 50 +221577-221662 i2c: 50 diff --git a/decoder/test/i2c/xfp_address_write.binary b/decoder/test/i2c/xfp_address_write.binary new file mode 100644 index 0000000..43680ef --- /dev/null +++ b/decoder/test/i2c/xfp_address_write.binary @@ -0,0 +1,255 @@ +1433-1516 i2c: 50 +2893-2976 i2c: 50 +4312-4397 i2c: 50 +5699-5782 i2c: 50 +6992-7077 i2c: 50 +7783-7866 i2c: 50 +8718-8801 i2c: 50 +9738-9823 i2c: 50 +10659-10742 i2c: 50 +11644-11729 i2c: 50 +12565-12648 i2c: 50 +13552-13635 i2c: 50 +14471-14556 i2c: 50 +15448-15533 i2c: 50 +16358-16443 i2c: 50 +17622-17705 i2c: 50 +18603-18686 i2c: 50 +19603-19688 i2c: 50 +20540-20623 i2c: 50 +21526-21609 i2c: 50 +22442-22525 i2c: 50 +23423-23508 i2c: 50 +24337-24422 i2c: 50 +25315-25398 i2c: 50 +26216-26301 i2c: 50 +27199-27284 i2c: 50 +28120-28205 i2c: 50 +29103-29188 i2c: 50 +30019-30104 i2c: 50 +30863-30946 i2c: 50 +31541-31624 i2c: 50 +32417-32500 i2c: 50 +33286-33370 i2c: 50 +34104-34189 i2c: 50 +34993-35078 i2c: 50 +35844-35929 i2c: 50 +36666-36751 i2c: 50 +37587-37670 i2c: 50 +38414-38499 i2c: 50 +39317-39402 i2c: 50 +40138-40221 i2c: 50 +41015-41100 i2c: 50 +41848-41933 i2c: 50 +42664-42749 i2c: 50 +43581-43664 i2c: 50 +44407-44490 i2c: 50 +45302-45387 i2c: 50 +46189-46274 i2c: 50 +46877-46960 i2c: 50 +47694-47777 i2c: 50 +48510-48595 i2c: 50 +49410-49493 i2c: 50 +50245-50330 i2c: 50 +51117-51200 i2c: 50 +51976-52059 i2c: 50 +52796-52879 i2c: 50 +53573-53658 i2c: 50 +54359-54444 i2c: 50 +55236-55319 i2c: 50 +56057-56140 i2c: 50 +56965-57048 i2c: 50 +57793-57876 i2c: 50 +58680-58765 i2c: 50 +59587-59670 i2c: 50 +60488-60573 i2c: 50 +61310-61395 i2c: 50 +62140-62223 i2c: 50 +62819-62902 i2c: 50 +63633-63718 i2c: 50 +64472-64555 i2c: 50 +65533-65618 i2c: 50 +66482-66565 i2c: 50 +67398-67483 i2c: 50 +68370-68453 i2c: 50 +69046-69131 i2c: 50 +69856-69940 i2c: 50 +70731-70814 i2c: 50 +71528-71613 i2c: 50 +72406-72489 i2c: 50 +73315-73400 i2c: 50 +74204-74289 i2c: 50 +75030-75115 i2c: 50 +75852-75935 i2c: 50 +76518-76603 i2c: 50 +77331-77416 i2c: 50 +78152-78237 i2c: 50 +78928-79013 i2c: 50 +79725-79810 i2c: 50 +80602-80687 i2c: 50 +81422-81505 i2c: 50 +82325-82408 i2c: 50 +83150-83235 i2c: 50 +84058-84141 i2c: 50 +84897-84982 i2c: 50 +85793-85878 i2c: 50 +86693-86776 i2c: 50 +87514-87597 i2c: 50 +88183-88268 i2c: 50 +88997-89080 i2c: 50 +89884-89967 i2c: 50 +90689-90774 i2c: 50 +91499-91582 i2c: 50 +92302-92385 i2c: 50 +93097-93180 i2c: 50 +93960-94045 i2c: 50 +94776-94859 i2c: 50 +95672-95755 i2c: 50 +96500-96583 i2c: 50 +97316-97401 i2c: 50 +97992-98075 i2c: 50 +98799-98882 i2c: 50 +99726-99809 i2c: 50 +100599-100684 i2c: 50 +101511-101596 i2c: 50 +102353-102436 i2c: 50 +103191-103275 i2c: 50 +104084-104169 i2c: 50 +104908-104991 i2c: 50 +105782-105867 i2c: 50 +106597-106680 i2c: 50 +107466-107551 i2c: 50 +108306-108390 i2c: 50 +109107-109192 i2c: 50 +110002-110087 i2c: 50 +110808-110891 i2c: 50 +111690-111775 i2c: 50 +112516-112601 i2c: 50 +113402-113487 i2c: 50 +114186-114271 i2c: 50 +114983-115068 i2c: 50 +115882-115965 i2c: 50 +116708-116791 i2c: 50 +117610-117695 i2c: 50 +118425-118508 i2c: 50 +119299-119384 i2c: 50 +120118-120201 i2c: 50 +121013-121098 i2c: 50 +121832-121915 i2c: 50 +122648-122733 i2c: 50 +123556-123641 i2c: 50 +124376-124459 i2c: 50 +125279-125362 i2c: 50 +126100-126183 i2c: 50 +127061-127144 i2c: 50 +127902-127985 i2c: 50 +128800-128885 i2c: 50 +129628-129711 i2c: 50 +130455-130538 i2c: 50 +131380-131463 i2c: 50 +132207-132290 i2c: 50 +133126-133211 i2c: 50 +133951-134036 i2c: 50 +134830-134915 i2c: 50 +135660-135743 i2c: 50 +136477-136560 i2c: 50 +137365-137450 i2c: 50 +138179-138262 i2c: 50 +139084-139169 i2c: 50 +139899-139982 i2c: 50 +140851-140934 i2c: 50 +141691-141774 i2c: 50 +142581-142666 i2c: 50 +143401-143484 i2c: 50 +144217-144300 i2c: 50 +144890-144973 i2c: 50 +145703-145788 i2c: 50 +146542-146627 i2c: 50 +147602-147685 i2c: 50 +148560-148643 i2c: 50 +149344-149429 i2c: 50 +150053-150138 i2c: 50 +150875-150960 i2c: 50 +151685-151770 i2c: 50 +152571-152654 i2c: 50 +153406-153489 i2c: 50 +154367-154452 i2c: 50 +155204-155287 i2c: 50 +156015-156098 i2c: 50 +156919-157003 i2c: 50 +157734-157819 i2c: 50 +158725-158810 i2c: 50 +159550-159635 i2c: 50 +160455-160538 i2c: 50 +161272-161355 i2c: 50 +162158-162243 i2c: 50 +163014-163097 i2c: 50 +163828-163911 i2c: 50 +164732-164815 i2c: 50 +165557-165640 i2c: 50 +166456-166541 i2c: 50 +167274-167357 i2c: 50 +168226-168311 i2c: 50 +169052-169137 i2c: 50 +169945-170030 i2c: 50 +170784-170869 i2c: 50 +171600-171685 i2c: 50 +172269-172354 i2c: 50 +173083-173166 i2c: 50 +173905-173990 i2c: 50 +174677-174760 i2c: 50 +175461-175546 i2c: 50 +176339-176424 i2c: 50 +177157-177240 i2c: 50 +178062-178147 i2c: 50 +178899-178984 i2c: 50 +179774-179859 i2c: 50 +180595-180680 i2c: 50 +181561-181644 i2c: 50 +182391-182475 i2c: 50 +183220-183305 i2c: 50 +184121-184204 i2c: 50 +184929-185012 i2c: 50 +185821-185906 i2c: 50 +186649-186732 i2c: 50 +187534-187619 i2c: 50 +188360-188443 i2c: 50 +189181-189264 i2c: 50 +189854-189938 i2c: 50 +190670-190755 i2c: 50 +191497-191582 i2c: 50 +192555-192640 i2c: 50 +193531-193616 i2c: 50 +194439-194524 i2c: 50 +195271-195356 i2c: 50 +196094-196177 i2c: 50 +196882-196967 i2c: 50 +197762-197845 i2c: 50 +198579-198664 i2c: 50 +199449-199534 i2c: 50 +200269-200354 i2c: 50 +201159-201244 i2c: 50 +201980-202065 i2c: 50 +202796-202881 i2c: 50 +203711-203794 i2c: 50 +204528-204613 i2c: 50 +205429-205514 i2c: 50 +206250-206333 i2c: 50 +207124-207207 i2c: 50 +207948-208033 i2c: 50 +208911-208994 i2c: 50 +209744-209829 i2c: 50 +210569-210652 i2c: 50 +211471-211554 i2c: 50 +212286-212371 i2c: 50 +213185-213268 i2c: 50 +214018-214103 i2c: 50 +214903-214988 i2c: 50 +215739-215824 i2c: 50 +216549-216634 i2c: 50 +217219-217302 i2c: 50 +218037-218122 i2c: 50 +218846-218929 i2c: 50 +219626-219711 i2c: 50 +220413-220496 i2c: 50 +221280-221363 i2c: 50 diff --git a/decoder/test/i2c/xfp_data_read.binary b/decoder/test/i2c/xfp_data_read.binary new file mode 100644 index 0000000..d399230 --- /dev/null +++ b/decoder/test/i2c/xfp_data_read.binary @@ -0,0 +1,256 @@ +423-507 i2c: 06 +1920-2003 i2c: 00 +3297-3382 i2c: 50 +4717-4802 i2c: 00 +6101-6184 i2c: f1 +7397-7482 i2c: 00 +8175-8260 i2c: 4b +9109-9194 i2c: 00 +10126-10211 i2c: f6 +11049-11134 i2c: 00 +12037-12122 i2c: 00 +12959-13042 i2c: 00 +13948-14033 i2c: 00 +14861-14944 i2c: 00 +15842-15925 i2c: 00 +16750-16833 i2c: 00 +18024-18109 i2c: 00 +18994-19077 i2c: 00 +19989-20074 i2c: c3 +20931-21014 i2c: 50 +21917-22000 i2c: 00 +22833-22916 i2c: 00 +23812-23897 i2c: 9c +24725-24808 i2c: 40 +25708-25793 i2c: 00 +26607-26692 i2c: 00 +27592-27675 i2c: 3d +28514-28597 i2c: e8 +29499-29584 i2c: 04 +30407-30490 i2c: ea +31247-31330 i2c: 27 +31928-32011 i2c: 10 +32809-32892 i2c: 07 +33686-33771 i2c: cb +34499-34584 i2c: 45 +35398-35483 i2c: 76 +36254-36339 i2c: 00 +37099-37182 i2c: 00 +37980-38065 i2c: 37 +38819-38903 i2c: 2d +39705-39790 i2c: 01 +40538-40623 i2c: 19 +41432-41517 i2c: 00 +42253-42338 i2c: 00 +43056-43141 i2c: 00 +43990-44075 i2c: 00 +44876-44959 i2c: 00 +45705-45790 i2c: 00 +46582-46667 i2c: 00 +47393-47476 i2c: 00 +48210-48295 i2c: 00 +49107-49192 i2c: 00 +49942-50027 i2c: 00 +50817-50902 i2c: 00 +51668-51753 i2c: 00 +52490-52575 i2c: 00 +53187-53272 i2c: 00 +53964-54049 i2c: 00 +54740-54823 i2c: 00 +55646-55729 i2c: 00 +56462-56547 i2c: 00 +57376-57459 i2c: 00 +58195-58278 i2c: 00 +59086-59169 i2c: 00 +59975-60060 i2c: 00 +60879-60962 i2c: 00 +61728-61813 i2c: 00 +62522-62605 i2c: 00 +63334-63419 i2c: 00 +64149-64234 i2c: 00 +65058-65143 i2c: 00 +65923-66006 i2c: 00 +66885-66968 i2c: 00 +67788-67873 i2c: 00 +68758-68843 i2c: 00 +69557-69640 i2c: 00 +70327-70410 i2c: 00 +71131-71214 i2c: 00 +71918-72001 i2c: 00 +72799-72884 i2c: 00 +73716-73799 i2c: 00 +74594-74679 i2c: 80 +75433-75516 i2c: 00 +76239-76324 i2c: 80 +77030-77115 i2c: a2 +77849-77932 i2c: 00 +78543-78626 i2c: 00 +79327-79410 i2c: 00 +80109-80194 i2c: 00 +81007-81092 i2c: 00 +81817-81902 i2c: 00 +82717-82800 i2c: 00 +83559-83644 i2c: 00 +84453-84538 i2c: 00 +85298-85381 i2c: 00 +86194-86277 i2c: 00 +87084-87169 i2c: 23 +87897-87980 i2c: cb +88702-88785 i2c: 00 +89504-89589 i2c: 00 +90391-90476 i2c: 00 +91206-91289 i2c: 00 +91886-91971 i2c: 00 +92696-92779 i2c: 00 +93487-93571 i2c: 55 +94365-94448 i2c: dc +95184-95269 i2c: 81 +96062-96147 i2c: 51 +96902-96985 i2c: 00 +97700-97785 i2c: 00 +98505-98590 i2c: b0 +99307-99390 i2c: a0 +100301-100384 i2c: 00 +101132-101215 i2c: 00 +102043-102126 i2c: 00 +102886-102971 i2c: 00 +103785-103870 i2c: 00 +104610-104694 i2c: 00 +105486-105571 i2c: 00 +106299-106382 i2c: 00 +107107-107192 i2c: 00 +108011-108094 i2c: 00 +108816-108899 i2c: 00 +109699-109783 i2c: 00 +110513-110596 i2c: 00 +111384-111469 i2c: 00 +112213-112296 i2c: 00 +113021-113104 i2c: 01 +113792-113877 i2c: 06 +114585-114670 i2c: 58 +115379-115464 i2c: 07 +116293-116378 i2c: 44 +117178-117263 i2c: 00 +118015-118099 i2c: 00 +118828-118913 i2c: 00 +119690-119775 i2c: 00 +120519-120602 i2c: 00 +121412-121495 i2c: 00 +122230-122315 i2c: 00 +123080-123165 i2c: 90 +123964-124049 i2c: 64 +124777-124860 i2c: 6c +125683-125768 i2c: 0a +126502-126587 i2c: 00 +127455-127538 i2c: 00 +128306-128391 i2c: 00 +129205-129290 i2c: 00 +130038-130123 i2c: 40 +130893-130978 i2c: 53 +131786-131869 i2c: 75 +132617-132700 i2c: 6d +133518-133601 i2c: 69 +134355-134440 i2c: 74 +135223-135308 i2c: 6f +136064-136147 i2c: 6d +136868-136953 i2c: 6f +137770-137853 i2c: 45 +138652-138735 i2c: 6c +139489-139572 i2c: 65 +140305-140388 i2c: 63 +141242-141325 i2c: 74 +142092-142177 i2c: 72 +142986-143069 i2c: 69 +143808-143893 i2c: 63 +144602-144687 i2c: f0 +145406-145489 i2c: 00 +146220-146305 i2c: 0a +147127-147212 i2c: 1d +147991-148074 i2c: 53 +148947-149032 i2c: 58 +149766-149849 i2c: 50 +150451-150535 i2c: 33 +151279-151364 i2c: 31 +152087-152170 i2c: 30 +152971-153056 i2c: 31 +153811-153896 i2c: 4c +154758-154843 i2c: 58 +155603-155688 i2c: 2d +156417-156502 i2c: 41 +157328-157413 i2c: 34 +158296-158379 i2c: 20 +159116-159199 i2c: 20 +159953-160036 i2c: 20 +160843-160926 i2c: 20 +161675-161758 i2c: 41 +162564-162649 i2c: 20 +163418-163503 i2c: 66 +164226-164309 i2c: 58 +165143-165226 i2c: 0f +166028-166113 i2c: a0 +166846-166929 i2c: 46 +167675-167760 i2c: 8c +168620-168703 i2c: 7d +169445-169530 i2c: 96 +170347-170431 i2c: 08 +171185-171270 i2c: 00 +171981-172064 i2c: 38 +172788-172871 i2c: 33 +173607-173690 i2c: 33 +174291-174376 i2c: 30 +175062-175147 i2c: 31 +175845-175928 i2c: 32 +176747-176832 i2c: 41 +177554-177639 i2c: 30 +178465-178548 i2c: 30 +179299-179384 i2c: 33 +180180-180263 i2c: 38 +180997-181080 i2c: 38 +181969-182052 i2c: 20 +182798-182883 i2c: 20 +183657-183740 i2c: 20 +184526-184609 i2c: 20 +185331-185414 i2c: 30 +186233-186318 i2c: 38 +187050-187134 i2c: 30 +187939-188024 i2c: 33 +188764-188847 i2c: 32 +189563-189646 i2c: 31 +190376-190459 i2c: 41 +191184-191269 i2c: 35 +192082-192167 i2c: 08 +192944-193027 i2c: 60 +193917-194000 i2c: 70 +194826-194911 i2c: 8c +195798-195881 i2c: 33 +196483-196568 i2c: 48 +197342-197425 i2c: 45 +198164-198249 i2c: 30 +198968-199051 i2c: 30 +199856-199941 i2c: 35 +200669-200754 i2c: 36 +201564-201647 i2c: 34 +202380-202463 i2c: 41 +203196-203281 i2c: 41 +204117-204200 i2c: 41 +204931-205016 i2c: 41 +205837-205920 i2c: 30 +206645-206730 i2c: 31 +207527-207610 i2c: 20 +208349-208434 i2c: 20 +209323-209408 i2c: 41 +210148-210231 i2c: 4c +211024-211107 i2c: 41 +211863-211946 i2c: 20 +212689-212772 i2c: 20 +213572-213655 i2c: 49 +214422-214507 i2c: 50 +215313-215396 i2c: 55 +216143-216226 i2c: 49 +216937-217020 i2c: 41 +217737-217822 i2c: 52 +218547-218632 i2c: 52 +219240-219323 i2c: 44 +220020-220105 i2c: 41 +220798-220881 i2c: 41 +221672-221755 i2c: 54 diff --git a/decoder/test/i2c/xfp_data_write.binary b/decoder/test/i2c/xfp_data_write.binary new file mode 100644 index 0000000..4805fab --- /dev/null +++ b/decoder/test/i2c/xfp_data_write.binary @@ -0,0 +1,255 @@ +1527-1612 i2c: 01 +2987-3072 i2c: 02 +4407-4490 i2c: 03 +5793-5878 i2c: 04 +7087-7170 i2c: 05 +7877-7962 i2c: 06 +8812-8897 i2c: 07 +9833-9916 i2c: 08 +10753-10838 i2c: 09 +11739-11822 i2c: 0a +12659-12744 i2c: 0b +13646-13731 i2c: 0c +14566-14649 i2c: 0d +15543-15626 i2c: 0e +16453-16536 i2c: 0f +17716-17801 i2c: 10 +18697-18782 i2c: 11 +19698-19781 i2c: 12 +20634-20719 i2c: 13 +21620-21705 i2c: 14 +22536-22621 i2c: 15 +23518-23601 i2c: 16 +24432-24515 i2c: 17 +25409-25494 i2c: 18 +26311-26394 i2c: 19 +27294-27377 i2c: 1a +28215-28300 i2c: 1b +29198-29281 i2c: 1c +30114-30197 i2c: 1d +30957-31041 i2c: 1e +31635-31720 i2c: 1f +32511-32596 i2c: 20 +33381-33466 i2c: 21 +34199-34284 i2c: 22 +35088-35171 i2c: 23 +35939-36022 i2c: 24 +36761-36844 i2c: 25 +37681-37766 i2c: 26 +38509-38592 i2c: 27 +39412-39495 i2c: 28 +40232-40316 i2c: 29 +41110-41193 i2c: 2a +41943-42026 i2c: 2b +42767-42850 i2c: 2c +43675-43760 i2c: 2d +44501-44586 i2c: 2e +45397-45480 i2c: 2f +46284-46369 i2c: 30 +46971-47056 i2c: 31 +47788-47873 i2c: 32 +48605-48688 i2c: 33 +49505-49588 i2c: 34 +50340-50423 i2c: 35 +51211-51296 i2c: 36 +52070-52155 i2c: 37 +52890-52975 i2c: 38 +53668-53753 i2c: 39 +54454-54537 i2c: 3a +55330-55415 i2c: 3b +56151-56236 i2c: 3c +57059-57144 i2c: 3d +57887-57972 i2c: 3e +58775-58860 i2c: 3f +59681-59765 i2c: 40 +60583-60666 i2c: 41 +61405-61488 i2c: 42 +62234-62319 i2c: 43 +62913-62997 i2c: 44 +63728-63811 i2c: 45 +64566-64651 i2c: 46 +65628-65711 i2c: 47 +66576-66661 i2c: 48 +67493-67576 i2c: 49 +68464-68549 i2c: 4a +69141-69224 i2c: 4b +69951-70036 i2c: 4c +70826-70909 i2c: 4d +71623-71706 i2c: 4e +72500-72585 i2c: 4f +73410-73493 i2c: 50 +74299-74382 i2c: 51 +75125-75208 i2c: 52 +75946-76031 i2c: 53 +76613-76696 i2c: 54 +77426-77509 i2c: 55 +78247-78330 i2c: 56 +79023-79106 i2c: 57 +79820-79903 i2c: 58 +80697-80780 i2c: 59 +81516-81601 i2c: 5a +82419-82504 i2c: 5b +83245-83328 i2c: 5c +84152-84237 i2c: 5d +84992-85075 i2c: 5e +85888-85971 i2c: 5f +86787-86872 i2c: 60 +87608-87693 i2c: 61 +88278-88361 i2c: 62 +89091-89176 i2c: 63 +89978-90063 i2c: 64 +90784-90867 i2c: 65 +91593-91677 i2c: 66 +92396-92481 i2c: 67 +93191-93276 i2c: 68 +94055-94138 i2c: 69 +94870-94954 i2c: 6a +95766-95851 i2c: 6b +96594-96679 i2c: 6c +97411-97494 i2c: 6d +98086-98170 i2c: 6e +98893-98978 i2c: 6f +99820-99905 i2c: 70 +100694-100777 i2c: 71 +101606-101689 i2c: 72 +102447-102532 i2c: 73 +103286-103371 i2c: 74 +104179-104262 i2c: 75 +105002-105087 i2c: 76 +105877-105960 i2c: 77 +106691-106776 i2c: 78 +107561-107644 i2c: 79 +108401-108486 i2c: 7a +109205-109290 i2c: 7b +110097-110180 i2c: 7c +110902-110987 i2c: 7d +111785-111868 i2c: 7e +112611-112694 i2c: 7f +113497-113580 i2c: 80 +114281-114364 i2c: 81 +115085-115170 i2c: 82 +115976-116061 i2c: 83 +116802-116887 i2c: 84 +117705-117788 i2c: 85 +118520-118603 i2c: 86 +119394-119477 i2c: 87 +120212-120297 i2c: 88 +121108-121191 i2c: 89 +121926-122011 i2c: 8a +122743-122826 i2c: 8b +123651-123734 i2c: 8c +124470-124555 i2c: 8d +125373-125458 i2c: 8e +126194-126279 i2c: 8f +127155-127240 i2c: 90 +127996-128081 i2c: 91 +128895-128978 i2c: 92 +129722-129807 i2c: 93 +130549-130634 i2c: 94 +131474-131558 i2c: 95 +132301-132386 i2c: 96 +133221-133304 i2c: 97 +134046-134129 i2c: 98 +134925-135008 i2c: 99 +135754-135839 i2c: 9a +136579-136663 i2c: 9b +137460-137543 i2c: 9c +138273-138358 i2c: 9d +139179-139262 i2c: 9e +139993-140078 i2c: 9f +140945-141030 i2c: a0 +141785-141870 i2c: a1 +142676-142759 i2c: a2 +143495-143580 i2c: a3 +144311-144396 i2c: a4 +144984-145069 i2c: a5 +145798-145881 i2c: a6 +146637-146720 i2c: a7 +147696-147780 i2c: a8 +148654-148739 i2c: a9 +149439-149522 i2c: aa +150148-150231 i2c: ab +150970-151055 i2c: ac +151780-151863 i2c: ad +152665-152750 i2c: ae +153500-153585 i2c: af +154462-154545 i2c: b0 +155298-155383 i2c: b1 +156123-156208 i2c: b2 +157014-157099 i2c: b3 +157829-157912 i2c: b4 +158820-158905 i2c: b5 +159645-159728 i2c: b6 +160549-160634 i2c: b7 +161366-161451 i2c: b8 +162253-162336 i2c: b9 +163108-163193 i2c: ba +163933-164016 i2c: bb +164826-164910 i2c: bc +165651-165736 i2c: bd +166551-166634 i2c: be +167368-167453 i2c: bf +168321-168404 i2c: c0 +169147-169230 i2c: c1 +170040-170125 i2c: c2 +170878-170962 i2c: c3 +171695-171778 i2c: c4 +172364-172447 i2c: c5 +173178-173261 i2c: c6 +174000-174083 i2c: c7 +174771-174856 i2c: c8 +175556-175639 i2c: c9 +176434-176517 i2c: ca +177251-177336 i2c: cb +178157-178240 i2c: cc +178994-179077 i2c: cd +179869-179952 i2c: ce +180690-180773 i2c: cf +181655-181740 i2c: d0 +182486-182571 i2c: d1 +183315-183400 i2c: d2 +184215-184300 i2c: d3 +185023-185108 i2c: d4 +185916-185999 i2c: d5 +186743-186828 i2c: d6 +187629-187712 i2c: d7 +188454-188538 i2c: d8 +189275-189360 i2c: d9 +189949-190034 i2c: da +190765-190848 i2c: db +191592-191675 i2c: dc +192650-192733 i2c: dd +193626-193709 i2c: de +194534-194617 i2c: df +195366-195451 i2c: e0 +196188-196273 i2c: e1 +196977-197060 i2c: e2 +197856-197941 i2c: e3 +198674-198757 i2c: e4 +199544-199627 i2c: e5 +200364-200447 i2c: e6 +201254-201337 i2c: e7 +202075-202158 i2c: e8 +202891-202974 i2c: e9 +203805-203890 i2c: ea +204623-204708 i2c: eb +205524-205607 i2c: ec +206344-206429 i2c: ed +207218-207303 i2c: ee +208043-208126 i2c: ef +209005-209090 i2c: f0 +209839-209922 i2c: f1 +210663-210747 i2c: f2 +211565-211650 i2c: f3 +212381-212464 i2c: f4 +213279-213364 i2c: f5 +214113-214196 i2c: f6 +214998-215081 i2c: f7 +215834-215917 i2c: f8 +216644-216729 i2c: f9 +217313-217398 i2c: fa +218132-218215 i2c: fb +218940-219025 i2c: fc +219721-219804 i2c: fd +220507-220592 i2c: fe +221374-221459 i2c: ff -- cgit v1.2.3-54-g00ecf