Commit 0c9d92ec authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

Merge branch '80-socket-can-driver-low-level-draft' into 'master'

Resolve "Socket CAN driver low level draft"

Closes #80

See merge request illeondr/CAN_FD_IP_Core!49
parents d44de0fe 69934a36
......@@ -6013,8 +6013,9 @@ status open
\noindent
\align center
\begin_inset Graphics
filename ../pics/UNIT_scheme.emf
filename ../pics/Visio_generated/unit_test_diagram.pdf
lyxscale 20
scale 70
\end_inset
......@@ -6469,8 +6470,9 @@ status open
\noindent
\align center
\begin_inset Graphics
filename ../pics/Feature_env.emf
filename ../pics/Visio_generated/Feature_env.pdf
lyxscale 20
scale 70
\end_inset
......@@ -7157,8 +7159,9 @@ status open
\noindent
\align center
\begin_inset Graphics
filename ../pics/sanity_env.emf
filename ../pics/Visio_generated/sanity_env.pdf
lyxscale 20
scale 70
\end_inset
......@@ -7354,8 +7357,9 @@ status open
\noindent
\align center
\begin_inset Graphics
filename ../pics/bt.emf
filename ../pics/Visio_generated/bus_topology.pdf
lyxscale 20
scale 70
\end_inset
......@@ -7431,8 +7435,9 @@ status open
\noindent
\align center
\begin_inset Graphics
filename ../pics/star_topology.emf
filename ../pics/Visio_generated/star_topology.pdf
lyxscale 20
scale 70
\end_inset
......@@ -7508,8 +7513,9 @@ status open
\noindent
\align center
\begin_inset Graphics
filename ../pics/tree_topology.emf
filename ../pics/Visio_generated/tree_topology.pdf
lyxscale 20
scale 70
\end_inset
......@@ -7585,8 +7591,9 @@ status open
\noindent
\align center
\begin_inset Graphics
filename ../pics/ring_topology.emf
filename ../pics/Visio_generated/ring_topology.pdf
lyxscale 20
scale 70
\end_inset
......
......@@ -3384,7 +3384,7 @@ status open
\begin_inset Caption Standard
\begin_layout Plain Layout
RX Buffer memory layout
TXT Buffer state machine
\begin_inset CommandInset label
LatexCommand label
name "fig:TXT_Buffer"
......@@ -6013,7 +6013,7 @@ status open
\noindent
\align center
\begin_inset Graphics
filename ../pics/UNIT_scheme.emf
filename ../pics/Visio_generated/unit_test_diagram.pdf
lyxscale 20
\end_inset
......@@ -6469,7 +6469,7 @@ status open
\noindent
\align center
\begin_inset Graphics
filename ../pics/Feature_env.emf
filename ../pics/Visio_generated/Feature_env.pdf
lyxscale 20
\end_inset
......@@ -7157,7 +7157,7 @@ status open
\noindent
\align center
\begin_inset Graphics
filename ../pics/sanity_env.emf
filename ../pics/Visio_generated/sanity_env.pdf
lyxscale 20
\end_inset
......@@ -7354,7 +7354,7 @@ status open
\noindent
\align center
\begin_inset Graphics
filename ../pics/bt.emf
filename ../pics/Visio_generated/bus_topology.pdf
lyxscale 20
\end_inset
......@@ -7431,7 +7431,7 @@ status open
\noindent
\align center
\begin_inset Graphics
filename ../pics/star_topology.emf
filename ../pics/Visio_generated/star_topology.pdf
lyxscale 20
\end_inset
......@@ -7508,7 +7508,7 @@ status open
\noindent
\align center
\begin_inset Graphics
filename ../pics/tree_topology.emf
filename ../pics/Visio_generated/tree_topology.pdf
lyxscale 20
\end_inset
......@@ -7585,7 +7585,7 @@ status open
\noindent
\align center
\begin_inset Graphics
filename ../pics/ring_topology.emf
filename ../pics/Visio_generated/ring_topology.pdf
lyxscale 20
\end_inset
......
......@@ -715,7 +715,7 @@ hyperref[INT_MASK_CLR]{INT\backslash textunderscore MASK\backslash textunderscor
status open
\begin_layout Plain Layout
\backslash
hyperref[BTR_FD]{BTR\backslash textunderscore FD}\end_layout
hyperref[BTR]{BTR}\end_layout
\end_inset
\end_layout
......@@ -729,13 +729,13 @@ hyperref[BTR_FD]{BTR\backslash textunderscore FD}\end_layout
status open
\begin_layout Plain Layout
\backslash
hyperref[BTR_FD]{BTR\backslash textunderscore FD}\end_layout
hyperref[BTR]{BTR}\end_layout
\end_inset
\end_layout
\end_inset
</cell>
<cell alignment="center" leftline="true" multicolumn="1" topline="true" usebox="none" valignment="top">
<cell alignment="center" leftline="true" multicolumn="2" topline="true" usebox="none" valignment="top">
\begin_inset Text
\begin_layout Plain Layout
......@@ -781,13 +781,13 @@ hyperref[BTR]{BTR}\end_layout
status open
\begin_layout Plain Layout
\backslash
hyperref[BRP_FD]{BRP\backslash textunderscore FD}\end_layout
hyperref[BTR_FD]{BTR\backslash textunderscore FD}\end_layout
\end_inset
\end_layout
\end_inset
</cell>
<cell alignment="center" leftline="true" multicolumn="1" topline="true" usebox="none" valignment="top">
<cell alignment="center" leftline="true" multicolumn="2" topline="true" usebox="none" valignment="top">
\begin_inset Text
\begin_layout Plain Layout
......@@ -795,13 +795,13 @@ hyperref[BRP_FD]{BRP\backslash textunderscore FD}\end_layout
status open
\begin_layout Plain Layout
\backslash
hyperref[BRP]{BRP}\end_layout
hyperref[BTR_FD]{BTR\backslash textunderscore FD}\end_layout
\end_inset
\end_layout
\end_inset
</cell>
<cell alignment="center" leftline="true" multicolumn="1" topline="true" usebox="none" valignment="top">
<cell alignment="center" leftline="true" multicolumn="2" topline="true" usebox="none" valignment="top">
\begin_inset Text
\begin_layout Plain Layout
......@@ -809,13 +809,13 @@ hyperref[BRP]{BRP}\end_layout
status open
\begin_layout Plain Layout
\backslash
hyperref[SJW]{SJW}\end_layout
hyperref[BTR_FD]{BTR\backslash textunderscore FD}\end_layout
\end_inset
\end_layout
\end_inset
</cell>
<cell alignment="center" leftline="true" multicolumn="1" topline="true" usebox="none" valignment="top">
<cell alignment="center" leftline="true" multicolumn="2" topline="true" usebox="none" valignment="top">
\begin_inset Text
\begin_layout Plain Layout
......@@ -823,7 +823,7 @@ hyperref[SJW]{SJW}\end_layout
status open
\begin_layout Plain Layout
\backslash
hyperref[ALC]{ALC}\end_layout
hyperref[BTR_FD]{BTR\backslash textunderscore FD}\end_layout
\end_inset
\end_layout
......@@ -2121,13 +2121,7 @@ hyperref[TX_PRIORITY]{TX\backslash textunderscore PRIORITY}\end_layout
\begin_inset Text
\begin_layout Plain Layout
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
hyperref[ERR_CAPT]{ERR\backslash textunderscore CAPT}\end_layout
\end_inset
\end_layout
Reserved\end_layout
\end_inset
</cell>
......@@ -2135,17 +2129,11 @@ hyperref[ERR_CAPT]{ERR\backslash textunderscore CAPT}\end_layout
\begin_inset Text
\begin_layout Plain Layout
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
hyperref[ERR_CAPT]{ERR\backslash textunderscore CAPT}\end_layout
\end_inset
\end_layout
Reserved\end_layout
\end_inset
</cell>
<cell alignment="center" leftline="true" multicolumn="2" topline="true" usebox="none" valignment="top">
<cell alignment="center" leftline="true" multicolumn="1" topline="true" usebox="none" valignment="top">
\begin_inset Text
\begin_layout Plain Layout
......@@ -2153,13 +2141,13 @@ hyperref[ERR_CAPT]{ERR\backslash textunderscore CAPT}\end_layout
status open
\begin_layout Plain Layout
\backslash
hyperref[ERR_CAPT]{ERR\backslash textunderscore CAPT}\end_layout
hyperref[ALC]{ALC}\end_layout
\end_inset
\end_layout
\end_inset
</cell>
<cell alignment="center" leftline="true" multicolumn="2" topline="true" usebox="none" valignment="top">
<cell alignment="center" leftline="true" multicolumn="1" topline="true" usebox="none" valignment="top">
\begin_inset Text
\begin_layout Plain Layout
......@@ -3057,7 +3045,8 @@ Reset value\end_layout
\end_layout
\begin_layout Description
DEVICE_ID Device ID
DEVICE_ID Device ID\begin_inset Newline newline\end_inset
0b1100101011111101 - CTU_CAN_FD_ID - Identifier of CTU CAN FD IP Core.
\end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
......@@ -7376,10 +7365,10 @@ Type: read-write
Address: 0x1C
\end_layout
\begin_layout Description
Size: 2 bytes
Size: 4 bytes
\end_layout
\begin_layout Standard
The length of bit time segments for Nominal bit time in Time quanta. Note that SYNC segment always lasts one Time quanta.
Bit timing register for nominal bit-rate.
\end_layout
\begin_layout Standard
\noindent
......@@ -7409,7 +7398,7 @@ Bit index\end_layout
\begin_inset Text
\begin_layout Plain Layout
15\end_layout
31\end_layout
\end_inset
</cell>
......@@ -7417,7 +7406,7 @@ Bit index\end_layout
\begin_inset Text
\begin_layout Plain Layout
14\end_layout
30\end_layout
\end_inset
</cell>
......@@ -7425,7 +7414,7 @@ Bit index\end_layout
\begin_inset Text
\begin_layout Plain Layout
13\end_layout
29\end_layout
\end_inset
</cell>
......@@ -7433,7 +7422,7 @@ Bit index\end_layout
\begin_inset Text
\begin_layout Plain Layout
12\end_layout
28\end_layout
\end_inset
</cell>
......@@ -7441,7 +7430,7 @@ Bit index\end_layout
\begin_inset Text
\begin_layout Plain Layout
11\end_layout
27\end_layout
\end_inset
</cell>
......@@ -7449,7 +7438,7 @@ Bit index\end_layout
\begin_inset Text
\begin_layout Plain Layout
10\end_layout
26\end_layout
\end_inset
</cell>
......@@ -7457,7 +7446,7 @@ Bit index\end_layout
\begin_inset Text
\begin_layout Plain Layout
9\end_layout
25\end_layout
\end_inset
</cell>
......@@ -7465,7 +7454,7 @@ Bit index\end_layout
\begin_inset Text
\begin_layout Plain Layout
8\end_layout
24\end_layout
\end_inset
</cell>
......@@ -7483,7 +7472,7 @@ Field name\end_layout
\begin_inset Text
\begin_layout Plain Layout
PH2\end_layout
SJW\end_layout
\end_inset
</cell>
......@@ -7491,7 +7480,7 @@ PH2\end_layout
\begin_inset Text
\begin_layout Plain Layout
PH2\end_layout
SJW\end_layout
\end_inset
</cell>
......@@ -7499,7 +7488,7 @@ PH2\end_layout
\begin_inset Text
\begin_layout Plain Layout
PH2\end_layout
SJW\end_layout
\end_inset
</cell>
......@@ -7507,7 +7496,7 @@ PH2\end_layout
\begin_inset Text
\begin_layout Plain Layout
PH2\end_layout
SJW\end_layout
\end_inset
</cell>
......@@ -7515,7 +7504,7 @@ PH2\end_layout
\begin_inset Text
\begin_layout Plain Layout
PH2\end_layout
SJW\end_layout
\end_inset
</cell>
......@@ -7523,7 +7512,7 @@ PH2\end_layout
\begin_inset Text
\begin_layout Plain Layout
PH1[4:2]\end_layout
BRP[7:5]\end_layout
\end_inset
</cell>
......@@ -7531,7 +7520,7 @@ PH1[4:2]\end_layout
\begin_inset Text
\begin_layout Plain Layout
PH1[4:2]\end_layout
BRP[7:5]\end_layout
\end_inset
</cell>
......@@ -7539,7 +7528,7 @@ PH1[4:2]\end_layout
\begin_inset Text
\begin_layout Plain Layout
PH1[4:2]\end_layout
BRP[7:5]\end_layout
\end_inset
</cell>
......@@ -7573,7 +7562,7 @@ Reset value\end_layout
\begin_inset Text
\begin_layout Plain Layout
1\end_layout
0\end_layout
\end_inset
</cell>
......@@ -7581,7 +7570,7 @@ Reset value\end_layout
\begin_inset Text
\begin_layout Plain Layout
0\end_layout
1\end_layout
\end_inset
</cell>
......@@ -7589,7 +7578,7 @@ Reset value\end_layout
\begin_inset Text
\begin_layout Plain Layout
1\end_layout
0\end_layout
\end_inset
</cell>
......@@ -7652,7 +7641,7 @@ Bit index\end_layout
\begin_inset Text
\begin_layout Plain Layout
7\end_layout
23\end_layout
\end_inset
</cell>
......@@ -7660,7 +7649,7 @@ Bit index\end_layout
\begin_inset Text
\begin_layout Plain Layout
6\end_layout
22\end_layout
\end_inset
</cell>
......@@ -7668,7 +7657,7 @@ Bit index\end_layout
\begin_inset Text
\begin_layout Plain Layout
5\end_layout
21\end_layout
\end_inset
</cell>
......@@ -7676,7 +7665,7 @@ Bit index\end_layout
\begin_inset Text
\begin_layout Plain Layout
4\end_layout
20\end_layout
\end_inset
</cell>
......@@ -7684,7 +7673,7 @@ Bit index\end_layout
\begin_inset Text
\begin_layout Plain Layout
3\end_layout
19\end_layout
\end_inset
</cell>
......@@ -7692,7 +7681,7 @@ Bit index\end_layout
\begin_inset Text
\begin_layout Plain Layout
2\end_layout
18\end_layout
\end_inset
</cell>
......@@ -7700,7 +7689,7 @@ Bit index\end_layout
\begin_inset Text
\begin_layout Plain Layout
1\end_layout
17\end_layout
\end_inset
</cell>
......@@ -7708,7 +7697,7 @@ Bit index\end_layout
\begin_inset Text
\begin_layout Plain Layout
0\end_layout
16\end_layout
\end_inset
</cell>
......@@ -7726,7 +7715,7 @@ Field name\end_layout
\begin_inset Text
\begin_layout Plain Layout
PH1[1:0]\end_layout
BRP[4:0]\end_layout
\end_inset
</cell>
......@@ -7734,15 +7723,15 @@ PH1[1:0]\end_layout
\begin_inset Text
\begin_layout Plain Layout
PH1[1:0]\end_layout
BRP[4:0]\end_layout
\end_inset
</cell>
<cell alignment="center" leftline="true" multicolumn="1" rightline="true" topline="true" usebox="none" valignment="top">
<cell alignment="center" leftline="true" multicolumn="2" topline="true" usebox="none" valignment="top">
\begin_inset Text
\begin_layout Plain Layout
PROP\end_layout
BRP[4:0]\end_layout
\end_inset
</cell>
......@@ -7750,7 +7739,7 @@ PROP\end_layout
\begin_inset Text
\begin_layout Plain Layout
PROP\end_layout
BRP[4:0]\end_layout
\end_inset
</cell>
......@@ -7758,15 +7747,15 @@ PROP\end_layout
\begin_inset Text
\begin_layout Plain Layout
PROP\end_layout
BRP[4:0]\end_layout
\end_inset
</cell>
<cell alignment="center" leftline="true" multicolumn="2" topline="true" usebox="none" valignment="top">
<cell alignment="center" leftline="true" multicolumn="1" rightline="true" topline="true" usebox="none" valignment="top">
\begin_inset Text
\begin_layout Plain Layout
PROP\end_layout
PH2[5:3]\end_layout
\end_inset
</cell>
......@@ -7774,7 +7763,7 @@ PROP\end_layout
\begin_inset Text
\begin_layout Plain Layout
PROP\end_layout
PH2[5:3]\end_layout
\end_inset
</cell>
......@@ -7782,7 +7771,7 @@ PROP\end_layout
\begin_inset Text
\begin_layout Plain Layout
PROP\end_layout
PH2[5:3]\end_layout
\end_inset
</cell>
......@@ -7800,7 +7789,7 @@ Reset value\end_layout
\begin_inset Text
\begin_layout Plain Layout
1\end_layout
0\end_layout
\end_inset
</cell>
......@@ -7824,7 +7813,7 @@ Reset value\end_layout
\begin_inset Text
\begin_layout Plain Layout
0\end_layout
1\end_layout
\end_inset
</cell>
......@@ -7840,7 +7829,7 @@ Reset value\end_layout
\begin_inset Text
\begin_layout Plain Layout
1\end_layout
0\end_layout
\end_inset
</cell>
......@@ -7856,7 +7845,7 @@ Reset value\end_layout
\begin_inset Text
\begin_layout Plain Layout
1\end_layout
0\end_layout
\end_inset
</cell>
......@@ -7866,41 +7855,6 @@ Reset value\end_layout
\end_inset
\end_layout
\begin_layout Description
PROP Propagation segment - Nominal bit time
\end_layout
\begin_layout Description
PH1 Phase 1 segment - Nominal bit time
\end_layout
\begin_layout Description
PH2 Phase 2 segment - Nominal bit time
\end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
\end_layout
\begin_layout Subsection
BTR_FD
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
label{BTR_FD
}\end_layout
\end_inset
\end_layout
\begin_layout Description
Type: read-write
\end_layout
\begin_layout Description
Address: 0x1E
\end_layout
\begin_layout Description
Size: 2 bytes
\end_layout
\begin_layout Standard
Length of bit time segments for Data bit time in Time quanta. Note that SYNC segment always lasts one Time quanta.
\end_layout