Quantcast
Channel: Cypress Semiconductor - PSoC 4 Architecture
Viewing all 796 articles
Browse latest View live

Programming of psoc-4

$
0
0

how can i program standalone psoc-4 IC???

is that necessary to use HSSP method to program psoc-4??


Particle sensor

$
0
0

Hello , I'm working with sds011  particle sensor and our psoc4-049 but I'm not getting proper configuration. if someone working with a similar sensor , would be very grateful for your help.

Thank you
 

voltage Confugration

$
0
0

my internal confuguration of psoc-4 is on 3.3 volts and give 5 volts external supply than what happen??

is it working perfect??

Quick question about PSOC4 Arduino interface

$
0
0

This may sound like a dumb question, but I wanted to make sure since I have never used the Arduino interface standard.

If I plug the CY8CKIT-026 kit board on top of the CY8CKIT-044 MB via the Arduino interface, I will get access to the two CAN controllers feature of the PSOC4 embedded on the CY8CKIT-044 board. However, I still need access to some GPIOs and analog inputs from the PSOC4.

The two CAN buses only use a few of the Arduino pins. Is my understanding that all other pins are still available and using the Arduino interface does not mean all pins dedicated to the Arduino interface are taken? That Arduino is more of a form-factor standard than a communication bus?

I get the feeling this is correct since the schematics for the CY8CKIT-026 kit board show most of the Arduino connectors pins are not connected anywhere on the board.

Thanks.

Kitprog from 059-dev kit with 1.8V or 3.3V?

$
0
0

Hello, bouht a 059-Kit to break off the Kit-Prog.

But on the Pin VTarget comes 5V out.

My project runs on 1.8V or 3.3V, but not on 5V.

It´s a solution to use this Kitprog with low voltage apps?

 

 

Strange clock behavior

$
0
0

Hi

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]

 

Timer with ECO clock input

$
0
0

Hi

Associated with my other posting about clock behavior, how exactly do you use the ECO clock as an input to a timer?

If I select HFCLK as the existing clock source in a clock (v2_20) that drives a timer, then I get an error saying HFCLK cannot be used.

If I try to use SYSCLK (which is derived from HFCLK) then I get the message that the component requires a clock from the clock block. If I try any of the "routed" clocks I get the same error.

How do I do that? The IMO is not accurate enough for my application.

Ta.

IIC communication error. SCL and SDA keeps low

$
0
0

Hi,

I am using a master MCU to communicate with touch board which is powered by CY8C4014LQI-422. The master uses io simulated iic and CY8C4014LQI-422 uses EZI2C. EZI2C is configured as 400Kbps and 8bits sub address. The whole system works normally. But there is a chance that IIC SCL is pulled low by CY8C4014LQI-422 and keeps low forever. There is no specific way to duplicate this issue. And I tried to reset CY8C4014LQI-422 by pulling XRES to GND. The whole system can return back to normal again. 

Anyone can show me why this could happen and how to deal with it? Great appreciation.

BTW, the Enable wakeup from deep sleep mode is checked. 

 

Best Regards


Display BMP images on TFT 240 * 320 ILI9341

$
0
0

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 ?

refmux in psoc-4

$
0
0

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???

Power Mode

power Drop

$
0
0

i have psoc-4 (CY8C4245-482) stanlone ic.

i give external 5 volt between vdd and ground and i check voltage across vdd & ground pin with multimeter then it show only 2.6 volts.

And when i give 3.3 volts then it show only 1.051 volts .

why voltage is lower than given??i cant understand.

can anyone explain me.

PRoC 4 UART receive problem

$
0
0

Q1: I have problem when I am writing a UART Tx and Rx program for the PRoC 4 (CYBL10573) device. I found that all the example project used a function "UART_UartGetChar" in the generated driver to receive a byte from the UART. However this function will ignore number 0 in the receiver part. I think it assumes it is receiving ASCII string. However in my case I am receiving decimal value so I need to receive 0.

How can I check if any data is received instead of  using the "UART_UartGetChar" function?

Q2: In the examples, they are not using receive interrupt. I tried to enable the "RX FIFO not empty" internal interrupt, and trace the stack, I found that it will call "UART_SPI_UART_ISR" and then wait forever here. How can I use the interrupt?

Q3: The generated code is so complicated that it is very difficult to follow by the code. And most of the time the example project is too simple. Actually I have encountered other problem before and I want to do some study before asking question here or finding the support engineer. Is there any documents that describe how to use the generated driver code? Or a user manual for the device?

 

Thank you.

 

Making a Mux/Dmux use Non-BUS Select Inputs

$
0
0

Here is a solution to driving a 1/4 Mux from a Control Register without having to use a BUS.

There are many times in which we need to drive a mux's select input without using BUS because we want to gain access to any single bit to drive other logic.  That is not possible when using BUS.

If anybody knows how to make the Mux/Dmux select inputs accept NonBus signals (ie multiple single bits) please point us in the direction of the solution. Presently we are using the below 1/4 emulation by gluing together three 1/2 Muxs.  This works but it is busy and it probably wastes resources in the PSOC4.

We are having problems pasting in Schematic using FireFox ....so we have attached schematic as well.

 

PSOC4 motor kit (CY8CKIT-037) current limitation

$
0
0

We are evaluating using the PSOC in our motor application.  The kit is quite nice and well built.  We'd like to test higher current and the power supply is only 24v @ 2.1amp.  The mosfets look pretty heavy duty and should handle a lot more current.  Seems like fuse F2 is the limiting factor being 60V @ 2.5 amp.  Would swapping this fuse be the only thing needed?  Looking at the schematic F1 is unpopulated.  I assume this is so you can buy a holder and put a bigger fuse in and remove the PCB fuse F2?

Also I'd like to ask about the design choices on this board.  The mosfets are IRFU3607PBF which should handle 75V @ 56Amps.  This is a pretty beefy choice for the 2.5amp fuse.  Are there other mosfets that can be recommended?  The problem with IRFU3607PBF seems to be it requires special mosfet drivers like the IR2101.  These IR2101 mosfet drivers then require a 12v power supply which from LM5005MHX/NOPB seems to be a big portion of the overall component count.

Are there any mosfets with built in drivers that can handle around 10amps or drivers that don't require the extra 12v supply anyone can recommend?


Locate array onto flash row

$
0
0

Hi

Is it possible to locate a static const array to the start of a flash row (that is, to a 128 byte boundary)?

I'm using a PSoC4BLE (that doesn't support emulated EEPROM) and have a 1k byte array which I'd like to be in flash. If it was located over an exact number of rows that would make my life a little easier.

How can I gain access to SCB HW_UART RX/TX without going off-chip

$
0
0

Has anybody ever had a need to connect the serial stream (both Tx & Rx) from a SCB Hardware Uart to internal logic for mux-ing demux-ing before sending to an external psoc pin?  I am struggling with how to do that since the HW_UART using an SCB goes directly to psoc external pin.  I could solve the problem by sending the signal back into the psoc on another pin but that would waste 2 pins.

The attachment shows what I'm trying to do...ie on the left is my HW_UART and on the right is an example of simple serial data routing logic.  I basically just want to go directly from the UART into my logic without having to go off-chip.  As you can see there is not a connection between the two because I don't know of a way to separate the SCB HW_UART away from the dedicated pin.

 

 

[4M] Silly project: RAM -> GPIO Port with DMA

$
0
0

Hi,

I'm doing a silly project where i have an array of random numbers and i would like to transfer each element of the array to the GPIO Port 1 with DMA, each transfer must be done when the user on-board button is pressed.

The DMA component is configured to transfer Byte -> Word, incrementing the source one element after each transfer.

I thought the following line will make the project run, but it seems like it does not:

DMA_Start((void *)array, (void *)Pins_DR);

Any thoughts?

 

I'm mostly new to PSoC 4 DMA so maybe there's a obvious mistake. I'm using the CY8CKIT-043 board.

Project is attached. thanks in advance

Carlos

 

 

 

PWM in deep sleep

Analog routing error

$
0
0

Hi all,

I have spent some time fighting this problem. I have tried many things, but I am still missing something. "Unable to find solution for analog routing". Can anyone help? I am starting to believe that I will not be able to do the design the way I want it ( may be I should use external op-amps?).

Bundle is attached.

Thanks,

Stoyan

Viewing all 796 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>