mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
TWAI: Add ESP32-S2 support
This commit adds TWAI driver support for the ESP32-S2. The following features were added: - Expanded BRP support - Expanded CLKOUT Divider Support - Updated example READMEs
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
#Diagram of CAN Controller Acceptance Filter (Dual) Configuration
|
||||
#Diagram of Acceptance Filter (Dual) Configuration
|
||||
|
||||
packetdiag can_acceptance_filter_dual {
|
||||
packetdiag acceptance_filter_dual {
|
||||
node_width = 30
|
||||
node_height = 35
|
||||
default_fontsize = 15
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
#Diagram of CAN Controller Acceptance Filter (Single) Configuration
|
||||
#Diagram of Acceptance Filter (Single) Configuration
|
||||
|
||||
packetdiag can_acceptance_filter_single {
|
||||
packetdiag acceptance_filter_single {
|
||||
node_width = 30
|
||||
node_height = 35
|
||||
default_fontsize = 15
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#Example of bit timing configuration for 500KBPS
|
||||
|
||||
packetdiag can_bit_timing_diag{
|
||||
packetdiag bit_timing_diag{
|
||||
node_width = 40
|
||||
node_height = 35
|
||||
default_fontsize = 15
|
||||
+9
-9
@@ -1,12 +1,12 @@
|
||||
#Diagram of CAN controller signal lines
|
||||
#Diagram of TWAI controller signal lines
|
||||
|
||||
blockdiag can_controller_signals_diagram {
|
||||
blockdiag controller_signals_diagram {
|
||||
|
||||
orientation = portrait;
|
||||
span_width = 80;
|
||||
|
||||
#Column 1 nodes
|
||||
can[label = "CAN Controller", fontsize = 15, shape = roundedbox];
|
||||
twai[label = "TWAI Controller", fontsize = 15, shape = roundedbox];
|
||||
|
||||
#Column 2 nodes
|
||||
tx[label = "TX", shape = endpoint];
|
||||
@@ -25,7 +25,7 @@ blockdiag can_controller_signals_diagram {
|
||||
color = none;
|
||||
|
||||
#Group column 1 nodes vertically
|
||||
can;
|
||||
twai;
|
||||
}
|
||||
group {
|
||||
orientation = portrait;
|
||||
@@ -45,13 +45,13 @@ blockdiag can_controller_signals_diagram {
|
||||
hide1; hide2; hide3; hide4;
|
||||
}
|
||||
|
||||
can -> tx [folded];
|
||||
can -> rx [folded];
|
||||
can -> bus_off [folded];
|
||||
can -> clkout [folded];
|
||||
twai -> tx [folded];
|
||||
twai -> rx [folded, dir = none];
|
||||
twai -> bus_off [folded];
|
||||
twai -> clkout [folded];
|
||||
|
||||
tx -> hide1 [folded];
|
||||
rx -> hide2 [folded];
|
||||
rx <- hide2 [folded];
|
||||
bus_off -> hide3 [folded, label = "Optional"];
|
||||
clkout -> hide4 [folded, label = "Optional"];
|
||||
}
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
#State transition diagram of the CAN Driver
|
||||
#State transition diagram of the TWAI Driver
|
||||
|
||||
blockdiag can_state_transition_diagram {
|
||||
blockdiag state_transition_diagram {
|
||||
|
||||
orientation = landscape;
|
||||
default_fontsize = 18;
|
||||
Reference in New Issue
Block a user