"PSOC4 Introduction
The birth of PSOC can be said to be a great and creative invention. From PSOC1 to Today's PSoC 4, Cypraz interprets its own professional attitude "is not the best, only better"! The new PSOC4 combines the first-class PSoC simulation and digital architecture of Cypras and the industry-leading Capsense capacitive touch technology, which is perfectly combined with the low-power Cortex-M0 core of ARM, truly realize the expandable low-cost architecture. PSoC iconic high-spirited, simulated performance, and high integration platforms, thoroughly break through the limitations of traditional single-chip microcomputer, focus on the development of a complete system on a single device.
PSOC series development history
The most special PSOC4
PSOC4 unique architecture
ARM® CPU frequency 48MHz based on ARM® CPU
Up to 32 kB flash memory, 4 KB SRAM
Programmable analog module: Operational amplifier, 12-bit 1MSPS SAR ADC
Programmable Digital Module: Four PLD-based logical blocks
Industry-leading Capsense® touch sensing
History uses the widest operating voltage range of Cortex-M0 devices 1.71 to 5.5V
Low power: 150na sleep mode, 20na stop mode
PSOC4200 Chinese manual
Let's listen to the view from different sounds, to psoc4
Due to the excellent PSOC4, there is a situation where it is not listed.
Mouser is like torch, stock PSOC4
Brand new definition, how to play the PSOC4 to play ARM Cortex-M0
What you can think of, it can achieve you, 25 US dollars PSOC4 is omnipotent
PSOC4 quick start
PSOC4 is the first feeling is, "Yeah, I don't have to buy it or prepare myself," Cypress is quite atmospheric, and the user considers Week.
As the saying goes: "I know yourself know each other, a hundred battles", in order to give full play to the value of PSoC4, we must first understand some basic components on the next board.
The scalability of PSoC4 is still worthy of, whether it is Arduino Shield or Digilent PMODTM, it can be compatible, so it can be used in a wide variety of third-party expansion boards.
In addition, the PSoC 5LP device from the board can be used as a programmer and debugger, so it is not necessary to need an external programmer.
Power
Make sure the two hop connections are correct and connected to the USB cable
Power-up start factory default program
This is the most basic and simplest power-up startup PSOCC4 process, the flashing of blue LED lights marks the experience of the PSoC4.
If you want to feel the power-up startup of different programs, you can refer to the double sword, and the leader is the first experience.
Of course, you can also do your own, write different procedures for DIY, then you must learn to use PSoC Creator, which can help you save development time.
Do you have a heart? Is it ready? Do you want to experience the charm of PSOC4 personally? Then I can't miss the PSOC4 summer color theme event launched by CYPRESS Union. Small hand point, small brain transfer, PSOC4 is easy to get, more opportunities to get Hao Li!
If you are interested in other boards of PSOC, you can't miss the Cypress PSoC summer let-of-go, falling below the price of freezing, there is wood.
Advanced Design Tools - Psoc Creator
PSOC's development environment can support Keil, why do Cypillans also develop a set of tools to support PSOC Series? What should we choose PSoC Creator? Let's first watch a fun video, you may find the answer from it.
Probably means that the competent is a more urgent project (thick stack), requiring these two engineers to do within 5 hours, ask them to have a request, one of which means soda, pizza Eat something (if everyone has such a working environment more happy), then I have to eat and eat sleep, playing with suddenly thinking about there is still a project, so they are in a bunch of development boards. The PSoC series, with the PSoC Creator development tool, it is useless to complete the task (which is still doped when working), and finally the supervisor will accept the results, very satisfied.
Of course, we will doubt the exaggeration of this video, but we have to recognize such a concept, with PSOC Creator, you can save R & D time.
OK! Said so much, let's verify that the psoc creator is so magical?
Download and install PSoC Creator
If you have already installed PSoC Creator, you can skip the following, go to PSOC4 to see it.
If you first contact the PSoC series, you will first register a member of the Cypraz official website, download the software in the PSoC Creator download, or summarize the PSOC4 resource summary.
After the download is complete, perform the installation, all the way to choose the default, very simple process.
Open the PSoC Creator interface after installation
PSOC4 CREATOR use example
PSOC4 actual work drill
PSOC4 high-level file
Similarly, there is a simple vivid example.
Double sword, single collar - PSOC4 first experience
Through examples we can see the power of PSoC Creator, Cypress is developed by its PSoC series, with its unique PSoC architecture, which makes it easy to make the design very simple and convenient.
PSOC4 actual work drill
Jobs once said: "The design is more than just the appearance design and the feeling of users, but also in the inner way." For this, I am very recognized, PSOC4 and its supporting development tools PSOC Creator perfect interpretation this concept If PSOC4 is the foundation of the design, the pSoc Creator is the designed soul.
PSoC Creator
In PSOC4 Quick Pack, we already know how to get the installation of the PSoC Creator development tool, and will guide you how to use PSoC Creator with a project instance.
Project Description: Use PSOC4 all the way PWM to drive an LED light
Establish a project
Open PSoC Creator Development Software, choose File-> New-> Project
Choose an empty PSoC 4 project template, pay attention to the chip of the CY8C432 * series at this time. Enter the project name MY_FIRST_PROJECT, select your project path, then click OK, and a project folder will automatically generate the path you specify, this folder includes all project files.
In the workspace window, open the file topdesign.cysch, which is the schematic file of the project. From the component library, drag and drop a PWM component to the design page.
Double-click the PWM component placed on the schematic, configure it in the pop-up property page, select PWM mode under the Configuare tab; disable interrupt and all input signals under the PWM tag, set the PERIOD value of 254, and the COMPARE value is 127. This will produce a 50% duty cycle of PWM. Click Apply or OK to save the settings.
The clock and output pin are now available to the PWM. Select the Clock component and the digital output pin from the component library (DIGITAL OUTPUTPIN).
Configure the digital output pin, only the name is changed to LED_1, and other default settings are retained.
The configuration clock frequency is 100 Hz, retains other default properties.
Select the connection tool, connect the components in the schematic design page.
From the Build menu, choose Build my_first_project. At this time you will notice that PSoC Creator is automatically generated by PSoC Creator for PWM, Clock, and Digital Output Pin, which implements PWM, CLOCK, Digital Output Tubes. All underlying code and programming interfaces related to the feet.
Now we can add some code to light up LED. Open main.c, add the code shown in the figure.
Finally open my_first_project.cydwr, drag and drop the pin to P1 for P0 [2]
Come, finally, you can compile the final project with the build> Generate Application. Then click Debug> Program to program into your PSoC4 development board, the actual effect is as follows.
Do you find a long-lost DIY enthusiasm on a PSoC4 development board, you are eager to have more exciting content, then you must go to the PSoc Forum version, there is always a wonderful thing you need.
PSOC4 high-level file
The serial port is not unfamiliar with the electronic enthusiast who likes DIY, and the engineers who are used to resolving the problem through serial ports are not in a small number. Can the PSOC4 can create a USB to UART bridge through the USB port?
In addition to your own PSOC4200 chip, there is also a silent but must not be a device -PSOC 5LP on PSOC4. In fact, we can help it with PSOC4 compile programming. This time I see how it will bring us.
Item Description: By establishing a bridge between PSoC 4 and PSoC 5LP, data for serial print input input
First of all, we still re-establish a project USB-UART
Find the UART (SCB) component in the component library drag and drop to the schematic design page
Double-click the UART component and configure the baud rate of 9600
Configure pin P0 [4] - RX, P0 [5] - TX under USB-UART.CYDWR file;
Enter the following code in the main.c file
Compile programming into psoc4. Next, we need to establish a UART connection between PSoC 4 and PSoC 5LP, and the yellow DIY wire sent by Cypras is finally used.
PSoC 4 and PSOC 5LP Diagram
At this time, we also need a serial entry tool to continue with PUTTY as an example, turn on the PUTTY configuration.
After configuring Open, select Open, press the PSoC4 RESET button, the board will appear in the code to output the CY8CKIT-042 USB-UART, when you use the keyboard to enter characters, the serial port will return to the same character as you enter, the author entered The actual effect of CYPRESS PSOC4
Here you will no longer be limited to PSOC4 or PSoC Creator, you have already combinedly combined with the two, create your own ideal!
Attached to this program: USB-UARTEXAMPLE PROJECT.ZIP
There is more interesting and more interesting ideal to refer to
PSOC4 100 days 100 projects
PSOC4 resource summary
We know that PSOC4 is also known as Cy8ckit-042, from Cypress PSOC4 to the present few months, resources have been spread all over the major website, in order to give the majority of netizens an excellent data experience environment, love board network for PSoC4 data Incident, follow-up will continue to be updated.
PSoC CREATOR download
PSoC CREATOR CD ISO (Creator CD)
PSoC Creator Setup
CY8CKIT-042 Kit Only (Kit Design Files, Documentation, Examples)
PSoC Component Data Manual
PSOC-CREATOR component data manual 1.zip
PSOC-CREATOR Component Data Sheet 2.zip
PSOC-CREATOR Component Data Manual 3.zip
PSOC-CREATOR Component Data Sheet 4.zip
PSoC user guidance
PSOC4 quick start. PDF
PSOC4 User Manual.pdf
PSOC4 version description.pdf
PSOC 4 Introduction
PSoC hardware information
PSOC4 hardware document (Schematic, Layout, Gerber, Bom) .zip
PSOC4 application notes
USB.ZIP
Capsense.zip
PSOC4 FAQ
Q: How many universal digital modules (UDB) are PSOC4 chips? Is it the same as PSOC3 and PSOC 5LP?
A: a) 4
b)
Q: Why can't I install this chip in the PSOC CREATOR development tool?
A: Note PSoC Creator To update to the latest version PSoC Creator 2.2 SP1.
Q: I saw that everyone is very respectful to PSoC Creator, I don't know what it is?
A: a) Construction of your own custom designed schematic by dragging and dropping the PSoC components
b) Automatic components layout wiring and configuring GPIO ports
c) Development and commissioning firmware can use built-in API components
Q: Is it true that PSOC4 is really compatible with Arduino?
A: It is true, not only is compatible with Arduino Shield, but also compatible with the Digilent PMODTM connector.
Q: The board of the PSoC series is more expensive, how is PSOC4?
A: PSOC can be said to be the cheapest in the PSoC series, as long as 35 knives. "
Our other product: