Sample code for MPC5643L.

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

Sample code for MPC5643L.

跳至解决方案
4,406 次查看
nightfox
Contributor I

Greetings

Please help me find any code example or sample program for MPC5643L. I got TRK-USB-MPC5643L Development tool, but I cannot program it as I am unable to find any sample program or simple initialization program. For starting, I just want to program two on-board Led's to give it a start and to understand.

I have installed code warrior 5.9.0.

 

Please Help!!!

 

Thank you

Night

标签 (1)
1 解答
2,117 次查看
trytohelp
NXP Employee
NXP Employee

Unzip the file.

this file includes 26 examples.


在原帖中查看解决方案

5 回复数
2,117 次查看
tektronix
Contributor II

I am new to TRK-USB-MPC5643L

I have some quick questions

How can I burn the code to Flash?

Is the Flash readable only or we can write it? I mean that can we write the flash from the code running in there or not?

Regard's

0 项奖励
回复
2,117 次查看
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello:

I would recommend you to create a new thread about your question. That way it would be visible for more people.

Regards!

Jorge Gonzalez

0 项奖励
回复
2,117 次查看
trytohelp
NXP Employee
NXP Employee

Hello Night,

You're using MPC5643L device on TRK-USB-MPC5643L.

According to the info found under the manual      

      http://cache.freescale.com/files/32bit/doc/quick_start_guide/TRKUSBMPC5643L.pdf

++++++++++++

Explore

Further

• Download the example projects and applications located under the downloads tab. These include the

Qorivva Simple Cookbook examples, a TRK-USB-MPC5643L specific project and supporting Windows

application. This application code utilizes the on-board temperature sensor switches and LEDs, as well

as many on-chip peripherals. P&E CDC drivers will be required for this application.

++++++++++++

Unfortunately I don't find it.

I will check with colleagues working on hardwae team.

Regarding the too - CodeWarrior.

You've 2 options for this device:

      - CW for MPC55xx and MPC56xx 2.10 which is based on Classic IDE,

      - CW MCU v10.4 which is based on Eclipse and it's the last version.

CodeWarrior for Microcontrollers v10.4 is the last version.

It integrates the development tools for the :

      ColdFire®, ColdFire+, DSC, Kinetis, Qorivva, PX, RS08, S08 and S12Z architectures

into a single product based on the Eclipse open development platform.

This version is running on Host platforms

      Microsoft® Windows XP 32/64-bit (Business)

      Windows Vista 32/64-bit (Business and Home Premium)

      Windows 7 32/64-bit (Professional and Home Premium)

      Windows 8 32/64-bit (Professional)

You can download an evaluation on the web site:

      http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MCU10

Under both installation, Classic or Eclipse you can create a sample project with the Project Wizard (File ¦ New ...) .

However the sample will be a generic project running on MPC5643L device.

It will not use board feature.

Regards

Pascal

2,117 次查看
trytohelp
NXP Employee
NXP Employee


I got info from colleague working for Hardware team.

Attached a set of examples in my PC. Unfortunately they are usually for EVB. The only problem is to adjust clocks.

The only example I made for TRK board with full description of connections is 5643L-ADC-SimpleConversion-v1_0-CW210.zip (look into main.c module)

Hope this will help you.

Pascal

2,118 次查看
trytohelp
NXP Employee
NXP Employee

Unzip the file.

this file includes 26 examples.