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

Absolute Mouse Coordinates in USBFS

$
0
0

Hi folks,

I am currently working on a touch application which should use absolute coordinates.

How can I change the relative coordinates into absolute coordinates in USBFS?

I have read through the datasheet component but it either doesn't say or I've missed it.

Thanks

 


application start after bootLoader

$
0
0

Hi, i'm having a first time play with the bootloader on PSoC 4 - loving it, fantastically easy.

Only issue i'm experiencing is that after successfully programming the new firmware over UART (via bootloader host), the new application doesn't start automatically and i have to perform a manual reset.

Is there something i'm missing?

kind regards,

Damian 

PSoC4 default clock speed

$
0
0

What is the CPU speed in PSoC 4200 devices. Is it 48MHz or 24MHz?

Is there a default prescaler to slow down the speed or does it run at maximum speed by default?

Thank you

ADC simultaneous read/write

$
0
0

What happens if the CPU tries to read ADC data while the ADC is writing the results to the channel register? Is there a possibility of error that needs to be handled by the programmer or does the ADC_GetResult16() function handle it itself?

Thank you

Bootloading from SPI / I2C memory (?)

$
0
0

Hi.

As I understand, the use of Bootloader component is with a Host only.

Is it possible to make some kind of custom bootloader, which reads an image from an external memory? Is there an example maybe?

Thanks.

I2C in deepsleep mode

cyelftool.exe question

$
0
0

How do you clear this error: 

Error: flash row: 254 is either already used or does not exist.

The command 'cyelftool.exe' failed with exit code '1'.

 

Can you objdump the elf file and find how much memory is available.  My resource meter shows memory as 99.9% full.

 

--Gregg

PSOC4: ADC Diff Mode

$
0
0

Hi,

 

I would like to use the PSoC 4100S-Family. But I have some requirements acc. the ADC Module

- sample and conversion time: min. 7µs

- external reference voltage input for ADC

                         switches between 1.3V and 2.5V
                         no internal connection to VDDA

  -  differential ADC measuring

                        1 channel
                        programmable gain amplifier (gain: 4)
                       down to -0.7V input voltage at one input pins

My question is, how can I measured down to the - 0,7 V on the ADC input? Is it possible?

BR


Thermocouple Component

$
0
0

if i want to make universal thermocouple sensing device than is that thermocouple component do that??

because i believe there is no API for change thermocouple type in run time application.

Tuner GUI Connection fails PSOC4248AZI-L485

$
0
0

Hi,

I have looked through some similar threads but I haven't come to a solution so far.

I am using a custom PSOC4248AZI-L485 Board and I cannot launch the tuner.

I have configured the EZI2C according to the settings using the pins P3_0/P3_1 , but when using the MiniProg3 the connection always fails.

Any clue what I am doing wrong?

Programming the device works fine.

 

 

Communication_api.c/.h

$
0
0

AN86526 refers to the communcation_api.c and .h files. I assumed this would be in the cybootutils along with the others, but I don't see it there.

Does anyone know the location of these files? I see the struct pointers to the four functions in cybtldr_api.h but that's it.

Problem with CY8CKIT-049 with MiniProg3

$
0
0

Hello Experts!

I have been using the kit CY8CKIT-049 for quite some time now and have delivered a few successful tasks.

However, there has been a problem with the kits that they can not be acquired by MiniProg3.

I have 7 such kits now - 3 of them just out of the pack - that can not be recognized by MiniProg3 - with Creator and with Programmer.

The MiniProg3 seems Ok because I can still program some older kits.

This is now a real problem, and any help would be highly appreciated

Thanks!

Prerak Sheth

 

Additional Info: Log from psoc programmer

Program Finished at 4:58:17 PM                                    | 
                                                                  | FAILED! PSoC device is not acquired! Check connection of the chip to the programmer
Please, check the following items:
 - the connection between the programmer and the PSoC;
 - the correct programming protocol is selected;
 - the correct connector option is selected.
Program Requested at 4:58:13 PM                                   | 
Successfully Connected to MiniProg3/1506DD0002EC at 4:58:07 PM    | MiniProg3 version 2.05 [3.08/2.08]
Opening Port at 4:58:06 PM                                        | 
Device set to CY8C4245AXI-483 at 4:58:05 PM                       | 32768 FLASH bytes
Device Family set to CY8C4xxx at 4:58:05 PM                       | 
Active HEX file set at 4:58:05 PM                                 | C:\Users\prerak\Documents\Code\Integra GSM Alert\GSM_16Bit\GSM_16Bit.cydsn\CortexM0\ARM_GCC_493\Debug\GSM_16Bit.hex
                                                                  |  
                                                                  | Users must be aware that the following PSoC device should not be powered or programmed at 5V. Doing so will cause damage to the device: CYRF89xxx
Session Started at 4:58:05 PM                                     | PPCOM Version 20.0

 

Need input current for PSoC4 digital input

$
0
0

This seems like something I should be able to find, yet I keep coming up empty.  What input current does a PSoC 4 GPIO pin use when configured as a high-impedance digital input?  (And, why can't I find this in the datasheets?)

CmOStart.c -- No return exception handler -- callback?

$
0
0

In our production code we'd like to have have the exception handler cause a reset.

Is the correct way to do this define this callback?  Where should this define and the callback function be handled?

 

 

#ifdef CY_BOOT_INT_DEFAULT_HANDLER_EXCEPTION_ENTRY_CALLBACK
        CyBoot_IntDefaultHandler_Exception_EntryCallback();
    #endif /* CY_BOOT_INT_DEFAULT_HANDLER_EXCEPTION_ENTRY_CALLBACK */

Pull up resistors for 5V Supplied I2C

$
0
0

Hi All

I am working in a direction to decide the values of the pull up resistors for I2C on PSoC4. I am running the CY8CKIT-049 from USB of my Laptop so it is working on 5V. I kindly request you all to give me guidelines to accomplish this.

 

Thanks in advance.

 

Shaunak Agastya Vyas


CY8CKIT-049-41xx

$
0
0

Hello all, 

I was working with CY8CKIT-049-41xx PSoC4 Prototyping kit. 

I get this error (when trying to program through Bootloader Host):

10:32:18 AM - Selected device: USB Serial Port (COM4) - UART
Generic Serial Port

10:32:29 AM - program Started

10:32:30 AM - The operation has timed out.

10:32:30 AM - Communication port reported error 'Unable to read data from the target device'.

10:32:30 AM - program failed in 1010 ms.

 

Any ideas?

 

Manny

Toggling a pin in less time than 1Us

$
0
0

Hi

I am toggling a pin continuously with Delay between toggling around 1us using the function CyDelayUs.

Is there a way to toggle the ping faster than 1us? or in other words how do I create a delay less than 1us?

regards

 

The flash row is not valid for the selected array.

$
0
0

I get this error for one PSoC while using bootloader host, but can down load the identical code to a second PSoC with no problems.

 

Here are my relevant sections in the PROJECT.elf file showing text, eh_frame and rodata, do not overlap with cyloadablemeta. 0x7BF0 vs 7FCO.

 

Idx Name          Size      VMA       LMA       File off  Algn  Flags
  1 .text         000055a2  00002480  00002480  00002638  2**3  CONTENTS, ALLOC, LOAD, READONLY, CODE

  2 .eh_frame     00000004  00007a24  00007a24  00007bdc  2**2  CONTENTS, ALLOC, LOAD, READONLY, DATA

  3 .rodata       000001c8  00007a28  00007a28  00007be0  2**2  CONTENTS, ALLOC, LOAD, CODE

 12 .cyloadablemeta 00000040  00007fc0  00007fc0  00007e08  2**2  CONTENTS, ALLOC, LOAD, READONLY, DATA

ADC SAR High Detection Interrupt

$
0
0

Hello guys,

I'm using the ADC SAR Seq on my PSOC 4100 series to detect a high current. I want the interrupt to trigger when the ADC senses a voltage above its limit. I don't want the interrupt to continuously trigger to check the ADC registers(which it's currently doing). Below is the interrupt routine:

CY_ISR(ADC_LIMIT_ISR){
    
    uint32 intr_status;
    intr_status = ADC1_SAR_INTR_MASKED_REG;

    windowFlag = ADC1_SAR_RANGE_INTR_MASKED_REG;        // Read range interrupt status and raise the flag (High Limit)  
        
    if (windowFlag){
            ADCMode = 1;
            OutputsOFF();
    }
      
    ADC1_SAR_RANGE_INTR_REG = windowFlag;               // Clear range detect status
    ADC1_SAR_INTR_REG = intr_status;                    // Clear handled interrupt 
}

Thanks,

 

Rick

PSOC 4 BLE: Unable to Read using Characteristic UUID

$
0
0

Hello PSoC Community,

I have issue with reading the value using characterstic UUID, when I try to read I am getting an error Attribute Handle not found.

If anyone know what is the event handler for the READ USING CHARACTERISTIC UUID, please let me know.

 

Thanks 

Viewing all 764 articles
Browse latest View live


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