45956 Discussions
22810 Members
26555 Solved
Hi Cypress,
I have been programming my FX3 SuperSpeed microcontroller, with the help from the CyControl Center. When I build my C-program and create a .img file, I can put it on by programming it via RAM. But this means, when I remove power, it will delete the program off the board (and I have to reprogram it every time I give it power).
How do I program it with an .img file, such that the program runs automatically on boot / when it gets power?
I've also tried to proram it via I2C E2PROM and SPI FLASH, but I don't think that's how you should do it, and I can't get it to work either by programming it that way.
Best regards,
Søren
Show LessI'm attempting to read the current time, and the local time info, from the CTS of an iOS device everytime I connect to the iOS device (I then use this to update the time in a RTC IC on my hardware).
I'm having success reading the Current Time information, but not the Local Time Info.
I'm following a similar process for both sets of info, but only the Current Time info is coming through OK.
In my main loop, I make the following calls to read the two sets of info:
CyBle_CtscGetCharacteristicValue(cyBle_connHandle, CYBLE_CTS_CURRENT_TIME);
CyBle_CtscGetCharacteristicValue(cyBle_connHandle, CYBLE_CTS_LOCAL_TIME_INFO);
For the call to get the Current Time, it correctly returns the CYBLE_ERROR_OK result. But for the call to get the Local Time info, it seems to be returning CYBLE_ERROR_INVALID_OPERATION, and I can't work out what I'm doing wrong.
Can anyone
Show LessHi, I have 2 boards, one marked Rev 4 with QR Barcode labels on it, the other older and no rev or QR
label.
I am using DieTemp component, more recent board gives me a correct reading of 84 F at room Temp,
the older board gives > 200 F.
Code being used trivial (readings at 1 sec intervals) :
SAR1_EnableInjection( ); // On next conversion enable SAR to measure injection channel
while ( SAR1_IsEndConversion(SAR1_RETURN_STATUS_INJ ) == 0);
SARcnts = (int32) SAR1_GetResult16( 1 ); // Get results from SAR ADC injection channel, which is die temp in this design
// SARcnts = (int32) ( (5.000 * (float) SARcnts ) / 1.024 ); // Correct counts becuse we are using 5V Vref versus 1.024 Vref
DieTempF = (int16) DieTemp_CountsTo_Celsius( SARcnts );
DieTempF = ( ( 9 * DieTempF ) / 5 + 32 ); // Convert to degreees F
SARconvCount = 0; // Reset the # SAR conversions counter used to only examine injection channel > 1 sec
Code used inside ISR from SAR at EOC. SAR running continuously. All vars sized correctly for API being used.
Vref is 1.024V
Were the older boards an issue ? Creator 4.4 and 4.4 being used.
Regards, Dana.
Show LessHello,
I had another question regarding another post that I inquired about not long ago (link below):
For my application, I wanted to connect a USB Type-C receptacle to the CCG3PA for PD charging capability as well one of the downstream ports of the HX3 for USB 2.0/3.0 data. I originally wanted to retain legacy charging by connecting the Dp and Dm lines to both the CCG3PA as well as the HX3 since the CCG3PA has more charging profile capabilities. To reduce complexity, I decided to simply connect the Dp and Dm lines to the HX3 because BC1.2 and Apple Charging would suffice for the application. With this configuration, how would you recommend the downstream charging to be controlled considering that PD and legacy charging would be controlled by different devices?
Could I do any of the following:
Thanks in advance!
Chris
Show Less
I'm having difficulty figuring out how to get my EZ-USB FX3 GPIF-II synchronous master interface working reliably.
For each of the following questions I only want to know the answers that apply to the EZ-USB FX3 when operating the GPIF-II in synchronous master mode. I don't care about synchronous slave mode or asynchronous modes.
Show Less
Hi everyone,
I want to configure the DS-1 port of CY611 EZ-USB HX3PD EVK to supply 12V. But when I try to configure using EZ-USB HX3PD configuration Utility - PD Controller- Port 1, it shows me error - Atleast one 5V PDO should be enabled in Source PDO. But if add another source PDO of 5V, it does not save the configuration.
Can anyone help please ?
Thanks
Sugreev
Show Lesshello,
i've succesfully tried and reproduced the example called "qspi_read_write_using_sfdp".
When i'm importing the rights function in my project, the init function fails (cy_serial_flash_qspi_init).
When i'm digging into the details, it fails when calling Cy_SMIF_MemInit which return CY_SMIF_SFDP_SS0_FAILED
i've compared everything, and i'm not able to find what i'm doing wrong.
is there anybody who experienced the same issue ? thanks
Show LessI walked into a PSOC 5LP design where it was assumed the SAR was running a full 12-bit unsigned resolution in single ended mode. This didn't appear to be the case and after struggling with settings both high level as well as low level register settings I can't seem to make it work as a 12-bit single-ended unsigned ADC. Is this possible with this device? If so, please tell me how to use it that way. Also, please add this question to the list of FAQs for these devices.
Show LessHello,
I am designing a product for medical liquid sensing and I am a bit lost in all your products.
My tank is about 20cm high, and I need a 1mm accuracy (so 200 divisions). My sensor PCB can be up to 3cm wide (so 20cm x 3cm for sensor).
The distance between the liquid and the PCB is 2.5mm PVC, 0.5-1mm air, and 1.5mm ABS.
I was wondering if you had recommendation on which product to use, and how many (segmentation of the sensors). I already have a microprocessor in my product and only need the sensing part (via like I2C).
Show LessEsteemed Contributor II
Esteemed Contributor
Employee
Employee
Honored Contributor II
Employee
Honored Contributor
Honored Contributor
Employee