no, not at all. actually it was an network problem. but thanks for response, hope you'll continue the same in future.
need some help in programming the capsense PSoC CY8C20534, if you have any samples for the same please convey.
hey, Bob I tried working my board with the code I have; its working ok for the buttons-- they are glowing the LED's accordingly.
Now the problem I'm facing is slider.
I'm using the separate LED's for each sensor in the slider. I'm unable to program any of those. the syntax I'm using is as--
void display_update_LEDs(BYTE sensor_state)
LED_0_Switch( (sensor_state & 0x02) ); ----------B0==L0
LED_1_Switch( (sensor_state & 0x04) ); ----------B1==L1
LED_2_Switch( (sensor_state & 0x08) ); ----------B2==L2
LED_3_Switch( (sensor_state & 0x10) ); --------- B3==L3----------till here my 4 buttons are working ok
LED_4_Switch( (sensor_state & 0x01) ); --------- B4==L4------------this one is used as a pre-requisite for the slider
i.e. it has to be ON to turn ON the slider sensors.
the condition for the slider is B4+(any of the slider sensor) will be ON a/c ly.
LED_5_Switch( (sensor_state & 0x??) ); ----------here after slider sensors start-------B5==L5
LED_6_Switch( (sensor_state & 0x??) ); ---------- B6==L6
LED_7_Switch( (sensor_state & 0x??) ); ---------- B7==L7(to be done)
LED_8_Switch( (sensor_state & 0x??) ); ---------- B8==L8
can you tell me the values in the '??' block and logic behind it.
I'm afraid you will have to post your complete project here to answer your question. Use Designer -> File -> Archive Project and then attach the resulting .zip file.
Yes, of course, but you may do that yourself.
Open Creator 3.0 and select on the start page "Find Example Project". There are some examples using CapSense CDC which you can adapt to your chip and the board you use easily. Together with the example usually comes a detailled documentation which may additionally help you.
Oh, I am very sorry, my advices were for PSoC3/4/5 and you are using PSoC1 for which I do not have got an example yet.
From this page here you can find example projects for the listed kits, something will be there for you:www.cypress.com/
hey Dana, you asked me to post my archieved project & I have done that in the other case with the same header----(Capsense Programming).
so check that out & tell me how to make that work. thamks
Try this again with a little better spelling.
Go to your profile or just clcik your highlighted Forum ID on one of your posts
and reward points are shown.
I find a compile error, and suggest you file a CASE for this.
!E CSA_EMC.inc(19): no such mnemonic 'Wizard_was_not_called_after_place_rename_configuration_change_or_update_Open_Chip_Editor_open_Wizard_press_OK_button_and_generate_project'
make: *** [lib/obj/csa_emc.o] Error 1
make: *** Deleting file `lib/obj/csa_emc.o'
I am using Designer 5.4
To create a technical case at Cypress -
“Create a Case”
You have to be registered on Cypress web site first.
sorry Dana but I didn't get what you are telling me, if it is about the building & downloading the project it does work ok for me. I'm also using PSoC Designer 5.4 & CY8C20534 controller.
if it is anything else then please elaborate. thanks
Hi Bob & Dana,
I have a project working to my expectations, i.e. its working good for the buttons. for slider its working good now but the problem now is about the LED's
while I'm assigning the separate LED's for the buttons & slider, I'm getting the o/p of the slider on the same LED's assigned fopr the buttons rather than the ones for the slider.
what is the reason for that n how to overcome it.
Hello guys, what is the difference between-
Slave address & sub-address
Figure 14. EzI2Cs Example: Write to iVolts
Start (slave address)0x04 Write ACk (sub-Address)0x02 ACK (data to write)0x55 ACK 0xAA ACK P
if I'm writing a instruction as-
if ( (sensor_state & 0x01) && flag1 ==0)
else if (!CSA_EMC_bIsAnySensorActive())
what I'm specifying as 0x01------is it a slave addr or the sub-addr?
Thanks Dana, I'm uploading my project here.
In that I'm specifying some addresses, can tou tell me are they the slave addresses or the sub-addresses.
I'm having those addresses for the 5 sensors, tell me what are the necessary changes to modify them; you can take an case of 10 addresses to explain it to me.
HOW TO CONFIGURE MY I2Cs?
while I'm trying to configure my I2Cs in my project with-
PSoC designer 5.4 & PSoC mini-prog1
I'm unable to do that. is it possible to edite it in my project environment.
Thanks & Regards-
Configuration of EzI2Cs is done in the chip editor
Setting the slave address (you choose 😎
Pins (pin1_0 and pin1_1)
You should check with EzI2Cs_GetActivity() to see if anything has been red from or written to your device.
A question: What is the device you are controlling your PSoC board with? What is the address range that device can communicate with (link to datasheet) or is that another PSoC?
Hi to all, can anyone tell me why to use the external resistors (one of the PSoC's pin is assigned for that)?
on what base does that pin is chosen & how does its presence or absence affects the operations.
Thanks & Regards-
This thread has become a bit lengthy and apart from its title several different questions have been asked. So I am not quite sure whether your question addresses CapSense or I2C.
What about starting a new thread for a new question?