mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
fix(driver_twai): fixed twaifd slow bitrate trans faile on correct bitrate
This commit is contained in:
@@ -61,6 +61,7 @@ static uint32_t twai_ll_get_brp_max(void);
|
||||
#define TWAI_LL_BRP_DIV_THRESH 128
|
||||
#define TWAI_LL_TSEG1_MIN 1
|
||||
#define TWAI_LL_TSEG2_MIN 1
|
||||
#define TWAI_LL_PROP_MAX 0 //hardware don't support prop_seg
|
||||
#define TWAI_LL_TSEG1_MAX 16 //the max register value
|
||||
#define TWAI_LL_TSEG2_MAX 8
|
||||
#define TWAI_LL_SJW_MAX 4
|
||||
|
||||
@@ -38,6 +38,7 @@ extern "C" {
|
||||
#define TWAI_LL_BRP_MAX 16384
|
||||
#define TWAI_LL_TSEG1_MIN 1
|
||||
#define TWAI_LL_TSEG2_MIN 1
|
||||
#define TWAI_LL_PROP_MAX 0 //hardware don't support prop_seg
|
||||
#define TWAI_LL_TSEG1_MAX 16 //the max register value
|
||||
#define TWAI_LL_TSEG2_MAX 8
|
||||
#define TWAI_LL_SJW_MAX 4
|
||||
|
||||
@@ -33,6 +33,7 @@ extern "C" {
|
||||
#define TWAI_LL_BRP_MAX 32768
|
||||
#define TWAI_LL_TSEG1_MIN 1
|
||||
#define TWAI_LL_TSEG2_MIN 1
|
||||
#define TWAI_LL_PROP_MAX 0 //hardware don't support prop_seg
|
||||
#define TWAI_LL_TSEG1_MAX (TWAI_TIME_SEGMENT1 + 1)
|
||||
#define TWAI_LL_TSEG2_MAX (TWAI_TIME_SEGMENT2 + 1)
|
||||
#define TWAI_LL_SJW_MAX (TWAI_SYNC_JUMP_WIDTH + 1)
|
||||
|
||||
@@ -33,6 +33,7 @@ extern "C" {
|
||||
#define TWAI_LL_BRP_MAX 32768
|
||||
#define TWAI_LL_TSEG1_MIN 1
|
||||
#define TWAI_LL_TSEG2_MIN 1
|
||||
#define TWAI_LL_PROP_MAX 0 //hardware don't support prop_seg
|
||||
#define TWAI_LL_TSEG1_MAX (TWAI_TIME_SEGMENT1 + 1)
|
||||
#define TWAI_LL_TSEG2_MAX (TWAI_TIME_SEGMENT2 + 1)
|
||||
#define TWAI_LL_SJW_MAX (TWAI_SYNC_JUMP_WIDTH + 1)
|
||||
|
||||
@@ -33,6 +33,7 @@ extern "C" {
|
||||
#define TWAI_LL_BRP_MAX 32768
|
||||
#define TWAI_LL_TSEG1_MIN 1
|
||||
#define TWAI_LL_TSEG2_MIN 1
|
||||
#define TWAI_LL_PROP_MAX 0 //hardware don't support prop_seg
|
||||
#define TWAI_LL_TSEG1_MAX (TWAI_TIME_SEGMENT1 + 1)
|
||||
#define TWAI_LL_TSEG2_MAX (TWAI_TIME_SEGMENT2 + 1)
|
||||
#define TWAI_LL_SJW_MAX (TWAI_SYNC_JUMP_WIDTH + 1)
|
||||
|
||||
@@ -33,6 +33,7 @@ extern "C" {
|
||||
#define TWAI_LL_BRP_MAX 32768
|
||||
#define TWAI_LL_TSEG1_MIN 1
|
||||
#define TWAI_LL_TSEG2_MIN 1
|
||||
#define TWAI_LL_PROP_MAX 0 //hardware don't support prop_seg
|
||||
#define TWAI_LL_TSEG1_MAX (TWAI_TIME_SEGMENT1 + 1)
|
||||
#define TWAI_LL_TSEG2_MAX (TWAI_TIME_SEGMENT2 + 1)
|
||||
#define TWAI_LL_SJW_MAX (TWAI_SYNC_JUMP_WIDTH + 1)
|
||||
|
||||
@@ -38,6 +38,7 @@ extern "C" {
|
||||
#define TWAI_LL_BRP_MAX 32768
|
||||
#define TWAI_LL_TSEG1_MIN 1
|
||||
#define TWAI_LL_TSEG2_MIN 1
|
||||
#define TWAI_LL_PROP_MAX 0 //hardware don't support prop_seg
|
||||
#define TWAI_LL_TSEG1_MAX 16 //the max register value
|
||||
#define TWAI_LL_TSEG2_MAX 8
|
||||
#define TWAI_LL_SJW_MAX 4
|
||||
|
||||
@@ -38,6 +38,7 @@ extern "C" {
|
||||
#define TWAI_LL_BRP_MAX 16384
|
||||
#define TWAI_LL_TSEG1_MIN 1
|
||||
#define TWAI_LL_TSEG2_MIN 1
|
||||
#define TWAI_LL_PROP_MAX 0 //hardware don't support prop_seg
|
||||
#define TWAI_LL_TSEG1_MAX 16 //the max register value
|
||||
#define TWAI_LL_TSEG2_MAX 8
|
||||
#define TWAI_LL_SJW_MAX 4
|
||||
|
||||
Reference in New Issue
Block a user