PSoC™ 4 Forum Discussions
i have been using psoc-1.there is a reference voltage selection.but i cant find it in psoc-4.
can anyone tell me where it is available in psoc-creator software???
Show Lesscan i use pwm and adc in sleep,deep sleep and hibernate Mode???
Hello, This Gaurav I've been working on cypress from last 6 months and now suddenly my psoc3.2v is showing me this error to my each and every previously done programs.
"Errors found while loading "F:\HealthProject\PSoc\Amol's Programs\Beacon\Beacon\BLE Lab 2.cydsn\TopDesign\TopDesign.cysch" file. This file would not be considered in the update process."
Br- Gaurav
Show LessI am working with a Pioneer board and a CYBLE-012011 eval board. I've instantiated an I2C interface that I've connected to an external MCP4725 DAC, powered by the Pioneer board. I trigger writes to the DAC using a counter with an interrupt on terminal count. My interrupt service routine just sets a flag that my main program checks.
When I attempt to write three bytes to the DAC using the non-blocking, interrupt driven API function SCB_I2CMasterWriteBuf, the output of the I2C has the first byte (the address) correct, but the three bytes of data are all 0's. If, however, I put in a delay after the SCB_I2CMasterWriteBuf function call (either a printf or a CyDelay(1u)), it works correctly. I am able to watch the I2C bus on an oscilloscope. However, this severely limits the bandwidth of I2C writes I can perform - I'm limited by the 1 millisecond delay.
I then changed my code to use the separate functions SCB_I2CMasterSendStart, SCB_I2CMasterWriteByte, and SCB_I2CMasterSendStop. These also work, and I can do I2C bus transactions at approximately 12 KHz, but since they're blocking, I'm unable to do anything else while my data is being written out on the I2C, which won't work for the project I'm designing.
Do you know why the SCB_I2CMasterWriteBuf API function behaves in this fashion and is there a way to do faster, non-blocking I2C transactions? I'm attaching my project bundle.
On a side note, I've only gotten the UART and I2C to work by leveraging off a 100days project (HRM_datalogger). If I start from scratch, copying my code into the new project, neither the UART or the I2C work.
Thanks.
Hi recently I have been working on TFT INI9341 and facing problem with displaying bmp images on TFT screens. Library that I used is https://www.hackster.io/rayburne/psoc-4-using-the-color-glcd-ili9341-8c92f5 and it works perfectly fine for other things, but in case of displaying bmp its behaving bit weired, I spent entire day figuring out strange behaviour. Either I am using wrong converter which is http://hobby-research.at.ua/load/utility/grafika/bitmap2code/9-1-0-22 or there is something else. I get very weiredo image on display,, half here half there. Also attaching BMP image along with the library. I don't know whats wrong there. I think it is converter. If anybody here was able to display a bmp successfully
1) What convertor do you use ? I can smell there is some issue with my convertor. Bitmap2code link already shared
2) How you were able to display ?
Show LessHi
I have an external 24MHz crystal and the ECO is using this. In the configure system clocks window, Direct_Sel, PLL1_Sel and PLL0_Sel are all set to use ECO. HFCLK uses Direct_Sel, and the SYSCLK divider is 1. Everything is thus running at 24MHz.
I have 2 clocks placed in my .cysch. One is set to 24MHz the other to 1kHz. On the clock tab in the .cydwr page one has a divider of 1 the other 24,000. This all seems correct.
There is a timer using the slow clock, its count is set to 1000. I have an ISR on the slow clock TC. The ISR toggles an LED. The LED, in operation, flashes at 0.5Hz - which is also correct.
But, if I set IMO to 40MHz but leave everything else the same (still using the 24MHz HFCLK for everything that I can see), then my LED flashes faster thus the 1kHz clock (based on HFCLK) must have sped up. Measuring the LED frequency I can see that the 1kHz clock is actually 40/24 * 1kHz. That is, my slow clock is using IMO.
Why? [Recap: the 1kHz clock has HFCLK defined as its source]
Show LessHi,
i am using cy8C-kit 042 BLE for collecting sensor data and recieving it using a PC through USB dongle and CySmart PC application.
The data sent is received in hex format in CySmart. I was looking for the following things:
1. Can we log the data from CySmart continuously in some file (excel) located in the PC? (We have the option of "save log" in CySmart, in which we can extract the required data and copy it to another file manually. I was looking for something which could automatize this procedure)
2. Another way to recieve this information is using LabView Visa by making the USB as virtual serial port. I tried doing that but I encounter problems. Does anyone have experience with making such a program?
3. Does cy8c-kit o42 BLE has labView drivers?
Any help is really appreciated! Thanks in advance!
Regards,
Anupama Kulkarni
Show LessHi,
I need control my psoc on C# application. But I don't connect. My computer see on bluetooth list. But I cant see in c# application.
How can I make it.
Show LessHi,
I'm running the UART bootloader example that come with the CY8KIT-049-41xx USB dev kit.
I used this as a base to build my own project and have found everything to work as described execpt for the emulated EEPROM.
I've looked at the example code and at what's on this forum and it seems that when I create an image that invokes the EEPROM_Write() call and I download it using the bootloader host, it programs successfully and starts running. However, if I power cycle, I'm back at the UART bootloader startup (quick blinking blue LED). If I then comment out the EEPROM_Write() call and burn that image, the project persists through power cycles.
I suspect that because the UART bootloader project flashes the new image in EEPROM, it doesn't play well with the emulated EEPROM.
Any thoughts?
Andre
Show Less