Hello, i'm
newbie, excuse me if my question is not well formed.
So, i have problem decoding the signal from
Sndway sw-t4s Laser meter( i want to send the data from the meter to Arduino ) but the
TX and RX from the board are not active , so
i'm trying to decode the SPI from the display of the meter... ||So far i capture frames from the display, but i can not understand how to map it to something that i can use for Arduino....
( i will attach some captured data from 0.000mm and 3.126mm *Saleae Logic Software* )
Any help will be useful. Thanks!
This is frame from the SPI
https://ibb.co/j3qj4bQThis is what i figure out + some art
https://ibb.co/V9TgHQ1Another....
https://ibb.co/XJJ3P39This is the board
https://ibb.co/jrpCSP0The Display...
https://ibb.co/Tc397JM=========================================================================================
So i run some tests( i will post a zip file) with the settings as
"Rerouter" point me,now is a lot cleaner, and 1 step closer to decode
now i change the resolution of the meter from 0.000m to 0.00
Frame captured at 0.00m distance
Time [s],Packet ID,MOSI,MISO
-0.000016312500000,0,'16' (0x010),
0.000136437500000,1,'0' (0x000),
0.000289250000000,2,'6' (0x006),
0.000442000000000,3,'1' (0x001),
0.000595000000000,4,'1' (0x001),
0.000748062500000,5,'161' (0x0A1),
0.000900937500000,6,'1' (0x001),
0.001054000000000,7,'129' (0x081),
0.001206937500000,8,'1' (0x001),
0.001359937500000,9,'1' (0x001),
0.001513000000000,10,'449' (0x1C1),
0.001665812500000,11,'15' (0x00F),
0.001818625000000,12,'1' (0x001),
0.001971687500000,13,'1' (0x001),
0.002124687500000,14,'1' (0x001),
0.002277687500000,15,'1' (0x001),
0.002430687500000,16,'1' (0x001),
0.002583750000000,17,'16' (0x010),
0.002736500000000,18,'256' (0x100),
0.002889187500000,19,'6' (0x006),
0.003041937500000,20,'1' (0x001),
0.003194937500000,21,'1' (0x001),
0.003348000000000,22,'193' (0x0C1),
0.003500875000000,23,'1' (0x001),
0.003653875000000,24,'129' (0x081),
0.003809000000000,25,'1' (0x001),
0.003962062500000,26,'1' (0x001),
0.004115062500000,27,'321' (0x141),
0.004267937500000,28,'5' (0x005),
0.004420937500000,29,'1' (0x001),
0.004573937500000,30,'1' (0x001),
0.004726937500000,31,'1' (0x001),
0.004880000000000,32,'1' (0x001),
0.005033000000000,33,'1' (0x001),
0.005186062500000,34,'16' (0x010),
0.005338812500000,35,'128' (0x080),
0.005491562500000,36,'6' (0x006),
0.005644312500000,37,'1' (0x001),
0.005797312500000,38,'1' (0x001),
0.005950312500000,39,'129' (0x081),
0.006103312500000,40,'1' (0x001),
0.006256312500000,41,'129' (0x081),
0.006409312500000,42,'7' (0x007),
0.006562187500000,43,'1' (0x001),
0.006715187500000,44,'327' (0x147),
0.006868000000000,45,'7' (0x007),
0.007020875000000,46,'1' (0x001),
0.007173875000000,47,'1' (0x001),
0.007326937500000,48,'5' (0x005),
0.007479875000000,49,'1' (0x001),
0.007632875000000,50,'1' (0x001),
0.007785937500000,51,'16' (0x010),
0.007938687500000,52,'384' (0x180),
0.008091375000000,53,'6' (0x006),
0.008244125000000,54,'1' (0x001),
0.008397125000000,55,'1' (0x001),
0.008550187500000,56,'1' (0x001),
0.008703187500000,57,'1' (0x001),
0.008858375000000,58,'133' (0x085),
0.009011312500000,59,'1' (0x001),
0.009164312500000,60,'1' (0x001),
0.009317375000000,61,'449' (0x1C1),
0.009470187500000,62,'15' (0x00F),
0.009623000000000,63,\r (0x00D),
0.009775937500000,64,'1' (0x001),
0.009928937500000,65,'193' (0x0C1),
0.010081875000000,66,'1' (0x001),
0.010234875000000,,'1' (0x001),
Frame captured at 0.20m distance
Time [s],Packet ID,MOSI,MISO
-0.000016312500000,0,'16' (0x010),
0.000136437500000,1,'0' (0x000),
0.000289250000000,2,'6' (0x006),
0.000442000000000,3,'1' (0x001),
0.000595000000000,4,'1' (0x001),
0.000748062500000,5,'161' (0x0A1),
0.000900937500000,6,'1' (0x001),
0.001053937500000,7,'129' (0x081),
0.001206937500000,8,'1' (0x001),
0.001359937500000,9,'1' (0x001),
0.001512937500000,10,'193' (0x0C1),
0.001665875000000,11,'15' (0x00F),
0.001818687500000,12,'1' (0x001),
0.001971687500000,13,'1' (0x001),
0.002124687500000,14,'1' (0x001),
0.002277750000000,15,'1' (0x001),
0.002430750000000,16,'1' (0x001),
0.002583812500000,17,'16' (0x010),
0.002736562500000,18,'256' (0x100),
0.002889250000000,19,'6' (0x006),
0.003042000000000,20,'1' (0x001),
0.003195000000000,21,'1' (0x001),
0.003348000000000,22,'193' (0x0C1),
0.003500937500000,23,'1' (0x001),
0.003653937500000,24,'129' (0x081),
0.003809062500000,25,'1' (0x001),
0.003962062500000,26,'1' (0x001),
0.004115062500000,27,'321' (0x141),
0.004267937500000,28,'7' (0x007),
0.004420875000000,29,'1' (0x001),
0.004573875000000,30,'1' (0x001),
0.004726875000000,31,'1' (0x001),
0.004879875000000,32,'1' (0x001),
0.005032875000000,33,'1' (0x001),
0.005185875000000,34,'16' (0x010),
0.005338625000000,35,'128' (0x080),
0.005491375000000,36,'6' (0x006),
0.005644125000000,37,'1' (0x001),
0.005797125000000,38,'1' (0x001),
0.005950125000000,39,'129' (0x081),
0.006103062500000,40,'1' (0x001),
0.006256125000000,41,'129' (0x081),
0.006409062500000,42,'7' (0x007),
0.006561937500000,43,'1' (0x001),
0.006714937500000,44,'327' (0x147),
0.006867687500000,45,'7' (0x007),
0.007020562500000,46,'1' (0x001),
0.007173562500000,47,'1' (0x001),
0.007326562500000,48,'5' (0x005),
0.007479500000000,49,'1' (0x001),
0.007632562500000,50,'1' (0x001),
0.007785562500000,51,'16' (0x010),
0.007938312500000,52,'384' (0x180),
0.008091000000000,53,'6' (0x006),
0.008243750000000,54,'1' (0x001),
0.008396750000000,55,'1' (0x001),
0.008549750000000,56,'1' (0x001),
0.008702750000000,57,'1' (0x001),
0.008857937500000,58,'133' (0x085),
0.009010812500000,59,'1' (0x001),
0.009163875000000,60,'1' (0x001),
0.009316875000000,61,'449' (0x1C1),
0.009469687500000,62,\r (0x00D),
0.009622562500000,63,\r (0x00D),
0.009775437500000,64,'1' (0x001),
0.009928437500000,65,'193' (0x0C1),
0.010081312500000,66,'1' (0x001),
0.010234375000000,,'1' (0x001),
Frame captured at 0.50m distance
Time [s],Packet ID,MOSI,MISO
-0.000016312500000,0,'16' (0x010),
0.000136437500000,1,'0' (0x000),
0.000289187500000,2,'6' (0x006),
0.000441937500000,3,'1' (0x001),
0.000594937500000,4,'1' (0x001),
0.000747937500000,5,'161' (0x0A1),
0.000900812500000,6,'1' (0x001),
0.001053812500000,7,'129' (0x081),
0.001206750000000,8,'1' (0x001),
0.001359750000000,9,'1' (0x001),
0.001512750000000,10,'449' (0x1C1),
0.001665562500000,11,\r (0x00D),
0.001818437500000,12,'1' (0x001),
0.001971437500000,13,'1' (0x001),
0.002124437500000,14,'1' (0x001),
0.002277437500000,15,'1' (0x001),
0.002430500000000,16,'1' (0x001),
0.002583500000000,17,'16' (0x010),
0.002736250000000,18,'256' (0x100),
0.002888937500000,19,'6' (0x006),
0.003041687500000,20,'1' (0x001),
0.003194687500000,21,'1' (0x001),
0.003347687500000,22,'193' (0x0C1),
0.003500562500000,23,'1' (0x001),
0.003653562500000,24,'129' (0x081),
0.003808625000000,25,'1' (0x001),
0.003961687500000,26,'1' (0x001),
0.004114687500000,27,A (0x041),
0.004267625000000,28,'7' (0x007),
0.004420500000000,29,'1' (0x001),
0.004573500000000,30,'1' (0x001),
0.004726500000000,31,'1' (0x001),
0.004879500000000,32,'1' (0x001),
0.005032500000000,33,'1' (0x001),
0.005185562500000,34,'16' (0x010),
0.005338250000000,35,'128' (0x080),
0.005491000000000,36,'6' (0x006),
0.005643687500000,37,'1' (0x001),
0.005796687500000,38,'1' (0x001),
0.005949750000000,39,'129' (0x081),
0.006102687500000,40,'1' (0x001),
0.006255687500000,41,'129' (0x081),
0.006408625000000,42,'7' (0x007),
0.006561562500000,43,'1' (0x001),
0.006714562500000,44,'327' (0x147),
0.006867312500000,45,'7' (0x007),
0.007020187500000,46,'1' (0x001),
0.007173187500000,47,'1' (0x001),
0.007326187500000,48,'5' (0x005),
0.007479187500000,49,'1' (0x001),
0.007632187500000,50,'1' (0x001),
0.007785250000000,51,'16' (0x010),
0.007937937500000,52,'384' (0x180),
0.008090625000000,53,'6' (0x006),
0.008243375000000,54,'1' (0x001),
0.008396375000000,55,'1' (0x001),
0.008549375000000,56,'1' (0x001),
0.008702375000000,57,'1' (0x001),
0.008857562500000,58,'133' (0x085),
0.009010437500000,59,'1' (0x001),
0.009163437500000,60,'1' (0x001),
0.009316437500000,61,'449' (0x1C1),
0.009469250000000,62,'15' (0x00F),
0.009622062500000,63,\r (0x00D),
0.009774937500000,64,'1' (0x001),
0.009927937500000,65,'193' (0x0C1),
0.010080875000000,66,'1' (0x001),
0.010233875000000,,'1' (0x001),
Frame captured at 1.00m distance
Time [s],Packet ID,MOSI,MISO
-0.000016312500000,0,'16' (0x010),
0.000136500000000,1,'0' (0x000),
0.000289312500000,2,'6' (0x006),
0.000442062500000,3,'1' (0x001),
0.000595125000000,4,'1' (0x001),
0.000748125000000,5,'161' (0x0A1),
0.000901000000000,6,'1' (0x001),
0.001054062500000,7,'129' (0x081),
0.001207000000000,8,'1' (0x001),
0.001360062500000,9,'1' (0x001),
0.001513062500000,10,'449' (0x1C1),
0.001665937500000,11,'7' (0x007),
0.001818812500000,12,'1' (0x001),
0.001971812500000,13,'1' (0x001),
0.002124875000000,14,'1' (0x001),
0.002277937500000,15,'1' (0x001),
0.002430937500000,16,'1' (0x001),
0.002584000000000,17,'16' (0x010),
0.002736812500000,18,'256' (0x100),
0.002889500000000,19,'6' (0x006),
0.003042312500000,20,'1' (0x001),
0.003195312500000,21,'1' (0x001),
0.003348375000000,22,'193' (0x0C1),
0.003501250000000,23,'1' (0x001),
0.003654312500000,24,'129' (0x081),
0.003809437500000,25,'1' (0x001),
0.003962437500000,26,'1' (0x001),
0.004115500000000,27,'321' (0x141),
0.004268437500000,28,'5' (0x005),
0.004421375000000,29,'1' (0x001),
0.004574375000000,30,'1' (0x001),
0.004727437500000,31,'1' (0x001),
0.004880437500000,32,'1' (0x001),
0.005033500000000,33,'1' (0x001),
0.005186500000000,34,'16' (0x010),
0.005339312500000,35,'128' (0x080),
0.005492000000000,36,'6' (0x006),
0.005644812500000,37,'1' (0x001),
0.005797812500000,38,'1' (0x001),
0.005950812500000,39,'129' (0x081),
0.006103812500000,40,'1' (0x001),
0.006256812500000,41,'129' (0x081),
0.006409812500000,42,'7' (0x007),
0.006562750000000,43,'1' (0x001),
0.006715750000000,44,'327' (0x147),
0.006868562500000,45,'3' (0x003),
0.007021500000000,46,'1' (0x001),
0.007174500000000,47,'1' (0x001),
0.007327562500000,48,'5' (0x005),
0.007480562500000,49,'1' (0x001),
0.007633562500000,50,'1' (0x001),
0.007786625000000,51,'16' (0x010),
0.007939375000000,52,'384' (0x180),
0.008092062500000,53,'6' (0x006),
0.008244812500000,54,'1' (0x001),
0.008397875000000,55,'1' (0x001),
0.008550875000000,56,'1' (0x001),
0.008703937500000,57,'1' (0x001),
0.008859062500000,58,'133' (0x085),
0.009012000000000,59,'1' (0x001),
0.009165000000000,60,'1' (0x001),
0.009318062500000,61,'449' (0x1C1),
0.009470937500000,62,'3' (0x003),
0.009623875000000,63,\r (0x00D),
0.009776812500000,64,'1' (0x001),
0.009929875000000,65,'193' (0x0C1),
0.010082750000000,66,'1' (0x001),
0.010235812500000,,'1' (0x001),
Frame captured at 1.11m distance
Time [s],Packet ID,MOSI,MISO
-0.000016250000000,0,'16' (0x010),
0.000136500000000,1,'0' (0x000),
0.000289312500000,2,'6' (0x006),
0.000442062500000,3,'1' (0x001),
0.000595062500000,4,'1' (0x001),
0.000748062500000,5,'161' (0x0A1),
0.000900937500000,6,'1' (0x001),
0.001054000000000,7,'129' (0x081),
0.001206937500000,8,'1' (0x001),
0.001360000000000,9,'1' (0x001),
0.001513000000000,10,'321' (0x141),
0.001665875000000,11,'5' (0x005),
0.001818812500000,12,'1' (0x001),
0.001971875000000,13,'1' (0x001),
0.002124875000000,14,'1' (0x001),
0.002277937500000,15,'1' (0x001),
0.002430937500000,16,'1' (0x001),
0.002584000000000,17,'16' (0x010),
0.002736750000000,18,'256' (0x100),
0.002889500000000,19,'6' (0x006),
0.003042250000000,20,'1' (0x001),
0.003195250000000,21,'1' (0x001),
0.003348250000000,22,'193' (0x0C1),
0.003501187500000,23,'1' (0x001),
0.003654187500000,24,'129' (0x081),
0.003809250000000,25,'1' (0x001),
0.003962312500000,26,'1' (0x001),
0.004115312500000,27,'321' (0x141),
0.004268187500000,28,'5' (0x005),
0.004421125000000,29,'1' (0x001),
0.004574187500000,30,'1' (0x001),
0.004727187500000,31,'1' (0x001),
0.004880187500000,32,'1' (0x001),
0.005033187500000,33,'1' (0x001),
0.005186250000000,34,'16' (0x010),
0.005339000000000,35,'128' (0x080),
0.005491750000000,36,'6' (0x006),
0.005644500000000,37,'1' (0x001),
0.005797500000000,38,'1' (0x001),
0.005950500000000,39,'129' (0x081),
0.006103500000000,40,'1' (0x001),
0.006256500000000,41,'129' (0x081),
0.006409437500000,42,'7' (0x007),
0.006562312500000,43,'1' (0x001),
0.006715375000000,44,'7' (0x007),
0.006868250000000,45,'3' (0x003),
0.007021250000000,46,'1' (0x001),
0.007174250000000,47,'1' (0x001),
0.007327250000000,48,'5' (0x005),
0.007480250000000,49,'1' (0x001),
0.007633250000000,50,'1' (0x001),
0.007786312500000,51,'16' (0x010),
0.007939062500000,52,'384' (0x180),
0.008091750000000,53,'6' (0x006),
0.008244500000000,54,'1' (0x001),
0.008397500000000,55,'1' (0x001),
0.008550500000000,56,'1' (0x001),
0.008703500000000,57,'1' (0x001),
0.008858687500000,58,'133' (0x085),
0.009011562500000,59,'1' (0x001),
0.009164625000000,60,'1' (0x001),
0.009317625000000,61,'1' (0x001),
0.009470625000000,62,'1' (0x001),
0.009623625000000,63,\r (0x00D),
0.009776562500000,64,'1' (0x001),
0.009929562500000,65,'193' (0x0C1),
0.010082437500000,66,'1' (0x001),
0.010235500000000,,'1' (0x001),