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

Can bus example #7

Open
Zharv opened this issue Jun 15, 2022 · 5 comments
Open

Can bus example #7

Zharv opened this issue Jun 15, 2022 · 5 comments

Comments

@Zharv
Copy link

Zharv commented Jun 15, 2022

Add gd32-spl-can example please
Thanks

@maxgerhardt
Copy link
Member

@Zharv
Copy link
Author

Zharv commented Jun 16, 2022

Hi @maxgerhardt
I buy Chinese CAN filter builded from GD32F105RBT6 chip. I need 2 CAN bus communication.
Your document will help me, thanks

@maxgerhardt
Copy link
Member

Can you link to which board exactly that is?

You should be using an example from https://github.com/CommunityGD32Cores/gigadevice-firmware-and-docs/tree/main/GD32F10x/GD32F10x_Firmware_Library_V2.2.2/Examples/CAN for a F10x chip. (Above is F1x0)

@Zharv
Copy link
Author

Zharv commented Jun 16, 2022

O1CN01JGSzPf243wHvBi6EX_!!0-fleamarket

Usually these boards were on STM32F105, but now they can also be found on sale on the GD32F105.

You can search on aliexpress "can filter"

@maxgerhardt
Copy link
Member

maxgerhardt commented Jun 16, 2022

The GD32F105 should be binary backwards compatible to the STM32F105, so you can technically use STM32Duino and all the regular CAN libraries for it (like https://github.com/vell001/STM32CAN). Though due to licensing terms ("code is only to be run on genuine STM32 devices"), you also technically forbidden to do that.

We will add a "native" CAN SPL example here.

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