目 录
0 引言 ..............................................................................................................................................1
1 设计思想 ......................................................................................................................................1
2 DSP 与 FPGA 通信程序设计 .......................................................................................................2
2.1 主核时钟软件设置............................................................................................................2
2.1.1 初始化系统控制.....................................................................................................2
2.2 zone0 区域设置 ..................................................................................................................5
2.3 CAN 模块设置 ...................................................................................................................7
2.3.1 CAN 模块的 IO 口配置 ..........................................................................................7
2.3.2 CAN 模块的 CANB 初始化配置 ...........................................................................9
2.3.3 CAN 模块的 CANB 用户功能配置 .....................................................................12
2.3.4 CAN 模块的中断使用 ..........................................................................................15
2.4 次核模块设置..................................................................................................................16
3 实验结果 ....................................................................................................................................20
4 实验难点 ....................................................................................................................................21
4.1 CAN 波特率设置 .............................................................................................................21
4.2 地址线 .............................................................................................................................21
4.3 FPGA 端时序编写 ...........................................................................................................22