PSoC™ 4 Forum Discussions
When putting finger on the slider Pioneer kit (the one with the slider) after following PSoC 101 lesson 13 there is no response at all. Does anybody have the hex output file so I can just program that and see if it works?
Show LessHi.
I am new with Psoc products and I create a simple project that read voltage from a pin (P0.5) with 10 bit ADC. The micro is CY8C4045LQI-S412.
main.c
int main(void)
{
CyGlobalIntEnable; /* Enable global interrupts. */
ADC_1_Start();
while(ADC_1_IsBusy()!=ADC_1_STATUS_IDLE);
ADC_1_ISR_Start();
ADC_1_StartConvert(0);
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
for(;;)
{
/* Place your application code here. */
}
}
ADC_1_ISR.c
CY_ISR(ADC_1_ISR_Interrupt)
{ uint16 voltage;
#ifdef ADC_1_ISR_INTERRUPT_INTERRUPT_CALLBACK
ADC_1_ISR_Interrupt_InterruptCallback();
#endif /* ADC_1_ISR_INTERRUPT_INTERRUPT_CALLBACK */
/* Place your Interrupt code here. */
/* `#START ADC_1_ISR_Interrupt` */
while(ADC_1_IsBusy()!=ADC_1_STATUS_IDLE);
voltage=ADC_1_GetResult_mVolts(0);
ADC_1_ISR_ClearPending();
/* `#END` */
}
The ADC status remain in "converting" (0x40) in the while loop. And also... without while loop check, after clearpending the interrupt routine is invoked continuously.
Whitout interrupt, if I use ADC_1_ReadResult_mVolts or ADC_1_StartConvert + ADC_1_IsBusy + ADC_1_GetResult_mVolts, the voltage is read correctly.
What is the problem in the code above?
Thanks a lot.
Best regards
Show LessI have a working project built and successfully uploaded to a PSOC BLE dev unit. I can interact with it over BLE indicating it's working. I'm attempting to using a MiniProg4 and PSOC Programmer to flash an equivalent HEX file to the unit. All the device versions appear to be detected successfully but I see nothing over BLE indicting something is failing. What steps could I take to debug?
Show LessHi,
while I was working with Psoc Creator 4.4 the IDE closed itself and started an installation of Psoc Creator 4.4. Locked by itself. So I tried to Repair by Psoc installer. I see the message attached. Restarted PC and try to reinstall Psoc Creator 4.4: same message. I have rights of administrator. Whats happened?
Thanks for helps.
Show LessDear Sirs and Madams,
Please tell us about the contents described in the application note AN85951.
AN85951 - PSoC® 4 and PSoC® 6 MCU CapSense® Design Guide URL
https://www.cypress.com/file/46081/download
Section 7.4.2 contains the following :
"You should use flex circuits with thickness 0.01 inches (0.25 mm) or higher for CapSense."
What does the 0.01 inch shown in this sentence mean?
Is it the thickness of the flexible substrate?
Or is it the thickness of the copper foil on the flexible substrate?
We would like to know what 0.01 inch refers to.
Regards,
Show LessHi,
because of supplier's stock shortages and too long lead time we are forced to replace the existing CY8C4247AZI-L423 MCU part number with CY8C4247AZA-M483 which has an acceptable lead time. It is the only part number that is pin-compatible and has the minimum memory and peripheral requirements that we are looking for. We also check the build of existing PSOC Creator projects with new MCU selected. The compilation doesn't report any errors. We are also aware that the new MCU have fewer UDB blocks and PLLs, but it seems to be enough for our needs.
I would just like to double-check with you if there are any other details that we should take care of before purchasing the new MCU part number. Does anyone have any concerns about replacing the CY8C4247AZI-L423 MCU with a pin-compatible CY8C4247AZA-M483? Pin compatibility and memory size are mandatory.
For any comments, we would be very thankful.
Regards,
Simon
Show Less
I'm picking up a project and haven't used the Cypress PSOC parts before. I have two board variants with two different PSOC 4 BLE parts in them: CYBLE-224116-01 and CYBLE-224110-00. I have an iOS app I need to update to make FW upgrades to these units and it needs to be able to determine which part is being targeted.
My first round of research hasn't turned up how to retrieve a hardware version string from the unit. I suspect that it is stored as a default characteristic on FW images generated by PSOC creator...but I'm still very new. What's an easy what to do this?
Show LessI have taken the capsense csd tuning example for cy8ckit-149 devkit, i have connected the dev-kit to the tuner application by external miniprog4 programmer or debugger I2C communication.
In the sensor data I was getting maximum peaks in the sensor data section in the graph view. the maximum count value im getting on the sensor plot section is 65535 which i think it is a false value, only for a couple of seconds im getting the proper raw count as 1750 like that(csd is configured as 11 bit resolution).
And also after few seconds the communication with the board in the tuner application like exception happened. can you please let me know how can I solve this .
Show Less