PSoC™ 5, 3 & 1 Forum Discussions
text.format{('custom.tabs.no.results')}
Change the PGA gain by calling PGA_SetGain () in the program.
How long does it take to complete the switch
プログラム内で PGA_SetGain() をCALLして PGAのゲインを変更します。
切り替え完了までの時間は どの程度必要でしょうか
Show LessDear Cypress community,
I want to software-reset my device at a certain point and provide a custom reset cause (which can be used as a flag for a part of the initialization code). My idea was to use RESET_SR0: 0x400046FA or CYREG_PHUB_CFGMEM23_CFG1: 0x400076BC for this because bit 4 (0x10) seems to be unused. The code I wrote to do this is simple:
void sw_reset_with_custom_reset_cause() {
uint8 currentValue = CY_GET_REG8(CYREG_RESET_SR0);
currentValue |= 0x10;
CY_SET_REG8 (CYREG_RESET_SR0, currentValue);
CySoftwareReset();
}
The problem is that it does not work as expected (reset cause is always 0x20 after calling the SW reset). My hope would of course be to get a reset cause that is equal to 0x30. I've tried with both above mentioned registers but with no luck.
What am I doing wrong here?
Best regards,
Sander
Show LessHello All
Need to add Security Key option in my Custom UART boot loader HOST application, so for that i had to generate BootLoader_Utils.dll file.
As per this link https://community.cypress.com/docs/DOC-10591 i tried to generate .DLL file but this throw too many errors. Project file of Visual Studio Attached.
i also tried changing built configuration for x86 and x64 but didn't work.
After generating .dll file i had to add a feature add security key in application.
Please Check the link and review the Project.
thanks & regards
Paras Brahmbhatt
Show LessHi,
This is announcement for new custom component (HX711 v0.0) for interfacing HX711 24-bit Delta Sigma ADC for load scales.
HX711: 24-bit Delta Sigma ADC interface for weight scale
Provided are the component library, a datasheet and demo projects for PSoC5 and PSoC4.
/odissey1
Show Less
Hello,
I have to receive 8 bytes message via SPI.
What is the right way doing it in polling, without any interrupts.
For writing, I used SPIS_PutArray . But there is no SPIS_GetArray.
Thank you,
Zvika
Show Lessgood day, i have a problem. i´m trying to drive my stepper by serial control.
i save the variable in UART_PutChar(datorecibido). the value of variable is sent to the stepper. the stepper does receive a number but does not execute the variable, does not run the number of degrees i want.
if you could help me modify my code.
Show LessWhen I click "Clean All Projects" it deletes .lib files in
\DP8051\DP8051_Keil_Generic
\DP8051\DP8051_Keil_951\
that it would prefer to not be deleted (I have to restore them from git repo each time)
It does not delete the same files in
\DP8051\DP8051_Keil_903\
however.
Do I have to add these files to the project somewhere to prevent them from being deleted?
Selected Toolchain is "DP8051 Keil Generic"
Show Less