From: Uwe Hermann Date: Sat, 11 Apr 2020 12:27:55 +0000 (+0200) Subject: ad5626: Add a test-case. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b23266227ada677fd5c25a5083cd0fe46b15dae9;p=sigrok-test.git ad5626: Add a test-case. --- diff --git a/decoder/test/ad5626/ad5626_write_dac.output b/decoder/test/ad5626/ad5626_write_dac.output new file mode 100644 index 0000000..a766a5d --- /dev/null +++ b/decoder/test/ad5626/ad5626_write_dac.output @@ -0,0 +1,80 @@ +50-132 ad5626: voltage: "0.100V" +48838-48920 ad5626: voltage: "0.150V" +95759-95841 ad5626: voltage: "0.200V" +143268-143351 ad5626: voltage: "0.250V" +190099-190181 ad5626: voltage: "0.300V" +237156-237238 ad5626: voltage: "0.350V" +284267-284349 ad5626: voltage: "0.399V" +330816-330899 ad5626: voltage: "0.449V" +377443-377526 ad5626: voltage: "0.499V" +423830-423913 ad5626: voltage: "0.549V" +470303-470386 ad5626: voltage: "0.600V" +516723-516805 ad5626: voltage: "0.650V" +565833-565916 ad5626: voltage: "0.700V" +612649-612732 ad5626: voltage: "0.750V" +659189-659271 ad5626: voltage: "0.800V" +706051-706133 ad5626: voltage: "0.850V" +752861-752944 ad5626: voltage: "0.900V" +799252-799335 ad5626: voltage: "0.950V" +845677-845759 ad5626: voltage: "1.000V" +893276-893359 ad5626: voltage: "1.050V" +939847-939929 ad5626: voltage: "1.100V" +987129-987211 ad5626: voltage: "1.150V" +1034408-1034491 ad5626: voltage: "1.200V" +1080863-1080945 ad5626: voltage: "1.250V" +1128005-1128087 ad5626: voltage: "1.300V" +1174724-1174807 ad5626: voltage: "1.350V" +1221572-1221655 ad5626: voltage: "1.400V" +1267923-1268006 ad5626: voltage: "1.450V" +1315644-1315726 ad5626: voltage: "1.500V" +1362835-1362917 ad5626: voltage: "1.550V" +1410017-1410099 ad5626: voltage: "1.600V" +1456825-1456907 ad5626: voltage: "1.650V" +1503198-1503280 ad5626: voltage: "1.700V" +1549661-1549744 ad5626: voltage: "1.750V" +1597194-1597277 ad5626: voltage: "1.800V" +1649031-1649114 ad5626: voltage: "1.850V" +1695563-1695646 ad5626: voltage: "1.900V" +1742237-1742319 ad5626: voltage: "1.950V" +1789122-1789205 ad5626: voltage: "2.000V" +1836291-1836373 ad5626: voltage: "2.050V" +1883212-1883295 ad5626: voltage: "2.100V" +1929858-1929941 ad5626: voltage: "2.150V" +1976663-1976745 ad5626: voltage: "2.200V" +2023283-2023366 ad5626: voltage: "2.250V" +2070063-2070145 ad5626: voltage: "2.300V" +2117641-2117724 ad5626: voltage: "2.349V" +2164566-2164648 ad5626: voltage: "2.399V" +2210969-2211051 ad5626: voltage: "2.449V" +2257502-2257585 ad5626: voltage: "2.499V" +2303610-2303693 ad5626: voltage: "2.549V" +2350169-2350251 ad5626: voltage: "2.599V" +2397752-2397834 ad5626: voltage: "2.649V" +2445172-2445255 ad5626: voltage: "2.699V" +2492941-2493023 ad5626: voltage: "2.749V" +2539819-2539901 ad5626: voltage: "2.799V" +2587340-2587422 ad5626: voltage: "2.849V" +2634772-2634854 ad5626: voltage: "2.899V" +2681789-2681871 ad5626: voltage: "2.949V" +2728413-2728496 ad5626: voltage: "2.999V" +2775205-2775288 ad5626: voltage: "3.049V" +2822397-2822480 ad5626: voltage: "3.099V" +2869035-2869118 ad5626: voltage: "3.149V" +2916062-2916145 ad5626: voltage: "3.199V" +2963012-2963094 ad5626: voltage: "3.249V" +3009884-3009966 ad5626: voltage: "3.299V" +3056401-3056483 ad5626: voltage: "3.349V" +3103033-3103115 ad5626: voltage: "3.399V" +3150171-3150253 ad5626: voltage: "3.449V" +3196438-3196520 ad5626: voltage: "3.499V" +3243657-3243740 ad5626: voltage: "3.549V" +3290967-3291049 ad5626: voltage: "3.599V" +3337781-3337864 ad5626: voltage: "3.649V" +3384513-3384596 ad5626: voltage: "3.699V" +3431299-3431382 ad5626: voltage: "3.749V" +3478500-3478582 ad5626: voltage: "3.799V" +3525288-3525370 ad5626: voltage: "3.849V" +3572549-3572631 ad5626: voltage: "3.899V" +3618888-3618971 ad5626: voltage: "3.949V" +3665523-3665605 ad5626: voltage: "3.999V" +3712017-3712100 ad5626: voltage: "4.049V" diff --git a/decoder/test/ad5626/test.conf b/decoder/test/ad5626/test.conf new file mode 100644 index 0000000..b6f0cfe --- /dev/null +++ b/decoder/test/ad5626/test.conf @@ -0,0 +1,6 @@ +test ad5626_write_dac + protocol-decoder spi channel clk=0 channel mosi=1 channel cs=2 + protocol-decoder ad5626 + stack spi ad5626 + input dac/ad5626/ad5626_write_dac.sr + output ad5626 annotation match ad5626_write_dac.output