Skip to content

Commit 12dac92

Browse files
committed
doc: Add more details about supported CCCs
Signed-off-by: Tomasz Michalak <[email protected]>
1 parent a656f35 commit 12dac92

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

doc/source/ccc.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,20 @@ The following Broadcast CCCs are currently supported by the core (all required B
1313
* SETMWL (R) - Set Max Write Length
1414
* SETMRL (R) - Set Max Read Length
1515
* SETAASA (O) - Set All Addresses to Static Adresses
16+
* ENTDAA (R) - Enter Dynamic Address Assignment
17+
* RSTDAA (R) - Direct Reset Dynamic Address Assignment - this direct CCC is deprecated, the core NACKs this command as per the spec
1618
* RSTACT (R) - Target Reset Action
19+
* Broadcast (Format 1) supports defining bytes 0x0, 0x1 and 0x2
1720

1821
## Direct CCCs
1922

2023
The following Direct CCCs are currently supported by the core (all required Direct CCCs, plus several optional/conditional ones):
2124

2225
* ENEC (R) - Enable Events Command
2326
* DISEC (R) - Disable Events Command
24-
* RSTDAA (R) - Direct Reset Dynamic Address Assignment - this direct CCC is deprecated, the core NACKs this command as per the spec
2527
* SETDASA (O) - Set Dynamic Address from Static Address
28+
* Primary (Format 1)
29+
* SETNEWDA (C) - Set New Dynamic Address
2630
* SETMWL (R) - Set Max Write Length
2731
* SETMRL (R) - Set Max Read Length
2832
* GETMWL (R) - Get Max Write Length
@@ -31,4 +35,9 @@ The following Direct CCCs are currently supported by the core (all required Dire
3135
* GETBCR (C) - Get Bus Characteristics Register
3236
* GETDCR (C) - Get Device Characteristics Register
3337
* GETSTATUS (R) - Get Device Status
38+
* The two-byte format (Format 1)
39+
* GETCAPS (R) - Get Optional Feature Capabilities
40+
* Without defining byte ( Format 1)
3441
* RSTACT (R) - Target Reset Action
42+
* Direct Write (Format 2) supports defining bytes 0x0, 0x1 and 0x2
43+
* Direct Read (Format 3) supports defining bytes 0x81 and 0x82 and returns the 0xFF as recovery timing

src/ctrl/ccc.sv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,6 @@ module ccc
868868
// n Bytes
869869
`I3C_DIRECT_GETCAPS: begin
870870
tx_data_id_init = 8'h03;
871-
// FIXME: Check that this configuration is correct
872871
if (tx_data_id == 8'h03) tx_data = 8'h00; // We don't support HDR Modes
873872
else if (tx_data_id == 8'h02) tx_data = 8'h01; // We support I3C Basic v1.1.1
874873
else if (tx_data_id == 8'h01) tx_data = 8'h40; // We send IBI MDB

0 commit comments

Comments
 (0)