Editing Talk:SC Communication
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== Syscon packets == | == Syscon packets == | ||
Line 368: | Line 20: | ||
</pre> | </pre> | ||
* Although this service is not used on Slim and some Phat consoles anymore, it is working | * Although this service is not used on Slim and some Phat consoles anymore, it is working. | ||
* It seems it have the same restrictions as NVS service. | * It seems it have the same restrictions as NVS service. | ||
Line 387: | Line 39: | ||
</pre> | </pre> | ||
* Although this service is not used on Slim and some Phat consoles anymore, it is working | * Although this service is not used on Slim and some Phat consoles anymore, it is working. | ||
* It seems it have the same restrictions as NVS service. | * It seems it have the same restrictions as NVS service. | ||
Line 473: | Line 125: | ||
</pre> | </pre> | ||
==== | ==== Get reference clock ==== | ||
Purpose: Used to calculate an initial value of timebase register. | Purpose: Used to calculate an initial value of timebase register. | ||
<pre> | <pre> | ||
struct __attribute__ ((packed)) get_reference_clock_request_t { | struct __attribute__ ((packed)) get_reference_clock_request_t { | ||
uint8_t cmd; // 0x03 | uint8_t cmd; // 0x03 | ||
uint8_t param; // 0x10 | uint8_t param; // 0x10 | ||
}; | }; | ||
Line 678: | Line 315: | ||
==== Get syscon version ==== | ==== Get syscon version ==== | ||
Purpose: Get information about syscon version | Purpose: Get information about syscon version. | ||
<pre> | <pre> | ||
struct __attribute__ ((packed)) get_sc_version_request_t { | struct __attribute__ ((packed)) get_sc_version_request_t { | ||
Line 689: | Line 325: | ||
uint8_t padding[3]; | uint8_t padding[3]; | ||
uint16_t version; | uint16_t version; | ||
}; | }; | ||
</pre> | </pre> | ||
Line 813: | Line 434: | ||
* KickEnd Value : (packet 69): 5.8694735 seconds | * KickEnd Value : (packet 69): 5.8694735 seconds | ||
* Diff : 4.021468 seconds | * Diff : 4.021468 seconds | ||