PSoC™ 5, 3 & 1 Forum Discussions
text.format{('custom.tabs.no.results')}
I've tried to use a I2Cm user module in a project with CY7C638xx chip but it does not appears in the User Modules folder.
Is there any example code to use an external I2C EEPROM with CY7C638xx chip?
Thanks in advance for any help/tip.
Show LessHello,
I have problem.
I have project (my board), where is GSM module connected to uP from PSoC 5LP family. The communication is solved between PSOC uP and GSM module by AT command over UART. The problem is in reading RX status reg. I need wait in loop to some response from GSM:
GSM_ClearRxBuffer();
while( (GSM_ReadRxStatus() & GSM_RX_STS_FIFO_NOTEMPTY ) != GSM_RX_STS_FIFO_NOTEMPTY)
{
CyDelay(1);
tmpCitacVypni ++;
if(tmpCitacVypni == 7000)
{
tmpNum = -1;
//GSM_PutArray((uint8_t *)ESCAPE,1u);
tmpCitacVypni = GSM_ReadRxStatus() & GSM_RX_STS_FIFO_NOTEMPTY ;
break;
}
}
//CyDelay(ATDELAY);
// jeste mu dame cas na odpoved
tmpCitacVypni = GSM_ReadRxStatus() & GSM_RX_STS_FIFO_NOTEMPTY ;
for (ii = 0; ii < RX_BUFF_LENGTH ; ii++ )
{
rxBuff [ii] = GSM_ReadRxData();
}
The problem is the flag is not set in:
while( (GSM_ReadRxStatus() & GSM_RX_STS_FIFO_NOTEMPTY ) != GSM_RX_STS_FIFO_NOTEMPTY)
.... the same is on next line
tmpCitacVypni = GSM_ReadRxStatus() & GSM_RX_STS_FIFO_NOTEMPTY ;
..... flag is not set but the new data is available to read in :
for (ii = 0; ii < RX_BUFF_LENGTH ; ii++ )
{
rxBuff [ii] = GSM_ReadRxData();
}
Do you know where is problem? How can I solve it?
the problem is in ATprikazy.c file in int8_t GSM_PrijataSMSVycti(uint8_t idxSMS) function.
Show LessHi all,
When I use PSoC1 CY8C20236, I added both the CSD module and ADC module in the project. The project can compile normally, but it not working properly. If add "ADCINC_Start(ADCINC_INPUT_ANALOG_BUS); " in the main.c, or other ADC API. The CSD can not work normally. How to use the two module at the same time?
Perry
Show LessGood afternoon.
I have a project with communications and sporadically a very strange thing happens.
I´ve captured a frame on the oscilloscope and I see that in the UART buffer (debugging) the less significant bit has been removed from each byte of the frame.
example: (oscilloscope)FF 03 FD E6 ...=> (uart buffer)FE 02 FC E5...
This gives me a communications error.
How could something like this happen?
Can I have the uart bad configured to cause this type of error?
I have a feeling that if the firmware does more work (display in LCD) the error occurs more often.
Thanks and best regards.
Show LessI read the 95 pages document for CLI guid
I am using Psoc 5 and I could connect to microcontroller to turn off LED but I cannnot release it to blinking again
after DAP_Acquire it will connect
1 >cd "C:\Program Files (x86)\Cypress\Programmer"
2 >ppcli.exe
3 >OpenPort KitProg/1E13146C03227400 .
4 >SetPowerVoltage 5
5 >PowerOn
6 >SetProtocol 8
7 >SetProtocolConnector 1
8 >SetProtocolClock 152
9 >HEX_ReadFile "H:\\P08.hex"
10 >DAP_Acquire
11 >DAP_AcquireChip
12 >DAP_GetJtagID
13 >PSoC3_GetTemp 0x1 0xFFF 0x4
14 >SetAcquireMode “Reset”
<
0 OK
15 >DAP_ReleaseChip
<
0 OK
16 >ReleaseChip
<
0 OK
untill line 13 the code will execute correctly and it turn off LED of microcontroller but after line 14 when I want to release the chip to turn on LED again I will not get the appropriate result as I expected, Please let me know if I miss some Api or if I should use another api
Show LessI burned a firmware with PSoC Programmer, with and without Chip Lock enabled, and in both cases it says
Programming Succeeded
Doing Checksum
Doing Protect
Programming of Flash Succeeded
and in both cases when I try to read from it, it says
--- User's Flash Area ---
0000: xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx
0010: xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx
0020: xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx
0030: xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx
0040: xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx
0050: xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx
0060: xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx
for all rows. So there's no difference?
Show LessWhat is the oversampling ratio of PSoC5LP Delta Sigma Analog to Digital Converter?, I would like to have this info for the anti-aliasing filter design. I assume that it may over-sampled at the clock frequency (shown in the configuration window), but I can't find anything in the documentation about oversampling details.
Show Less
hi everyone, I have a problem, after another discussion here I tried EM_EEPROM. If I'm supposed to press A, he's supposed to give me temperature values, but it doesn't and I don't know why. Can any of you find my problem?
Best
Marcel
Show Lesshi everyone, I have a problem, after another discussion here I tried EM_EEPROM. If I'm supposed to press A, he's supposed to give me the saved temperature values in eeprom, but it doesn't and I don't know why. Can any of you find my problem?
sorry thats the real Discussion, cause i Forget the data.
Best
Marcel
Show Less