Find a example code of using driver / interfaces for MPC5748G?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Find a example code of using driver / interfaces for MPC5748G?

ソリューションへジャンプ
3,336件の閲覧回数
tobiasfuelle
Contributor I

Hello all,

 

I want to start testing my MPC5748G with some reference or example projects (can be baremetal without OS as well). If possible, I like to include and integrate several drivers in the future:
- CAN bus

- LIN bus

- FlexRay bus
- Ethernet port
- SPI port

 

Could you help me to find projects for that MCU or for similar ones?

 

Thanks,
kind regards,

 

Tobias

ラベル(1)
0 件の賞賛
返信
1 解決策
1,908件の閲覧回数
alexvinchev
Contributor V

You need AN4830, which contains all but FlexRay example. For FlexRay you'll have to use proprietary stack from AUTOSAR supplier or Vector (due to licensing issues).

元の投稿で解決策を見る

3 返答(返信)
1,909件の閲覧回数
alexvinchev
Contributor V

You need AN4830, which contains all but FlexRay example. For FlexRay you'll have to use proprietary stack from AUTOSAR supplier or Vector (due to licensing issues).

1,908件の閲覧回数
tobiasfuelle
Contributor I

Hello Aleksandar,

thank you very much. The examples are very helpful. But I am struggeling with the declaration of the function, since I can't find its definition:

__ghs_board_devices_init_AFTER_main(void);

Is that the actual name of it or will I substitute board_devices with its name?
Thanks,
regards,
Tobias

0 件の賞賛
返信
1,908件の閲覧回数
alexvinchev
Contributor V

Hi Tobias,

__ghs_board_devices_init_AFTER_main is defined in

<zip file>\AN4830_rev1_SW\MPC5748G_rev<revision>_silicon\tgt\libboardinit\mpc5748g_rev1.ppc

Normally, compiler should find it, since demo projects contain and build

tgt\resources.gpj

which builds libboardinit.gpj, containing mentioned file.

BR,

Alex

0 件の賞賛
返信