MCP2517 configuration

General discussion on Libstock website & codes posted on this website.
Post Reply
Author
Message
tsadowski_wn
Posts: 24
Joined: 18 Feb 2019 15:50

MCP2517 configuration

#1 Post by tsadowski_wn » 22 Nov 2019 14:49

Hi,

could someone explain to me the MCP2517FD config object? Some fields are self explainatory but others sre not. I don't even know, what kind of connection the example sets up. So how would I configure this for 250kbits? An undocumented closed source library is quite difficult to use.

Best Regards,
Torsten

tsadowski_wn
Posts: 24
Joined: 18 Feb 2019 15:50

Re: MCP2517 configuration

#2 Post by tsadowski_wn » 27 Nov 2019 13:25

I will try my luck with MCP2542 and the internal CAN modules.

Cheers,
Torsten

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: MCP2517 configuration

#3 Post by jovana.medakovic » 28 Nov 2019 13:00

Hello,

I recommend you to look at our MCP2517FD click board.
On our LibStock webpage, you can find examples for it, which can help you:
https://libstock.mikroe.com/projects/vi ... 17fd-click
and on the following link, you can find the datasheet:
https://download.mikroe.com/documents/d ... 2517fd.pdf
https://download.mikroe.com/documents/d ... asheet.pdf

If you want, I can send you the source code of this click board.

Kind regards,
Jovana

tsadowski_wn
Posts: 24
Joined: 18 Feb 2019 15:50

Re: MCP2517 configuration

#4 Post by tsadowski_wn » 29 Nov 2019 16:15

Hello Jovana,

I tried the example but I could not make a transmission to a CAN-USB adapter on the host computer. The source code would certainly be very helpful to understand which parameters are written to the configuration registers.

Best Regards,
Torsten

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: MCP2517 configuration

#5 Post by jovana.medakovic » 30 Dec 2019 11:17

Hello,

I apologize for the delayed answer.

In the attachment, you can find the source code of MCP2517FD click board.
I hope you find this helpful for your project.

Kind regards,
Jovana
Attachments
library.zip
(201.38 KiB) Downloaded 173 times

smithclarkson001
Posts: 1
Joined: 28 Dec 2019 13:21

Re: MCP2517 configuration

#6 Post by smithclarkson001 » 30 Dec 2019 19:19


tsadowski_wn
Posts: 24
Joined: 18 Feb 2019 15:50

Re: MCP2517 configuration

#7 Post by tsadowski_wn » 22 Jan 2020 16:12

Thank you very much!

Post Reply

Return to “Libstock Discussion”