Getting Started with MPC5745B

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

Getting Started with MPC5745B

2,726件の閲覧回数
medhedibasly
Contributor III

Hello,

I'm starting a new project based on MPC5745B, i can't find any code example for this MCU, so i was wondering since it is from the same family as MPC574xG/B/C, does the code examples from these MCU still work on MPC5745B.
Also the application notes documents....

I'm also looking for the mpc5745b.h file that describe the internal registers for the MCU...

Regards,

Hedi 

4 返答(返信)

2,251件の閲覧回数
medhedibasly
Contributor III

Thanks for your reply,

i took the file MPC5746C.h (Rev 5.0 03-MAY-17) from Example MPC5746C PIT ISR GHS614, it seems that there is a difference between what is in the file and the reference manual (Rev.5 10/2017).

pastedImage_4.png

The CAN_Tag type does not have a field named IFLAG3 for the interrupt flags on MB64 to MB95 while the reference Manual describe those fields....

0 件の賞賛
返信

2,251件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

I am attaching latest header file. It seems it have just corrected mentioned issues in its last update.

2,250件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, I could also point out following example codes:

https://www.nxp.com/docs/en/application-note/AN4830.pdf 

Also pay attention to MPC5746C/48G comparison:

https://www.nxp.com/docs/en/application-note/AN5114.pdf

MPC5745B is sub-derivative of MPC5746C, also take a look to section 2 Family comparison of device's datasheet:

https://www.nxp.com/docs/en/data-sheet/MPC5746C.pdf 

pastedImage_1.png

2,250件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Code examples are posted here on community:

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

You can use the MPC5748G examples for this micro without issues.

Peter