Processor Expert Software Knowledge Base

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Processor Expert Software Knowledge Base

Discussions

Sort by:
SSD1289 Description Display driver for the Solomon Systech SSD1289 LCD (which is used on the TWR-LCD). Component SSD1289.PEupd Dependencies Wait License License : Open Source (LGPL) Copyright : (c) Copyright Erich Styger, 2011, all rights reserved. This an open source software in the form of a Processor Expert Embedded Component. This is a free software and is opened for education, research and commercial developments under license policy of following terms: * This is a free software and there is NO WARRANTY. * No restriction on use. You can use, modify and redistribute it for personal, non-profit or commercial product UNDER YOUR RESPONSIBILITY. * Redistributions of source code must retain the above copyright notice.
View full article
Learn the Processor Expert UI, what components are, and how to add one to a project in the CodeWarrior Development Studio.
View full article
The attached document shows how tou use Processor Expert Driver Suit to generate code for CW. You can see details in the notes at the botton of the slides.  Best regards, Carlos
View full article
Training Videos Processor Expert - Introduction (Driver Suite) (Video 04:01) - Learn the Processor Expert UI, what components are, and how to add one to a project.. Processor Expert: Working with Components (Driver Suite) (Video 03:53) - Using Microcontroller Driver Suite, learn how to add, configure, and remove a component, and how to generate code. Processor Expert: The Code Model (Driver Suite) (Video 04:45) - Using Microcontroller Driver Suite, learn the answers to the questions: What code does Processor Expert generate? Where does it put the code? And how do I use it? Processor Expert: Creating an MQX Lite Project (Driver Suite) (Video 05:15) - Using Microcontroller Driver Suite, learn how to create an MQX Lite component from scratch. You'll also learn where Processor Expert puts the task functions and the RTOS code itself. Processor Expert: An MQX Lite Example (Driver Suite) (Video 04:39) - See how a full MQX Lite application works, how the tasks are implemented, and how they interact with other components in Microcontroller Driver Suite. Processor Expert: Exporting and Importing Templates (Driver Suite) (Video 03:56) - Learn how to export and import a file that can completely configure and generate the code required for an arbitrarily complex hardware and software system with Microcontroller Driver Suite. Processor Expert: Integrating with IAR Embedded (Video 06:22) - Learn how to incorporate Processor Expert's generated code into an IAR Embedded Workbench project. Processor Expert: Integrating with Keil Microvision (Video 04:54) - Learn how to incorporate Processor Expert's generated code into a Keil Microvision project.
View full article
Importing Example Projects Select File > Import from CodeWarrior menu. The Import dialog appears. Select General / Existing Projects into Workspace and click Next. Select the Select root directory option and click Browse. Browse to the following location of CodeWarrior installation directory: <CWInstallDir>\MCU\CodeWarrior_Examples\Processor_Expert Select the folder containing the example projects if you want to import multiple projects, or the specific example project. Click OK. If you have selected the folder, the list of the example projects available in the folder appears in the Projects area. Check the checkbox adjacent to the project(s) you want to import. Select the Copy projects into workspace checkbox to create an independent copy of the project into the workspace. Click Finish. Tutorials and Tips Tutorials and tips are provided in a form of cheat-sheets. To access them, use the CodeWarrior menu Help > Cheat sheets… and select the CodeWarrior Processor Expert Features. Typical Component Usage Examples of using generated code can be found on Typical usage page of the components. This page is provided within a component help. To get this help use the component’s pop-up menu command Help on component or browse the component in the Processor Expert Components Manual within the CodeWarrior help system at CodeWarrior for Microcontrollers V10.x > Processor Expert Manuals. The Typical usage page is available as a part of documentation for every LDD or high level component.
View full article
This tutorial shows a basic steps to create a CodeWarrior project with Processor Expert configured for the FRDM-KL25 board. The steps apply to CodeWarrior version 10.3 or newer. 1. In the CodeWarrior , go for [File | New | Bareboard Project]. 2. Type a project name such as e.g. KL25Z-PE” then click [Next] 3. In Devices page, please go to the line [Device or board to be used], type in part of the name our target device:  "kl25z" and select the final target device MKL25Z128 from the filtered list. Then click [Next]. 4. In the Connections window select only the [OpenSource SDA] connection type and click [Next]. Note: This is the on-board USB debug connection on FRDM-KL25. 5. In the Rapid Application Development select [Processor Expert] and click [Finish]. 6. The CodeWarrior Projects view contains a newly created project. Double-click the Processor Expert.pe file to ensure to see  the Processor Expert components from the project in the Component view. 7. In the Component view open the view menu (small down-heading arrow) and select Apply Board Configuration command 8. Click Browse… button and select FREEDOM-KL25Z / cpu / CPU_default.peb 9. Click Finish to confirm replacement of the default CPU component by the pre-configured one for the FRDM-KL25 board. Now the project is configured to run from on-board crystal at 48MHz. You can continue with adding components from the Components library view and configuring them in the Inspector or for example try the follow tutorial Toggling Pin on Kinetis Using a Timer Output .
View full article
Using Microcontroller Driver Suite, learn the answers to the questions: What code does Processor Expert generate? Where does it put the code? And how do I use it?
View full article
SMAC 2.4 GHz stack for MC13213 and MC13201 Description Simple MAC (Freescale SMAC) implementation. Component SMAC.PEupd Dependencies SPHY License (c) Copyright Freescale Semiconductor, 2012 Adoption as a Processor Expert component: Erich Styger
View full article
This file can be used on the MC56F8322 device to output clock signals to pins for checking the ROSC frequency as trimed by the factory trim values. The code was generated by processor expert with GUI selections made in Code Warrior IDE.
View full article
Learn how to export and import a file that can completely configure and generate the code required for an arbitrarily complex hardware and software system with Microcontroller Driver Suite.
View full article
When you get a good answer, it is extremely helpful to everyone if you mark it as a correct answer. A hundred people may look at a hot topic, and when there is an answer, they can jump straight to it. So for everyone's benefit, when you get a good answer, mark it! It's part of being a good community member. As well, but much less importantly, one of the things we're going to measure is how quickly the community answers questions. But we're far more interested in people being able to find the right answer. So from time to time, if it looks like people forget to mark answers, we may go through and do it for you. But we aren't your mom. Help your colleagues, and mark the good answers. In fact, you know better than us what's right.
View full article
Learn how to incorporate Processor Expert's generated code into an IAR Embedded Workbench project.
View full article
The C project that doesn't use Processor Expert can be converted to Processor Expert. This is useful when the user finds out that he/she would like to use additional features of Processor Expert. WARNING! Note that in most cases this conversion involves necessary manual changes in the application code, because for example the register interrupt vectors table definitions created by the user often conflicts with Processor Expert definitions. Don't forget to backup the whole project before the conversion. Some files will have to be removed from the project. The conversion to Processor Expert is recommended to experienced users only. Steps: Select the command in the main menu File > New > Other and in the New Project Wizard select Processor Expert / Enable Processor Expert for Existing C Project Select the project you want to update. Select the derivative that will be included in PEx project (you should use the same derivative that has been selected when the project was created without PEx). Select the target compiler (select the GNU C Compiler by default if you have not installed any other compiler in the Kinetis Design Studio) Confirm changes (renaming of main.c module and any other changes you want to apply) and click on the Finish button. The project with PEx is created but there need to be done following changes: Remove the duplicate main.c module – the main_backup.c file (copy content of the old main.c module into the new one created by PEx) and delete the old version of the file (main_backup.c) Remove all IO maps files from the original project. The KDS bareboard project have all these files included in the Includes folder by default (core_......h files and IO map files). Remove all startup files from the original project. The KDS bareboard project have all these files (startup_xxxxxx.S and system_xxxxxx.c files) included in the Project_Settings/Startup_Code folder. Remove linker file xxxxxxxxxxxx_flash.ld from the original project. Use the Processor Expert.ld linker file that is generated by Processor Expert. In the context menu of the project select Properties and in the Properties window go the C/C++ Build > Settings > Tool Settings, select the Cross ARM C++ Linker / General and select the ProcessorExpert.ld file instead of MK......_flash.ld (see the following screenshot).
View full article
This tutorial will show step-by-step how to create a simple Processor Expert project that periodically toggles an output pin using a timer output without writing a single line of code. The FRDM-KL25 board is used with one of the LEDs (blue) connected to the Timer/PWM Module 0 (TPM0), channel 1. Timer Operation Description The Timer/PWM Module 0 (TPM0) provides (besides other features) a counter with variable period (modulo), compare register an output pin suitable for the goal of periodic toggling. The counter will be configured to continuously run in modulo range with a 300ms period, the output will be set when counter reaches the compare register value (150ms) and cleared when the counter resets. The following picture describes the operation: Creating the Project First, create a new project with Processor Expert for KL25 configured as described in the tutorial Creating Processor Expert Project for FRDM-KL25 Switch to Components Library view and its Categories tab and add the TimerUnit_LDD component from the category Logical Device Drivers / Timer by double-clicking on it or selecting pop-up menu command ‘Add to project’. The component appears in the Components view: Use the Rename component command from the TU1’s context menu and change the name to BlueLED. : Double click the component to open it in the inspector and configure the properties according to the following picture: Invoke code generation by clicking on the Generate Processor Expert Code button in the Components view of the project: The generated code is present in the Generated_Code folder of the project: Note: The generated code contains automatic initialization provided by Processor Expert configuring all needed registers, so it's not necessary to write any user code. Build the project using the Project / Build All. After the successful build, you can connect the FRDM-KL25 board and run the application by clicking the "Debug" icon and after the code gets loaded into the board the "Resume" button. The LED should start periodically blinking with blue color.
View full article
If you are a CodeWarrior user and yet you don't own a License, this post will be of great use for you and your designs! You might be using Power Architecture technology and the QorIQ processors as well. If I'm just about right, I'll let myself introduce you to the new Optimization Suite for the QorIQ processors. The whole QorIQ Optimization Suite helps optimize your application by utilizing on-chip hardware from the QorIQ processor to provide enhanced levels of visibility of hundreds and hundreds of on chip hardware events, and the first included tool that you'll find in here will be the Scenarios Tool, which includes the following new interesting features: Extract measurement information with either :        Freescale TAP TCP/IP if running Freescale SDK with TCF connector enabled. See data as an average or as a time series Select subsets of data to plot or average Save sample data to review later Multiple windows to display multiple measurements Sampling Time Base Determined by Host computer Now that you know that it provides visibility by utilizing “measurement scenarios”, you'll no longer design "blindly" and you'll be able to test the potential of your creations right away. These measurement scenarios include CPU scenarios, memory and traffic scenarios, and DPAA and peripheral scenarios. The requirements: Host computer system requirements Microsoft® Windows® 7 Microsoft Windows Vista (SP2) (32-bit) Home Basic, Home Premium, Business, Enterprise, Ultimate Edition Microsoft Windows XP Professional (SP3) 32 and 64 Red Hat Enterprise Linux 5.4, 32 and 64 Ubuntu 8.0.4, 32-bit, 9.10, 32 and 10.04, 64 SuSE 11, 32-bit (tested with 11.1) Target system requirements Compatible QorIQ Device (See “Supported Devices”) Connection Method ( you only need one of these ) Linux system running Freescale’s TCF connector. (Included in Freescale SDK for Supported Devices) Freescale USB TAP or Gigabit TAP Get more info within the Overview or get it started at once and download the Scenario tools for Windows! Rather Linux version?
View full article
GenericBitIO Description Generic Bit I/O. Alternative Bit I/O implementation which is independant of the Processor Expert data base. Component GenericBitIO.PEupd Dependencies none License License : Open Source (LGPL) Copyright : (c) Copyright Erich Styger, 2011, all right reserved. This an open source software implementing a generic Bit I/O driver using Processor Expert. This is a free software and is opened for education, research and commercial developments under license policy of following terms: * This is a free software and there is NO WARRANTY. * No restriction on use. You can use, modify and redistribute it for personal, non-profit or commercial product UNDER YOUR RESPONSIBILITY. * Redistributions of source code must retain the above copyright notice.
View full article
QuadCounter Description Driver for a quadrature counter. Component QuadCounter.PEupd Dependencies none License License : Open Source (LGPL) Copyright : (c) Copyright Erich Styger, 2012, all rights reserved. This an open source softwareusing Processor Expert. This is a free software and is opened for education, research and commercial developments under license policy of following terms: * This is a free software and there is NO WARRANTY. * No restriction on use. You can use, modify and redistribute it for personal, non-profit or commercial product UNDER YOUR RESPONSIBILITY. * Redistributions of source code must retain the above copyright notice.
View full article
Learn how to add, configure, and remove a component, and how to generate code in CodeWarrior Development Studio.
View full article
It has finally been released the BETA version for the Double Data Rate RAM Memory Validation Tool (DDRv) for Processor Expert applications! What is this software all about? Well, it mainly helps you with the challenging tasks of tuning and cetering your settings when working with double data rate, so it enables your settings to work with multiple clock cycles. Explaining it furtherly, in the world of DDR, there are many settings for which the DDR will pass all tests and work on the test bench. However, a setting that worked on the test bench may be only 1/8 (or less) clock cycle from not working in your application, for example. This is what most of us would call a “skinny margin”. The DDRv tool will help you find all the settings that work, display them on a visual map allowing you to then select a setting that provides as much margin between working settings and non-working settings in your application. This process can be extremely difficult to do and generally requires specialized software running large exhaustive tests on very large memories. As you run these tests, you need to vary each setting against other varying settings – basically setting up a geometric progression that is very time consuming, complex and fraught with problems. Furthermore, you must track what worked, what didn’t work, and then have some way to make sense from all that data. But guess what? The DDRv tool does this for you! Of course this means saving time and efforts, making it all easier and quicklier! The features: Works seamlessly with Freescale QorIQ Configuration Suite Help you set the following VERY sensitive and VERY critical settings: Active termination values (Read and Write) Clock Adjust Value Clock Delay Value Select DDR tests to utilize Control ordering of testing Drill-down on errors Eclipse Plug-in ( Eclipse 3.6 and newer ) Wanna give it a try already? Follow this link and download the DDRV BETA!
View full article
Frequently Asked Questions (FAQ) How to quickly start using Processor Expert in CodeWarrior? Where can I find Processor Expert examples and tutorials in CodeWarrior? How to configure the processor component to match my hardware? Product Information on Freescale.com Product Summary Page Documentation Downloads Trainings and Support Other Resources Processor Expert Tools in CodeWarrior 10.3 - Training Videos
View full article