PSoC™ Creator & Designer Forum Discussions
I called ADC_SAR_EnableInjection() during initialization once.
i call the GetDieTemp Function at a rate of 1KHz.
i've placed the exact same code on 2 separate CPUs (same exact model) and i get about 10°C difference.
i know it's not exactly by the suggested parameters but this is a running machine and i can't change much.
i've noticed that if i use more sampled average the temp drops.
what can i do?
int32_t GetDieTemp(void)
{
int16_t ADCCountsCorrected = 0;
int16_t adcCounts = 0;
int32_t temp = 0xFF;
if (ADC_SAR_IsEndConversion(ADC_SAR_RETURN_STATUS_INJ))
{
adcCounts = ADC_SAR_GetResult16(ADC_SAR_SEQUENCED_CHANNELS_NUM);
/* Adjust data from ADC with respect to ADC Vref value */
ADCCountsCorrected = (int16)(((int32)adcCounts * ADC_SAR_DEFAULT_VREF_MV_VALUE) >> 10u);
/* Calculate temperature value */
temp = DieTemp_CountsTo_Celsius(ADCCountsCorrected);
ADC_SAR_EnableInjection();
}
return temp;
}
Show LessHow can I create basic OR logic gate by HW with CY8C4147LQE-S443 and output to pin P6[1]?
It looks like there is no UDB implemented and Smart I/O doesn't support Port 6.
Thanks.
Show LessI have another advanced question involving the UDB Editor.
Can I pass a formal or local parameter set at the symbol level to the UDB editor file (which has a .cyudb file extension)?
The goal is to pass the size of the DataPath into the .cyudb definition. This will eliminate the need for me to create 4 versions of a .cyudb file with the different Datapath size (ie 8, 16, 24 and 32 bits).
Show LessI'm trying to download the kit file for an older (and obsolete) evaluation board for PSOC4. The kit is the CY8CKIT-049-41xx. After a fashion I found the site to download the files;
But when you click on the link for "Download CY8CKIT-049-41xx Kit Setup (Kit Design Files, Creator, Programmer, Documentation, Examples) " the download page is for a Cypress SuperSpeed USB controller pdf file (it would be an exe file for the kit). My guess is Infineon messed up when they ported the links to their servers and never caught this mistake. The link address (obviously incorrect) is; https://www.cypress.com/file/184951/download.
I'd like to get the kit files for this older board.
Many thanks.
Steve
Show LessI have a very advanced question about the use of FIFO registers in 32-bit datapaths.
I'm using the UDB Editor and I've constructed a component with a 32-bit datapath.
I realize that the UDB blocks and datapaths are at most 16-bits PHUB wide. When I try to DMA directly into ANY of the datapath registers (A0, A1, D0, D1, F0 or F1) I have to break up the DMA into two 16-bit TDs otherwise it would fail. (Note: A CPU write can be done as a 32-bit write. However it is probably two 16-bit writes internally.)
Currently my component application is writing into the F0 register with the CPU and I get one "F0 block status (empty)" signal. This is good. I use this F0 status signal to launch a state-machine. The state-machine logic is counting on ALL 32-bits being loaded in F0 before executing.
Since it appears I cannot DMA as a single 32-bit TD into F0 but have to break it up into two 16-bit TDs, my question is: Will I get two "F0 block status (empty)" signals? One signal on the load of the LSW and the other on the load of the MSW?
Show LessWhen I open the project creator 1.40 (installed on mac) there is nothing to select. The first time I did this it functioned correctly and I was able to create and use Hello World, but now there is nothing but this error:
Checking if remote manifest is accessible...
Getting manifests from remote server...
Can't create a temporary folder to load the manifests.
Press "Retry" to try again.
Show Less
I have a problem when I tried to compiling
Compiling...
creating project.mk
name translation failed on C:/PROGRA~2/Cypress/PSoC\ Designer/5.4/Common/CypressSemiBuildMgr - 3
name translation failed on C:\PROGRA~2\Cypress\PSoC - 2
name translation failed on Designer\5.4\Common\CypressSemiBuildMgr\tools\include\CY8C27000 - 3
extra file name "-D__IMAGECRAFT__" encountered
!E: cannot load source file "Designer\5.4\Common\CypressSemiBuildMgr\tools\icppw.exe"; file not found
make: *** [obj/main.o] Error 1
main.o - 2 error(s) 0 warning(s) 09:28:37
Googled PSOC videos, the 100+ ones that used to be online for
everything PSOC, cannot find a link anywhere except individual
links to specific YouTube videos...
Got redirected over here to a dead end -
Regards, Dana.
Show LessAnybody tried to find/download PSOC Creator recently ?
Search website for "PSOC creator 4.4" and check out 38 screens of hits trying
to find creator ?
Is intent to discourage its use ?
Regards, Dana.
Show Less