Search found 7 matches
- Thu Jun 20, 2024 9:46 am
- Forum: General Discussion
- Topic: Esp32 can bus work only on some boards
- Replies: 2
- Views: 845
Re: Esp32 can bus work only on some boards
I guess it is the same issue as I posted a few days ago. In the mean time I updated this issue however it is not publiced yet. In the datasheet of ESP32 (https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf) you can read on page 38 that there is a difference in CAN (or ...
- Wed Jun 19, 2024 8:35 am
- Forum: General Discussion
- Topic: Differences in CAN clock in ESP-WROOM-32 module
- Replies: 7
- Views: 1219
Re: Differences in CAN clock in ESP-WROOM-32 module
Found the reason for the problem on page 38 of datasheet of ESP32 (https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf). bit rates: – from 25 Kbit/s to 1 Mbit/s in chip revision v0.0/v1.0/v1.1 – from 12.5 Kbit/s to 1 Mbit/s in chip revision v3.0/v3.1 The older CAN libr...
- Tue Jun 18, 2024 4:31 pm
- Forum: General Discussion
- Topic: Differences in CAN clock in ESP-WROOM-32 module
- Replies: 7
- Views: 1219
Re: Differences in CAN clock in ESP-WROOM-32 module
Also
https://esp32.com/viewtopic.php?f=19&t= ... us#p130730
is about the same issue in fact.
Older CAN libraries always end up with a bitrate of 50% of the calculated one on new devices.
https://esp32.com/viewtopic.php?f=19&t= ... us#p130730
is about the same issue in fact.
Older CAN libraries always end up with a bitrate of 50% of the calculated one on new devices.
- Tue Jun 18, 2024 12:59 pm
- Forum: General Discussion
- Topic: Differences in CAN clock in ESP-WROOM-32 module
- Replies: 7
- Views: 1219
Re: Differences in CAN clock in ESP-WROOM-32 module
Previous problem solved by: #include "soc/gpio_sig_map.h" in stead of #include "esp_intr.h" However still a factor of 2 difference in bitrate of an old and a new module. Same problem is mentioned in: https://esp32.com/viewtopic.php?f=12&t=35964&p=122107&hilit=CANbus#p122107 My application is based o...
- Tue Jun 18, 2024 11:35 am
- Forum: General Discussion
- Topic: Differences in CAN clock in ESP-WROOM-32 module
- Replies: 7
- Views: 1219
Re: Differences in CAN clock in ESP-WROOM-32 module
I did an update of the board in Arduino IDE and now I should have a version of IDF in the range of 4. However now I get an error during compilation. Three lines are relevant in my CAN library: #include "esp_intr.h" . . gpio_matrix_out(CAN_cfg.tx_pin_id, CAN_TX_IDX, 0, 0); . . gpio_matrix_in(CAN_cfg....
- Tue Jun 18, 2024 7:32 am
- Forum: General Discussion
- Topic: Differences in CAN clock in ESP-WROOM-32 module
- Replies: 7
- Views: 1219
Re: Differences in CAN clock in ESP-WROOM-32 module
My program is coded in Arduino IDE. I have to check which version of ESP-IDF has been used and check if this can be updated without any problems.
Does this mean that the clock used by CAN is still APB_CLK_FREQ and this value will be 40000 in stead of 80000 in the newer ESP-IDF?
Does this mean that the clock used by CAN is still APB_CLK_FREQ and this value will be 40000 in stead of 80000 in the newer ESP-IDF?
- Mon Jun 17, 2024 6:09 pm
- Forum: General Discussion
- Topic: Differences in CAN clock in ESP-WROOM-32 module
- Replies: 7
- Views: 1219
Differences in CAN clock in ESP-WROOM-32 module
I have 2 Olimex CAN-EVB boxes; 1 of 2017 and 1 of last year. I made a CAN application with the first one and it is working for most standard bitrates, however not lower than 25 MB/sec. This was a known problem and is related to the 80 MHz APB clock. The new one is flashed with exactly the same softw...