About the CAN controller.
Re: About the CAN controller.
Are you using extended or basic frames?
Re: About the CAN controller.
Are you using WROVER or WROOM/DEV KITC?
WROVER have most of pins pulled up, it doesn't work then.
WROVER have most of pins pulled up, it doesn't work then.
Re: About the CAN controller.
thomas,ThomasB wrote:I also use the MCP2551.
An example is planned but currently im drowning in work...
have tested it just in time here with MCP2551 too ( before with TJA1051 )
works like a charme too.
now we go next steps..
..But nothing is betrayed or chattered -
The esp guys betray or whisper us also nothing to the sound (i2s)..
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: About the CAN controller.
fast test,jaegertuning wrote:No problem! I was able to get this working The code provided was perfect - I just needed to wire up my MCP2551 correctly.ThomasB wrote:I also use the MCP2551.
An example is planned but currently im drowning in work...
perhabs this helps:
https://twitter.com/eMbeddedHome/status ... 2771785728
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: About the CAN controller.
hi
ESPCan driver as component and menuconfig ready for PullRequest to ESP-IDF components
comes asap
best wishes
rudi
ESPCan driver as component and menuconfig ready for PullRequest to ESP-IDF components
comes asap
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: About the CAN controller.
hi jeroenESP_Sprite wrote:Nice! Thank you very much. I'll see if we can integrate it into esp-idf.
CAN Driver base ready
CAN Driver menuconfig ready
do you have start integrate work?
if not we do this PR to github or Third party IDF components list
what is the best`?
please do not underestimate the subject "CAN"
it is a very popular subject at a distance
thank you
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: About the CAN controller.
Looking good.
How many CAN messages are you able to send or receive per second?
Cheers
How many CAN messages are you able to send or receive per second?
Cheers
Re: About the CAN controller.
hiHans Dorn wrote:Looking good.
How many CAN messages are you able to send or receive per second?
Cheers
here in a 125kbit test with allways 8 byte difference data
i use standard msg and is
1+11+1+1+1+4+64+15+1+1+1+7 = 108 bit long
interframe spacing perhabs 3 do 6
so
+ six bits interframe spacing
caculation of this i think would be:
125000 / ( 108 + 6 ) = 1096 frames ( CAN messages ) per second.
this is theoretically,
practial in code there are small delays between the messages ( 20-50ms ) ,
CAN uses NRZ coding, and in this example i not calculated ACK and other few things ,
perhabs 900 frames/sec i think are possible, perhabs will check this by time in a test dialog later for using with higher rate too
check this answere here too
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: About the CAN controller.
I know the theoretical throughput
At 1MBit you should be able to push out a little less than 8000 frames per second.
Did you really see 20 - 50 ms between frames, or are these µs?
Still a lot, considering a fast frame is only a bit more than 100µs...
Cheers
Hans
At 1MBit you should be able to push out a little less than 8000 frames per second.
Did you really see 20 - 50 ms between frames, or are these µs?
Still a lot, considering a fast frame is only a bit more than 100µs...
Cheers
Hans
Who is online
Users browsing this forum: Google [Bot] and 66 guests