46061 Discussions
22883 Members
26604 Solved
I am using a CY8C4244 and have been using PSOC4 for several years now, and have run into a situation that does not make sense.
Setting up a non-dedicated interrupt is not apparently an option, and this is very bad for my design as I cannot have as many dedicated interrupts as is required,
What gives here, why is this not functioning like all other PSOC4s I have used to date? Please respond ASAP, this is a big issue.
Show Less
Hello Techies,
I am using S25FL064L 64-Mb (8-MB), 3.0 V FL-L SPI Flash Memory one of my project.
As I am new I don't know how to interface this with my app code. I am using LPC4357 microcontroller.
Can anyone share me the drivers/example code how to interface it ?
If low level driver/interface details are available please share asap.
Awaiting for your quick replay and thanking in advance!
Best Regards,
Ashrumochan
Show LessHi
I could not find a discussion or manual sections about any dependencies for the following:
There are 2 separate GPIFII blocks to switch between; one 16bit, the other 32 bit.
Each GPIF has a different pibClock.clkDiv and CyFxApplnSetPibDllParameters().
When switching (reloading) GPIFs, do the FX3 USB, DMA, or any other component, need to be torn down first and re-initialized?
Thanks
JN
I am working on a Flash Write routine which is part of a boot loader for the CY8C27243. I am using Application AN2100 as a starting point. I have all aspects of the bootloader working except for Flash Write. After many days of debugging I have narrowed it down to the Supervisor ROM Flash Write sequence which uses the M8C SSC instruction.
Here is a simplified sequence used to access a supervisor ROM routine as found in FLASHAPI.asm which is part of AN2100. This is part of the temperature table access routine and is a very simple use of the supervisor ROM and should work.
push A ; save the State variable
push X
mov X, SP ; copy SP into X
mov A, X ; mov to A
add A, 3 ; create 3 byte stack frame
mov [0xF9], A ; save stack frame for supervisory code
mov [0xF8], 0x3A ; load the supervisory code for flash operations
mov A, 6 ; load A with FLASH_TEMP_TABLE_LOOKUP rom code
SSC ; SSC call the supervisory code
pop X
Code execution does not return after the SSC instruction. I am assuming it is halting for some reason.
I have double checked all of the parameters and can't figure out what I am doing wrong. Can SSC only be called when the M8C is in a certain mode ? I have been able to read Flash successfully since that routine uses the absolute ROM read instruction ROMX which avoids an SCC. I wish there was such an easy way to do a write.
I have been working on this bootloader for nearly a month now and need to finish this before new product release.
Show Less
Hello everyone,
I hope I am writing to the right place, otherwise please tell me where I should ask my question.
We are using a CYBLE-214015-01 module (antenna on board) on our device and it seems we can't reach the RFO power indicated in the datasheet. I understand that the value given is the theorical value configured but we get a big difference between configured value and far field measure. For example, we set RFo to 0dBm and we measure around -8.5dBm E.I.R.P in the "best" position (the tests were done in a dedicated laboratory for CE certification purposes).
Does it sound normal for you ?
What can cause this loss according to you ?
Thank you for your help,
Best regards,
Alexandre
Show Less
For a project that needs "intelligent bitbanging" the PSoC for seems to be perfect. I'm evaluating following chain:
Pin => combinatorial logic 1 => status register => CPU processing => control register => combinatorial logic 2 => Pin
I connected the two pins externally and put an inverter as a minimal combinatorial logic 1 into the schematic. The registers/pins are set to transparent for minimal latency (I'll add synchronisation as appropriate later, that's just an experiment). Combinatorial logic 2 does not yet exist, it's a direct connection for now.
The code contains an unrolled loop like that (compiled from C):
ldrb r1, [r2]
uxtb r1, r1
strb r1, [r3]
ldrb r1, [r2]
uxtb r1, r1
strb r1, [r3]
or handwritten assembly:
ldrb r0, [r5]
strb r0, [r6]
ldrb r0, [r5]
strb r0, [r6]
This roundtrip takes approximately 11 cycles (230 ns) at 48 MHz, maybe 10 cycles plus propagation delay.
Is this correct? Where are the cycles needed?
Show LessHello,
I am trying to use this chip and wanted to work from the design example of the EVB (CY6611 EZ-USB HX3PD Hardware Design). My issue is that I am using Altium 21 and the file will not open because it says I need Cadence Allegro on my system to open. Is there a way to get the file in a format that I can import into Altium?
Show LessHi everyone,
I'm debugging a camera firmware which is developped based on this: https://www.cypress.com/documentation/application-notes/an75779-how-implement-image-sensor-interface-using-ez-usb-fx3-usb
The cypress camera works fine except that seldomly during video streaming the camera somehow stops and when I check usb desctiption with lsusb -v, I saw that its descriptor is corrupted. And in dmesg I saw:
[ 8720.318320] usb 1-1.4: new high-speed USB device number 28 using xhci-hcd
[ 8720.419525] usb 1-1.4: config 1 contains an unexpected descriptor of type 0x1, skipping
[ 8720.419534] usb 1-1.4: config 1 has an invalid descriptor of length 1, skipping remainder of the config
[ 8720.419540] usb 1-1.4: config 1 has 1 interface, different from the descriptor's value: 2
[ 8720.419548] usb 1-1.4: config 1 interface 0 altsetting 0 has 0 endpoint descriptors, different from the interface descriptor's value: 1
[ 8720.420738] usb 1-1.4: config 1 has an invalid descriptor of length 1, skipping remainder of the config
[ 8720.420747] usb 1-1.4: config 1 has 0 interfaces, different from the descriptor's value: 2
[ 8720.423854] uvcvideo: Found UVC 1.00 device _v1.4.0 (04b4:00f8)
[ 8720.423873] uvcvideo: No valid video chain found.
[ 8720.423919] usb 1-1.4: Unsupported device
Is there anyone has the same problem ?
Thank you very much
Show LessHello, I'm refering Code example CE210291, Low Power One Button (CapSense, 4000S)
whether with the CY8CKIT-145-40xx or CY8C4025LQI-S411 Controller, the fastest possible adjustable loop/scan time is 20ms, no matter which time I set at parameter LOOP_TIME_FASTSCANMODE.
Why that?
Many thanks
Show Less
Hi,
I have been working to implement a circuit on PSoC5LP MCU as the PSoC5 LP MCU supports both analog and digital peripherals but in analog we have 4 comparators and 4op-amps, what in the situation if we require MOSFET in the situation, then what should be my approach?
Anyone Please do let me know, waiting for your reply.
Thanks & Regards,
Prateek
Show LessEsteemed Contributor II
Esteemed Contributor
Employee
Employee
Honored Contributor II
Honored Contributor
Honored Contributor
Employee