PSoC™ 5, 3 & 1 Forum Discussions
Hi,
I am trying to program PSoC 5LP from python.
I am on Windows 10 Pro, 64 bit. I am using python 3.4.4, and PSoC 5LP kit, connected via kit prog to PC. I am able to program the device using PSoC creator 4.0, update 1.
I tried to program the device using "C:\Program Files (x86)\Cypress\Programmer\Examples\Programming\PSoC3_5\SWD\Python_Ex\Python_Ex.py"
I modified this script to point to my hex file.
However, I am getting this error below:
-------------------------------------------
C:\Program Files (x86)\Cypress\Programmer\Examples\Programming\PSoC3_5\SWD\Python_Ex>python Python_Ex.py
File "Python_Ex.py", line 418
print "Mismatch of Checksum: Expected 0x%x, Got 0x%x" %(flashChecksum, hexChecksum)
^
SyntaxError: invalid syntax
-------------------------------------------
Also, if multiple PSoCs are connected to the same PC (via kit prog), how will I program them all, one by one?
Regards,
Vishnu
Show LessWe have designed a product base on CY8CKIT-033A platform.We have re-designed the hardware with CY8C3446LTI-073, and worked in Apple device powered mode.
But it can not pass the Apple's certification,because it draws too much current in low power mode.
In the project Music_Creation, use APPLE_DEVICE_POWERED powered mode, uncomment HANDLE_USB_SUSPEND in Configuration.h.
I debug the project, I found it can not enter USB Suspend status.
I have a few questions follow:
1.In what conditions it will enter USB Suspend status?
2.How to reduce the current further?
Show Lesshello everyone:
I developed a touch panel system with psoc5866, with 16 buttones, two sliders and one dedicated proximity sensor.
The system is set as autotune with other parameters difault.
But i find it scans sensors very slow, with about 3 seconds per loop.
The program is as below:
for(;;)
{
/* Place your application code here. */
if(0u == CapSense_IsBusy())
{
CapSense_UpdateEnabledBaselines();
CapSense_ScanEnabledWidgets();
}
else
{
........
//several such operations as below:
if (CapSense_CheckIsSensorActive(CapSense_SENSOR_PROXIMITYSENSOR0_0__PROX))
LED_Write(0xFD);
..........
}
}
what could be the problem?
do I neet to call CapSense_UpdateEnabledBaselines() each scan when smartsense is set?
Show LessHey, I'm a low level programmer who is interested in the security of infrastructural and industrial implementations of technology. I was wondering if anyone knew a good way for me to get my hands on low level info about the PSoC 3 First Touch board, like the MCU it uses, how I should program it in assembly, and so forth. Please respond soon.
Show LessI would like to measure the time between two rising edges to calculate speed with a hall effect sensor (30000rpm).
Ideally, I would like an up-counter that would capture on a rising edge to a LIFO buffer or single register and then reload the counter.
The problem is that the only counters available use FIFO buffers that overwrite to the front of the buffer, making it hard to tell which value was the latest value. If the buffer has not overflown, then the newest value is at the back. However if the buffer has overflown, then the newest value is at the front. However, since there is no overflow status bit, I would be forced to interrupt the processor on every capture to make sure the FIFO buffer does not overflow. I do not want to have to interrupt the processor so often. Is there a way to avoid using interrupts, avoid using polling, and avoid writing VHDL for my own counter? Thank you.
Show LessHello everyone, I'm trying to create my first USB compliant device, specifically I'm trying to make an USB MIDI device, that can handle 4 MIDI Outputs.
I I'm really lost when It comes to USB communication, I understand the basics, but I as said this is my first USB device. I got the device to show up on the computer, it connects as a MIDI Device, but with no ports available.
I'm pretty sure my descriptor is all messed up, I tried using an endpoint for each out port, but I cant get it working.
This is what my computer shows.
Can someone help me understand how to create a proper descriptor for USB MIDI devices?? Thanks!
Show LessHi, this is my first project and am having a bit of a struggle getting this to work. Basically the adc is differential with an audio input sampled at 192Ksps>Filter for Low Pass.
The problem occurs trying to get the Filter value out of the DMA to the Pwm compare1 register.
I am attaching the project bundle.
Any help or pointers would be very much appreciated.
Thanks in Advance
Al
Show LessHello,
I've a question.
In PSoC5 if I set in the pin configuration -> Reset -> Power-On Reset -> Pulled Up, does it means that the pin is pulled up if a reset occurs (for example for a watchdog or if I force a sw reset ....) or it is pulled up Always in every condition also at Power On ?
Thanks and regards
Show LessI have an application that needs to set up a device at low SPI rate (< 3MHz) and then switch to SPI rate up to 20MHz for normal speed operation.
Could someone please explain or give example how to change the SPI rate for these in code.
Thank you
Show LessHI every body.I am using psoc5 for my project.my project worked with some peripheral as GPS module and temp sensor(I2C) and Eeprom and Accelerometer and ADC and digital input/output and RS232 and RS485 and CAN interface and GSM module to send & recieves sms request and connect with server for send and receive packet data.those of them worked well as i want seprated.my problem is working with tcp connection with gsm module.i want to calculate anything multitask and make packet to send to server and get ack from server.my program is not multi tasking mode now,so in tcp connection and send & recieves AT- command to gsm,module will be confuse and psoc hanged.now i think should to programming multi tasking...but i dont know how can i do it?and how can i start to changing my program.is there any body to help me?i am very harassment for my problem.
thanks for attention...
Show Less