MPC5775E/D Examples and How Tos

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

MPC5775E/D Examples and How Tos

ソリューションへジャンプ
2,122件の閲覧回数
bchang32
Contributor III

I'm looking at the suggested links from the MPC5775E-EVB pages and looking for examples. When I get to the Examples page, there are no examples for the MPC5775E. The closest is the 5775K. Is this an error or are there just no examples for the 5775E?

 

bchang32_0-1646681909238.png

 

0 件の賞賛
返信
1 解決策
2,091件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

All the files can be found in SDK folder inside S32DS installation folder.

An example itself then contains only files needed for that example. The files are generated and added when you click on "Generate code" button in the processor expert. So, when you add new peripheral and change configuration (or also when you load new example), it's necessary to click on "Generate code".

Regards,

Lukas

 

元の投稿で解決策を見る

4 返答(返信)
2,113件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

yes, there are no examples for MPC5775E on that page. The closest alternative for MPC5775E is MPC5777C and you can use examples for MPC5777C.

If you want to use SDK in S32 Design Studio, you can also check examples for MPC5777C. When you create new application project, it offers to use SDK - and it's SDK for MPC5777C which is compatible with MPC5775E.

Regards,

Lukas

2,103件の閲覧回数
bchang32
Contributor III

Ok, I am looking at the MPC5777C for examples, but I did notice that it appears that there are a handful of unresolved inclusions like Cpu.h, clockMan1.h, pin_mux.h, spi1.h, spi2.h, dmacontroller1.h.

 

Is there supposed to be a directory for these header files?

 

EDIT: I noticed some of the examples have them, but others dont. eqadc_mpc5777c has the include files while others like adc_pal_eqadc_mpc5777C and spi_pal_mpc5777c doesnt. Are these just errors and the example maker forgot to include? I'm pretty sure I need the spi1 and spi2 headers for the examples.

0 件の賞賛
返信
2,092件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

All the files can be found in SDK folder inside S32DS installation folder.

An example itself then contains only files needed for that example. The files are generated and added when you click on "Generate code" button in the processor expert. So, when you add new peripheral and change configuration (or also when you load new example), it's necessary to click on "Generate code".

Regards,

Lukas

 

2,083件の閲覧回数
bchang32
Contributor III

Ahh I see now thank you.

 

I had to click the "Generate Processor Expert Code" under the Project tab in the S32DS SDK.

I may be running a newer version? My "Generate Code" was named the above and under a different tab?

0 件の賞賛
返信