PSoC™ 5, 3 & 1 Forum Discussions
Hello everyone,
I'd like to create an arbitrary wave type from a file using the WaveDAC8.
The datasheet of the component doesn't give detailed explaination how to proceed and
there is also no explaination about the meaning of the numbers (255 1 246 253.....for instance) we should put into file.
Thanks for your help
Show LessHi,
Starting another project using PSoC3 (used it before successfully) but can't get the prototype to run.
I moved to my CY8CKIT-001+CY8CKIT-009 to check the firmaware/programmer and I get "Device was recognized but PSoC creator does not support using it at this time", Or "hex file does not match with the aquired device" from PSOC Programmer (latest miniprog 3) . I assume this is because the chip on my -009 board is the ES2 variant. Am I correct and is the only way out to cut the chip off and replace it?
Did any of the Creator versions back to 3.0 still support the -009 board?
Cheers
Dave
Show Less・使用条件は以下の通りです。
対象製品:CY8C64215 (enCoRe 3)
Vdd=4.5V
fcore=12MHz.
LVD未使用
この時、LVDとPORの設定は以下で正しいでしょうか?
LVD,
VLT_CR:VM[2:0] = 011b ;4.0v setting by table15(22page) of CY7C64215 datasheet
設定方法は、PSoC Designer中,Global Resources window 内の"Trip Voltage " =4.00V
*使用時は4.48Vと思いますが、未使用のためイベントが発生しないようPORより低い設定にしています。
POR,
VLT_CR :PORLEV[1:0]=01b ; 4.39V setting by table15
また、設計方法についてはPSoC Designer 上で生成されるboot.asm内に自動生成されないため、
プログラムの初期化ルーチンでVLT CRの値を上記に設定する。
*データシート上のVLT_CR:POR_MIDに相当するデータシート上の電圧が通常は4.35V未満と思われ
少々高いと思いますが設定可能でしょうか?
*boot.asm内に自動生成する方法がありましたら教えてください。
また、PSoC Designer中、Global Resources window内のPower Settingの値が5.0V/24MHzと3.3V/24MHzの
どちらかしか選べませんが、5V/24MHzの設定で問題ないでしょか?
参照datasheet
http://www.cypress.com/documentation/datasheets/cy7c64215-encore-iii-full-speed-usb-controller
PSoC TRM
以上、よろしくお願い致します。
Show LessIt seems that Cypress Tech Support is no more. Oh dear!
Here is my problem: I have small procedure that converts a binary number to an ASCII string, and returns the number of characters in that string. It includes leading zero blanking if desired (cFixedDigitCount=0) or a fixed length message with leading zeros. It looks like this.
uint8 cBinaryToAscii (uint16 iSource, uint8 sConversion[], uint8 cFixedDigitCount)
{//return the number of characters in the string
//cFixedDigitCount to allow for leading zero
uint8 cPoint,cI;
uint16 iRemainder;
cPoint=0;
while (iSource!=0)
{
iRemainder=iSource%10;
sConversion[cPoint]=(uint8)(iRemainder) | 0x30;
cPoint++;
iSource/=10;
}
if (cFixedDigitCount)
{//only if non-zero, else leading zero blnking
if (cPoint<(cFixedDigitCount))
{
for (cI=0;cI<(cFixedDigitCount-cPoint);cI++)
{
sConversion[cPoint]='0';
cPoint++;
}
}
}
return cPoint;
}
Up till now it seems to have worked. The program has grown a lot since I tested it out, but I have not seen problems.
I have just used it in a new module as follows
cJ=cBinaryToAscii(iRetrievedParameter,cASCIIResult,0);
cJ is a local uint8, cASCIIResult is a 5 uint8 array
When I step through the cBinaryToASCII, or run through it with a breakpoint, the number appearing for cPoint is correct, 4 in this specific case. But in the calling module cJ has a value of 0x1A. If I change cJ from a local variable to a global one, it works correctly.
Any idea what I am doing wrong, or is there a bug in the compiler?
Compiler details
PSoC Creator 4.2 (4.2.0.641)
Show LessHello,
I am a rookie concerning DACs and I have a bit of a problem in understanding the PSoC 5LP DAC datasheet.
One question regarding the PSoC 5LP DAC gain error. I saw it is stated that the device exhibits a +/-5% gain error and I was wondering if this means that the 4.08V full scale range is violated as the device is supplied from 5V or it just means that the output meets the 4.08 limit sooner than expected.
Also I observed that the offset error is stated as +/-0.9LSB. In the case of -0.9LSB does it mean that 1 sent on the input is 0 on the output as I presume the output will not go negative (no negative voltage within the chip)?
Thank you for your support,
Florin
Show LessI want to suppress a assertion in the generated file 'I2C_INT.c', line 291. I know the possibilities of inserting my code via cyapicallbacks or using the section marked with /* `#START I2C_ISR_intc` */, but both ways will not skip or change the generated code section with the unwanted assert. Or I don't see it how these 2 ways to insert user code can help me...
Show LessI'm trying to get some values from this accelerometer, the I2C is working fine but im trying to pass the values to main so that i can see them in debug mode so i can get offset values. I'm trying to pass them from the function that gets the values in the i2c.c file to my main.c file using "extern int16 rawDATA[3];" but i am getting warnings that i am getting an error saying "undefined reference to 'rawDATA[3]'" and warnings saying that the variables i created to show the data are created but not used. I also tried just passing the data as individual pieces before i put it in an array in the function which gave me the same result.
tried "void accelgetAllData(void)"
and having no return while using "extern int16 rawX,rawY, rawZ;"
any help would be appreciated, sorry if this is in the wrong section.
Show LessHi,
I am using PSoC 5.
I am trying to use "#pragma enumsalwaysint off" for selectively turning on/off the sign of the enums,
I using C99.
When I use the pragma and compile , I get the following message.
"warning: ignoring #pragma enumsalwaysint off [-Wunknown-pragmas]"
Show LessI have tried to interface zigbee module with cy8c21434,s RX8 and TX8ws . when I send any caommands like AT, ATI , etc through TXSW to zigbee , Then Zigbee gives response to controller. I cant get full character in RX8 which is from zigbee module, For example When i send AT command to zigbee module, i want to receive OK response from zigbee , But in RX8 i just got K or carriage return. But in wired communication(controller and PC) This setup working properly. In wireless , some character missing, i dont know why?... any one explain me.....
Show Less