Warning: Declaration of action_plugin_indexmenu::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/lib/plugins/indexmenu/action.php on line 18 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/lib/plugins/indexmenu/action.php:0) in /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/inc/auth.php on line 495 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/lib/plugins/indexmenu/action.php:0) in /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/inc/actions.php on line 210
This is an old revision of the document!
====== Wrong encoding on the serial port? ====== What we get with the logic analyzer: <code> Time [s],Value,Parity Error,Framing Error 0.591529000000000,W (0x57),, 0.592088833333333,+ (0x2B),, 0.592720333333333,1 (0x31),, 0.593911750000000,9 (0x39),, 0.594445583333333,. (0x2E),, 0.595435166666667,6 (0x36),, 0.595978750000000,0 (0x30),, 0.596512583333333,0 (0x30),, 0.597056250000000,0 (0x30),, 0.597658416666667,0 (0x30),, 0.598202083333333,0 (0x30),, 0.598735916666667,0 (0x30),, 0.599289250000000,N (0x4E),, 0.599901250000000,3 (0x33),, 0.600483916666667,2 (0x32),, 0.601017750000000,3 (0x33),, 0.601587416666667,0 (0x30),, 0.602147333333333,0 (0x30),, 0.602681166666667,. (0x2E),, 0.603315916666667,1 (0x31),, 0.603869250000000,N (0x4E),, 0.604406416666667,? (0x3F),, 0.604940250000000,? (0x3F),, 0.605474083333333,? (0x3F),, 0.606007916666667,? (0x3F),, 0.606541750000000,? (0x3F),, 0.607075583333333,? (0x3F),, 0.607658333333333,? (0x3F),, 0.608192166666667,? (0x3F),, 0.608726000000000,? (0x3F),, 0.609259833333333,? (0x3F),, 0.609793666666667,? (0x3F),, 0.610327500000000,? (0x3F),, 0.610858083333333,? (0x3F),, 0.611392000000000,? (0x3F),, 0.611984416666667,2 (0x32),, 0.612531250000000,0 (0x30),, 0.613074916666667,0 (0x30),, 0.613608750000000,5 (0x35),, 0.614142583333333,'3' (0x03),, </code> What arrives at /dev/ttyAMA0: <code> <Buffer 00 54 6a 9d 00 63 34 00 ec f6 f6 f6 f6 f6 66 4b a6 96 e6 e6 36 f3 66 2b 2c 2c 4c 58 58 18 60 60 60 60 60 60 60 60 b3 f6 56 96> </code> ===== Horizontally represented: ===== <code> 00 54 61 9d 00 ... </code> instead of <code> 57 2B 31 39 ... </code>
Back to top