summaryrefslogtreecommitdiff
path: root/bsp/stm32/libraries/HAL_Drivers/drv_can.c
AgeCommit message (Collapse)Author
2023-01-08format stm32 driversMeco Man
2022-11-21[CAN]update struct can_filter_item and rt_can_msg (#6556)wdfk-prog
* 修改ry命令,已便于自定义保存路径 * modified: components/utilities/ymodem/ry_sy.c * 修复从被动错误恢复后发送返回异常 * 修复在自动重传模式下,ACK异常阻塞线程 - 删除TX中断函数else分支。仅当RQCP位 置一才进入该中断 - 添加SCE中断函数中关于ACK_ERR的else判断。自动重传模式下会进入该判断,打断自动重传释放完成量。 * 增加对于CAN1与CAN2的SCE中断和TX中断的公共处理函数 * formatting格式化代码 * update struct can_filter_item and rt_can_msg 1. 对过滤器号和索引号结构体定义中同一名称hdr进行重命名hdr_bank和hdr_index, 以便准确区分.采用宏定义兼容以前变量名. 2. 添加接收标识rxfifo,已指明是哪个RXFIFO. * 更正42M下的波特率 * 修复接收获取索引号错误 * 添加接收标识 * 更新注释 * 取消CANFD限制 * update struct can_filter_item and rt_can_msg
2022-10-23FIX: [bsp][stm32]CAN从ACK错误恢复后发送异常 (#6511)wdfk-prog
* 修改ry命令,已便于自定义保存路径 * modified: components/utilities/ymodem/ry_sy.c * 修复从被动错误恢复后发送返回异常 * 修复在自动重传模式下,ACK异常阻塞线程 - 删除TX中断函数else分支。仅当RQCP位 置一才进入该中断 - 添加SCE中断函数中关于ACK_ERR的else判断。自动重传模式下会进入该判断,打断自动重传释放完成量。 * 增加对于CAN1与CAN2的SCE中断和TX中断的公共处理函数 * formatting格式化代码
2022-09-16Modified bsp/stm32/libraries/HAL_Drivers/drv_can.cmyshowtogo
修复字符串比较错误
2022-08-13[DeviceDriver] Add CANFD support and correct typos (#5912)Fan Yang
* Add CANFD support and correct typos - Added CANFD required fields to can.h - Fixed typos in can.h and can.c - Corrected all the projects affected by the typo - Fixed wrong line-ending in some affected can driver files Signed-off-by: Fan YANG <[email protected]> * update Signed-off-by: Fan YANG <[email protected]> Co-authored-by: Meco Man <[email protected]>
2022-04-14Update drv_can.czuozuojia
删除多余注释,另外确定了对于其他型号单片机的适应性
2022-04-14[bsp/stm32] fix the bug of can filter conflictzuozuojia
2022-04-11delete the code be commented outzuozuojia
2022-04-11[bsp/stm32] fix the bug of 'can' being stucked when short cricuit the canH ↵zuozuojia
and canL, change some wrong annotations
2022-04-11[stm32F4] adapt 168M frequency of 1M can baud, remember to add the define of ↵zuozuojia
BSP_USING_CAN168M in kconfig while using 168M frequency
2021-08-25[fix] The baud rate is configured according to the different APB1 ↵svchao
frequencies. f4-series only.
2021-08-10i# This is a combination of 3 commits.YJIE_1998
【修改】format
2021-03-31Merge branch 'master' into masterBernard Xiong
2021-03-22删除了注释中从can.h拷贝的rt_can_filter_itemcosmo
2021-03-08[stm32][driver] auto formattedMeco Man
2021-02-02格式修正cosmo
2021-02-02修复滤波设置问题,根据标志帧和扩展帧判别所需位移,� ↵cosmo
��据滤波模式判别CAN_FxR2[3:0]设置。
2021-02-02修复 应用层设置hdr = ↵cosmo
-1时,驱动层没有正确识别问题,默认按照滤波表顺序设置FilterBank
2020-08-28[bsp][stm32]add can support for stm32l4zhuyunfan
2020-05-13[BSP] [STM32] drv_can.c CANx_SCE_IRQHandler() 的 RT_CAN_BUS_ACK_ERR ↵GaoJie
处理3个邮箱的 TXOK标志
2020-05-13[BSP] In bsp of stm32, Change drv_can1 to drv_can2 in function ↵GaoJie
CAN2_SCE_IRQHandler() of drv_can.c
2019-09-03fix docs link errtyustli
2019-08-271、[bsp] [imxrt] rename docs imxrt -> i.MX RTtyustli
2、[bsp] [stm32] fix drv_can assert bug
2019-08-23[bsp] [stm32] fix drv_can.c and can.c bugtyustli
2019-08-16[bsp] [stm32] fix drv_can.ctyustli
2019-08-02fix 429 uart2/3 hardware init and add can1tyustli
2019-06-28[drv_can.c]fix 3 warings杨连钊
2019-06-24[bsp][stm32][libraries][HAL_Drivers] update drv_can.c杨连钊
adapt to new HAL_lib
2019-06-17如果开启了RT_CAN_USING_HDR,则提示该驱动不支持硬件过滤器 ↵zhangjun1996
,请取消RT_CAN_USING_HDR。
2019-06-15重新配置CAN之前,关闭CAN,配置完再打开。zhangjun1996
2019-06-151,修复由于stm32系列的hal库升级导致stm32f1和stm32f4平台的ca ↵zhangjun1996
n驱动编译错误 2,关闭components/drivers/Kconfig中默认打开的can硬件滤波器选项 3,为了让can波特率设置匹配stm32f429的时钟,给stm32f429增加波特率表 4,以上修复在stm32f103-fire-arbitrary,stm32f407-atk-explorer,stm32f429-atk-apollo三个bsp中测试通过
2019-02-19[bsp][stm32] add can driver.杨连钊