Skip to content
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

Adding CAN driver example #14

Open
RahulGoyal-tech opened this issue Nov 19, 2024 · 5 comments
Open

Adding CAN driver example #14

RahulGoyal-tech opened this issue Nov 19, 2024 · 5 comments

Comments

@RahulGoyal-tech
Copy link

Some Variants of STM8S comes with a beCAN Module (Basic Enhanced CAN)

Will be adding an example (with mostly a sort of lib) to use beCAN.

Hardware Availability for me : STM8S003F3

@gicking
Copy link
Owner

gicking commented Nov 23, 2024

sorry, I don't quite get your point. Do you want to provide or do you ask for a CAN example?

If the first: thanks a lot! Just make a pull request.

If the latter: I have very little experience with CAN and no node to test it with. Therefore I propose you download the STSW-STM8069 (=SPL for STM8S) from the STM homepage. It contains a CAN example, which you can use as a starting point. And when you're done, it would be highly appreciated if you provided an example here via pull request :-)

PS: if you use SDCC compiler, you can find a respective patch for the SPL sources here

@RahulGoyal-tech
Copy link
Author

Will be adding the PR 😅.

@gicking
Copy link
Owner

gicking commented Nov 24, 2024

perfect :-)

@gicking
Copy link
Owner

gicking commented Nov 24, 2024

Some Variants of STM8S comes with a beCAN Module (Basic Enhanced CAN)
...
Hardware Availability for me : STM8S003F3

I just checked and according to the datasheet the STM8S003F3 does not support CAN module

@RahulGoyal-tech
Copy link
Author

Yeah Found that out. Will be using stm8s207 nucleo board. That have the CAN module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants