-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Drivers: CAN: Introduce CAN driver for gd32 #43342
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
Conversation
|
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
83e38f7 to
cbda766
Compare
drivers: can: add assert to can_calc_prescaler func Signed-off-by: YuLong Yao <[email protected]> drivers: can: fix div0 error. drivers: can: add assert when calc CANFD pkg dlc and byte size.
add iso and non-ISO type to can.h Signed-off-by: YuLong Yao <[email protected]>
do not merge. use a special hal_gigadevice to enable can function for gd32e103 Signed-off-by: YuLong Yao <[email protected]>
add can and canfd yaml to dt-bindings. Signed-off-by: YuLong Yao <[email protected]>
for test, only a few of gd32e103v_eval can function is work well. Signed-off-by: YuLong Yao <[email protected]>
test only, do not merge. Signed-off-by: YuLong Yao <[email protected]>
add can to gd32vf1 soc. Signed-off-by: YuLong Yao <[email protected]>
add can and canfd driver for gd32. drivers: can: gd32: refact code drivers: can: gd32: add ewsr isr drivers: can: gd32: support debug freeze drivers: can: gd32: fix dts load error add recv func merge cfg Signed-off-by: YuLong Yao <[email protected]> dts: can: refact can bindings. dts: can: refact can bindings. Signed-off-by: YuLong Yao <[email protected]> fix fix drivers: can: fix comment drivers: can: fix comment Signed-off-by: YuLong Yao <[email protected]> add filter size d xxx [DNM] boards: gd32e103_eval: add can1
function changed: 67ba990
|
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
|
@feilongfl Do you have the intention to continue working on this PR? |
This add an initial support for gd32 can device.
There two version of CAN ip in GD32.
Only a few early specific batches of GD32E103 can works, and CAN function have been removed for the new batch.
Because there is no eval board for GD32C103 series, I can only test it through the special GD32E103 in my hand.All commits related to GD32E103 will be marked as DNM and will be deleted when the draft is complete.
Tasks:
filter design
over view
How to use can filter was not wrote to
gigadevicedocument, but it looks same asstm32F4's can filter.so I use the example in
stm32's reference manual.All callback of reveive can message will be storaged into linked-list,and invoke when message received.
CAN_MAX_FILTERCAN_FILTER_SPLITdepend on:
More GD32 work #38657