Changes between Version 2 and Version 3 of WikiStart


Ignore:
Timestamp:
Mar 8, 2017, 6:34:03 PM (7 years ago)
Author:
bouyer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v2 v3  
    1717RB0-RB3 are used to get 4 GPIO status from the SoC.
    1818
     19Each sample reported to the host is composed of 3 values: GPIO state (integer between 0 and 15), voltage (AN0 value between 0 and 4095) and current (AN1 value between 0 and 95), in the format: ''gvvvcccX'', with ''g'', ''v'' and ''c'' being hexadecimal digits and ''X'' being the letter X used as separator. With 8 bytes per sample, at 921600 bauds we could report in theory up to 11520 samples/s. To be safe we choose to run at 5000 samples/s (which requires 10000 A/D conversions/s).
    1920
    20 
    21