advertisement
Chip-Level Editor
2.1
Chip-Level Editor Overview
The Chip-Level Editor gives you complete control over Chip-Level Projects resource use, routing, and firmware. You choose a specific chip at the beginning of this process:
1. Create a Project
This is the first step in both processes, but after naming your project, the first thing that you do in a Chip-Level Project is select a PSoC device.
2. Select a PSoC Device
There are a large number of PSoC devices in the PSoC family with more being added all the time. Some are general purpose devices with varying amounts of general purpose digital and analog resources while others are more specialized with onboard peripherals suited to specific solutions such as wireless, LED control, or capacitive sensing. Consult the Cypress web site for a wide variety of literature and contact information for people that can help you choose the right device for your design.
3. Choose User Modules
PSoC devices have programmable analog and digital blocks that can be configured for a wide variety of uses. User Modules configure these programmable blocks to behave as a specific peripheral, such as an analog to digital converter, a timer, or a pulse width modulator. You choose user modules based on what you need the PSoC device to do for you.
4. Configure the User Modules
Each user module has a set of parameters that allow you to configure it to meet your needs. For example, a CapSense user module must be configured to detect signals coming from capacitive sensing components in a wide variety of configurations, so it has a large number of configurable parameters. A design rule checker can alert you to potential problems with your design as you work.
5. Connect The User Modules
Each user module will have inputs, outputs, and interrupts that can be routed internally to and from other user modules, and externally to and from pins. The PSoC devices have a very flexible routing system, but resources are limited and it may take some experimentation to find the optimal routing and placement for all of the user modules.
6. Generate Your Project
This prepopulates your project with APIs and libraries that you can use to program your application.
7. Write Your Program
Write your program in C for rapid development, assembly language to get every last drop of performance from the MCU, or a combination of both. You have a choice of third party C compilers and assemblers for PSoC devices.
8. Build and Debug Your Program
Build and test your program. Use PSoC Designer in conjunction with one of the PSoC emulators.
PSoC Designer has a powerful built in debugger.
9. Program the Device
Cypress has a variety of programmers that you can use to program your production parts.
Your design is now complete. The remainder of this chapter is organized just like the above outline with additional details on each of the steps.
16 PSoC Designer IDE Guide, Document # 001-42655 Rev *B
advertisement
Related manuals
advertisement
Table of contents
- 8 Application Overview
- 8 Chip-Level Editor
- 9 System-Level Editor
- 9 Code Editor
- 10 Build Manager
- 10 Board Monitor
- 11 Debugger
- 11 Getting Help
- 11 Chapter Overviews
- 12 Support
- 12 Technical Support Systems
- 12 Product Upgrades
- 12 Conventions
- 13 Acronyms
- 14 References
- 14 Revision History
- 16 Chip-Level Editor Overview
- 17 Create a Project
- 19 Clone a Project
- 19 Updating Existing Projects
- 19 Placing User Modules
- 21 Rotating a Placement
- 21 Setting User Module Parameters
- 22 Global Resources
- 27 Project Backup Folder
- 27 Specifying Interconnects
- 28 Connecting User Modules
- 34 Digital Interconnect Row Input Window
- 35 Digital Interconnect Row Output Window
- 37 Specifying the Pinout
- 37 Port Connections
- 42 Port Drive Modes
- 43 Port Interrupts
- 44 Tracking Device Space
- 45 Design Rule Checker
- 46 Generating Application Files
- 47 Source Files Generated by Generate Project Operation
- 47 2.10.1 About the boot.asm File
- 48 Configuration Data Sheets
- 48 APIs and ISRs
- 49 2.12.1 Working with ISRs
- 50 2.12.2 Interrupt Vectors and the Chip-Level Editor
- 52 Dynamic Reconfiguration
- 52 2.13.1 Adding Configurations
- 53 2.13.2 Deleting Configurations
- 54 2.13.3 Renaming Configurations
- 54 2.13.4 Employing Dynamic Reconfiguration
- 60 System-Level Editor Overview
- 61 Create a New Project
- 61 Add Design Elements
- 62 Use Pop Up Menus
- 63 Use Navigation Tools
- 63 Use the Design Toolbar
- 64 Delete Elements
- 64 Save a Design
- 64 Simulating Your Design
- 64 Widgets
- 64 Navigation Tools
- 65 LOG.csv File
- 65 Simulation Controls
- 65 Drivers
- 65 Driver Types
- 66 Valuators
- 66 Interface Valuator
- 66 Transfer Function Valuator
- 67 Transfer Functions
- 67 Transfer Function Types
- 69 Authoring New Design Elements
- 70 Selecting a Configuration
- 70 Configuration Properties
- 71 BOM Vendor
- 71 Assign Pins Automatically
- 71 Assigning Pins
- 72 Pin Color Legend
- 72 Lock Pins
- 72 Unassign All Pins
- 72 Auto Assign
- 72 Generating Output
- 73 Developing Complex Designs
- 73 3.11.1 Preparing Your Design
- 78 Programming PSoC Flash Memory
- 79 Monitoring Your Design
- 80 3.13.1 Monitoring Your Board With the I2C-USB Bridge
- 82 3.13.2 Monitoring Your Board with Other Interfaces
- 82 Tuning Your Design
- 87 File Definitions and Recommendations
- 88 File Types and Extensions
- 89 Project File System
- 90 boot.asm
- 90 main.asm/main.c
- 90 PSoCConfig.asm
- 90 Additional Generated Files
- 92 Working in Code Editor
- 92 Modifying Files
- 93 Adding New Files
- 93 Adding Existing Files
- 93 Removing Files
- 94 Searching Files
- 95 Accessing the Assembler
- 95 The M8C Microprocessor (MCU)
- 96 Address Spaces
- 96 Instruction Format
- 96 Addressing Modes
- 97 Destination of Instruction Results
- 97 Assembly File Syntax
- 97 List File Format
- 98 Assembler Directives
- 99 Instruction Set
- 99 Compile and Assemble Files
- 100 Calling Assembly Functions From C
- 103 Building a Project
- 104 C Compiler
- 104 ImageCraft Compiler Options
- 105 HI-TECH Compliler Options
- 105 Linker
- 106 ImageCraft Specific Linker Options
- 106 HI-TECH Specific Linker Configuration Options
- 106 Customizing Linker Actions
- 107 Librarian
- 109 Debugger Components
- 111 Menu Options
- 112 Connecting to the ICE
- 113 Downloading to the Pod
- 114 Debug Strategies
- 115 Trace
- 116 Break Points
- 117 CPU and Register Views
- 118 Watch Variables
- 119 Dynamic Event Points
- 123 End Point Data
- 124 C Debugger
- 124 Connecting to the ICE
- 124 Enable Debug Mode
- 125 Downloading to the Device
- 125 C Debugger
- 125 Break Points
- 126 Watch Variables
- 130 Programming the Part
- 133 FPMP and PSoC Designer
- 134 About flashsecurity.txt
- 135 FPMP File Errors