irena-avr/sologse/README

53 lines
1.6 KiB
Text
Raw Permalink Normal View History

All commands have to end with either of [\r, \n, 0x00]
'I' Print system infos.
[Options]
'I' Current state of all 4 ports (1x 32bit hex).
'P' Power. Voltage, current and temperature readings of the ADC (each as 16bit hex).
'T' Current onboard time. (1x 32bit hex).
'V' Version string. Info about the firmware version.
'M' Mode select. Change mode of different modules.
[Options]
'P' Power. Enable/disable logging of voltage/current.
[Options]
'0' Disable logging.
'1' Enable logging.
'U' USART BAUD. Change the speed at which the USART communicates.
[Options]
'0' Set speed to 38400bps.
'1' Set speed to 115400bps.
'T' Sync onboard clock. WARNING: This also resets the 1HZ clock.
'S' Change data order of the SPI.
[options]
'L' Lsb first.
'M' Msb first.
'F' Set/Get status of FPGA.
[Options]
'N' Set NCONFIG pin.
[Options]
'0' Set NCONFIG low.
'1' Set NCONFIG high.
'C' Set CONFDONE pin.
[Options]
'0' Set CONFDONE low.
'1' Set CONFDONE high.
'S' Print NSTATUS ('0' or '1').
':' Send intel hex data through SPI/FPGA.
[Options]
'0-9a-fA-F' Intel hex compliant command string (only data and eof record types are supported).
';' Send raw bytes (format similar to intel hex) via SPI/FPGA.
'#' Send raw bytes (no format) via SPI/FPGA.
'C' Set pulse width of clock output.
[Options]
'0-9a-fA-F' Number of tick left out between pulses. (1x byte (2 chars)).
'T' Set onboard time.
[Options]
'0-9a-fA-F' New time (4x byte (8 chars)).