-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix speed halved in ESP32-WROOM-32E module #33
base: master
Are you sure you want to change the base?
Conversation
ESP32 ECO3 added a configurable bit that will cause CAN bus speeds to be halved in new V3 core 32E module. This bit is in `TWAI_INT_ENA_REG`, bit4 which was previously reserved. Change respects reserved bit and should not cause issues for previous versions since this bit should not have been written to.
danielkucera "It looks like the module is much more stable when reset bit is first set and then cleared."
changed per build warning
I'm still seeing issues. I have an ESP32-WROOM-32D and am using this library for 1MBPS CAN BUS transfer. This is what I have in CAN.c:
Stumped... not sure how to enable 1MBPS |
@themagicm This library is outdated and is not maintained by the author. I have forked and updated it for my own purposes using the Espressif IDF API. I have linked it down below if you are interested in using it. Also check out the Espressif IDF page about the CAN peripheral and the API used. This works in the Arduino framework so you can use it directly in your code or use the library I linked above that also implements this API. |
I'm using it at 1mbit but it feels slow? Does that make sense?
Sent from Proton Mail mobile
…-------- Original Message --------
On Nov 7, 2023, 8:40 AM, Sam Perry wrote:
***@***.***(https://github.com/themagicm) This library is outdated and is not maintained by the author. I have forked and updated it for my own purposes using the Espressif IDF API. I have linked it down below if you are interested in using it.
[https://github.com/sdp8483/ESP32-Arduino-CAN](url)
Also check out the Espressif IDF page about the CAN peripheral and the API used. This works in the Arduino framework so you can use it directly in your code or use the library I linked above that also implements this API.
[https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/twai.html#](url)
—
Reply to this email directly, [view it on GitHub](#33 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/ACW7EAGBVILSUXXKMEX2JTTYDJB4FAVCNFSM5O47NZI2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZZHA3DQMZZGA3A).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
ESP32 ECO3 added a configurable bit that will cause CAN bus speeds to be halved in new V3 core 32E module.
This bit is in
TWAI_INT_ENA_REG
, bit4 which was previously reserved.Change respects reserved bit and should not cause issues for previous core versions since this bit was reserved and should not have been written to.