Programming PSoC 4 Pioneer kit

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello all,

   

Greetings.

   

 I just received my Pioneer board for PSoC 4, CY8CKIT-042. I'm new to it, so curiously trying to get it to work.

   

To do that, I have downloaded the PSoC Creator 3.1 SP3, I also have PSoC Programmer 3.22.3 installed. With this after getting my pioneer board, I started with the LED Blinking project. I did the design & coding in Creator, then built it, was successfully built.

   

Then I connected the pioneer board to PC & tried programming it, but could not do that; as I was getting the error: -

   

Port Acquire Failed

   

Device may not be connected or the port may in use by another application

   

Please guide on the same. Do I need to install anything else? How to resolve it?

   

Waiting for positive & quick response.

   

Thanks & Regards-

   

Amit

0 Likes
12 Replies
Anonymous
Not applicable

I had a similar problem first time using psoc 4.  My recommendation is that try removing the programmer version 3.22 and load version 3.23.

   

Moreover, I am using psoc creator 3.2 which is a newer version than yours. You can update the creator as well. I do not think the problem is because of that, but I wanted to tell you anyway.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Sometimes simply unplugging the USB cable and re-plugging it in will

   

renegotiate the connection.

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

Hello Dana & eee student,

   

Greetings.

   

It was as you said, Dana. It did worked good.

   

Now I was trying to get some more example projects, so I scrolled down to Examples & Kit's Tab on the Start page of the Creator. There I saw 2 options as follow:

   

Find Example Project....

   

No Kit Packages Installed

   

In turn I could not find Specifics as -

   

Kit's:

   

       CY8CKIT-042

   

                Blinking LED.cydwr & others as mentioned in Pioneer Kit Guide for CY8CKIT-042.

   

 

   

I also tried refreshing it but could not have it. What could be the reason for this?

   

Please help me getting device specific example projects, they could help a lot. Waiting for your response to proceed.

   

Thanks & Regards-

   

Amit

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Go here and download the Kit only file and do the install -

   

 

   

http://www.cypress.com/documentation/development-kitsboards/cy8ckit-042-psoc-4-pioneer-kit?source=se...

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

Hello Dana,

   

Now I was trying to configure 2 of the slider segments on board as CapSense Buttons, Namely(Seg0 & Seg5). To do that I was refering to the code from Example project with CapSense slider.

   

In that how to define, initialize & make them work with CapSense? Please guide.

   

I have tried some, but it gives me error like:

   

error : CapSense_SENSOR_BUTTON0_BTN undeclared (first use in this function)

   

warning : implicit declaration of function PWM_WriteCompare .

   

if you have any project with CapSense buttons please share.

   

 

   

Thanks & Regards-

   

Amit

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

For this, check the component name you gave the PWM -

   

 

   

warning : implicit declaration of function PWM_WriteCompare .

   

 

   

Should it be PWM_1_WriteCompare() ?

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

Hi Dana,

   

The name given to PWM component is PWM only, there is no mismatch of the name. so I think PWM_WriteCompare() should be fine.

   

Regards- Amit

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Regarding projects on the start page of Creator there is a "Find Example Project"

   

link, there are several for PSOC that you can look at.

   

 

   

Also consider post your project so that forum can take a look at errors.

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

Hello Dana,

   

I got it sorted, it was that I didn't needed the PWM & about the buttons, I had reverse initialized the LED's.

   

Now its working ok.

   

Second I wish to go for the Matrix type buttons. What will be the pre-requisites I will need for that? Do I need to define a table for the Matrix pattern? Please guide.

   

Thanks & Regards-

   

Amit

0 Likes
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted
        AMraje, There is a component created by Bob Marlowe to communicate with matrix keypad http://www.cypress.com/forum/psoc-community-components/matrix-keyboard   
0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given
0 Likes
Anonymous
Not applicable

Thanks Dana,

   

I should have look at them. Will get back to you guys for any requirwd help.

   

Regards-

   

Amit

0 Likes