Example MPC5748G-FlexCAN_with_interrupts S32DS_1.0

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Example MPC5748G-FlexCAN_with_interrupts S32DS_1.0

Example MPC5748G-FlexCAN_with_interrupts S32DS_1.0

********************************************************************************

* Detailed Description:

* This example shows, how to initialize FlexCAN modules for simple transmission

* and reception using RX interrupt. Both modules are configured for 100kbit/s

* bit rate. CAN_0 module transmits message using MB0. CAN_1 module receives

* message using interrupt via MB0.

*

*

* ------------------------------------------------------------------------------

* Test HW:         MPC5748G-324DS, MPC574XG - Motherboard

* MCU:             PPC5748GMMN6A 1N81M

* Fsys:            PLL0 160MHz

* Debugger:        Lauterbach Trace32

*                  PeMicro USB-ML-PPCNEXUS

* Target:          internal_FLASH (debug mode, release mode)

* EVB connection:  Connect jumpers J15 and J16 on motherboard

*                    Connect P14 H to P15 H

*                    Connect P14 L to P15 L

*

********************************************************************************

标签 (1)
附件
评论

Hi,I download your code,it can run,but i have some problems when debug it.

when i debug it ,it would go to dummy interruption function。like below picture,

11.png

then,i press the F5(step into),it will enter main() function.like below;

22.png

I'm confused, why it's not the first to go into main () function. Thank you .

Regards,

YSl

Hello,

which version of S32DS you use? If you recompiled this in S32DS v1.2 or R1.2017, it would not work correct, because there are some significant changes in compiler.

Regards,

Martin

Hello,

Do you have the example with DMA enabled on FlexCAN?

Thanks,

Xiaofeng

Hello martinkovar,

Do you have any updated version of this example to work with the SDK or new version of compiler?

If not, could you please tell me what should I do to get this example to work on R1.2017?

Thank you so much

Hello,

if you want FlexCAN example based on SDK, this is directly included in S32 Design Studio.

If you want to use this one. you can simply create new project and manually migrate source codes or you can try to use following tutorial

https://community.nxp.com/docs/DOC-335361 

Regards,

Martin

Thank you,

It works

Best regards

无评分
版本历史
最后更新:
‎08-23-2016 06:28 AM
更新人: