PSoC™ 5, 3 & 1 Forum Discussions
PSoC™ 5, 3 & 1
Hello, I'm trying to implement the Application note 2207 to build a milliohmeter. It's my first try on PSOC device and I face a problem...
Show More
Hello,
I'm trying to implement the Application note 2207 to build a milliohmeter. It's my first try on PSOC device and I face a problem.
I implement the power supply provided in the AN but when I load the circuit with the PSOC device (CY8C27) the voltage falls to 2.8V instead of 5.5V.
I use the LP2950 voltage regulator that is designed up to 100 mA (the AN indicate 55mA consumption), so it seems OK.
Do you have any idea to fix my problem? Do you have complete schematics in Orcad format of the AN2207 ?
Best regards Show Less
I'm trying to implement the Application note 2207 to build a milliohmeter. It's my first try on PSOC device and I face a problem.
I implement the power supply provided in the AN but when I load the circuit with the PSOC device (CY8C27) the voltage falls to 2.8V instead of 5.5V.
I use the LP2950 voltage regulator that is designed up to 100 mA (the AN indicate 55mA consumption), so it seems OK.
Do you have any idea to fix my problem? Do you have complete schematics in Orcad format of the AN2207 ?
Best regards Show Less
PSoC™ 5, 3 & 1
PSoC™ 5, 3 & 1
Problem: When System clock is selected as P1[4] in PD5.0 SP5, PSoC does not work. Work Around: Following is the work around: S...
Show More
Problem:
When System clock is selected as P1[4] in PD5.0 SP5, PSoC does not work.
Work Around:
Following is the work around:
Select SysClock Source as Internal.
Set drive mode for P1.4 as High-Z.
Now you have two options (you can use either of them):
1. Write instruction OSC_CR2 = 0x06; in main.c. It will shift to System Clock to External Clock from IMO
2. Open boot.tpl file and add following lines in boot.tpl below line "lcall LoadConfigInit".
M8C_SetBank1
mov reg[OSC_CR2], 6
M8C_SetBank0
Now your code in boot.tpl should like following near above line:
lcall LoadConfigInit
M8C_SetBank1
mov reg[OSC_CR2], 6
M8C_SetBank0
It will shift to System Clock to External Clock from IMO
But make sure that you keep SysClock Source as Internal and drive mode for P1.4 as High-Z in device editor.
This issue will be fixed in PD5.0 SP6. Show Less
When System clock is selected as P1[4] in PD5.0 SP5, PSoC does not work.
Work Around:
Following is the work around:
Select SysClock Source as Internal.
Set drive mode for P1.4 as High-Z.
Now you have two options (you can use either of them):
1. Write instruction OSC_CR2 = 0x06; in main.c. It will shift to System Clock to External Clock from IMO
2. Open boot.tpl file and add following lines in boot.tpl below line "lcall LoadConfigInit".
M8C_SetBank1
mov reg[OSC_CR2], 6
M8C_SetBank0
Now your code in boot.tpl should like following near above line:
lcall LoadConfigInit
M8C_SetBank1
mov reg[OSC_CR2], 6
M8C_SetBank0
It will shift to System Clock to External Clock from IMO
But make sure that you keep SysClock Source as Internal and drive mode for P1.4 as High-Z in device editor.
This issue will be fixed in PD5.0 SP6. Show Less
PSoC™ 5, 3 & 1
When you try to open PSoC Designer, you get the error message "To view this file you must download Adobe SVG viewer". This problem can ...
Show More
When you try to open PSoC Designer, you get the error message "To view this file you must download Adobe SVG viewer".
This problem can be due to IT policies on your machine. To fix this issue, registry need to be edited. To modify the key:
1. Click Start, click Run, type Regedit in the "Open" text box, and then click OK.
2. Locate the following registry key.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer \Main\FeatureControl \ FEATURE_LOCALMACHINE_LOCKDOWN
3. Crete a backup of this registry entry. To create backup:
4. On the Edit menu, point to New, and then click DWORD Value.
5. In the DWORD Value box, type psocdesigner.exe, and then press ENTER.
6. Double-click the psocdesigner.exe registry entry that you created in step 4.
7. In the Value data box, type 0, and then click OK.
8. Repeat steps 4-7 to add CMX.exe.
9. Exit Registry Editor. Show Less
This problem can be due to IT policies on your machine. To fix this issue, registry need to be edited. To modify the key:
1. Click Start, click Run, type Regedit in the "Open" text box, and then click OK.
2. Locate the following registry key.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer \Main\FeatureControl \ FEATURE_LOCALMACHINE_LOCKDOWN
3. Crete a backup of this registry entry. To create backup:
- File > Export
Save the .reg file
Later if you need to restore old settings, File > Import the same .reg file
4. On the Edit menu, point to New, and then click DWORD Value.
5. In the DWORD Value box, type psocdesigner.exe, and then press ENTER.
6. Double-click the psocdesigner.exe registry entry that you created in step 4.
7. In the Value data box, type 0, and then click OK.
8. Repeat steps 4-7 to add CMX.exe.
9. Exit Registry Editor. Show Less
PSoC™ 5, 3 & 1
I have created a 4 button application using a CY8C24894-24LFX. Why can I see raw count values changing for button0 but all other buttons remai...
Show More
I have created a 4 button application using a CY8C24894-24LFX. Why can I see raw count values changing for button0 but all other buttons remain at a static raw count of 255. The C source is:
void main()
{
M8C_EnableGInt;
CSD_Start();
CSD_InitializeBaselines();
CSD_SetDefaultFingerThresholds();
while (1)
{
CSD_ScanAllSensors();
CSD_UpdateAllBaselines();
CSD_bIsAnySensorActive();
for (i = 0; i < CSD_ButtonCount; i++)
{
printRawCount(i, CSD_waSnsResult );
}
printNewLine();
}
}
Why don't I see the CSD_waSnsResult values changing for i > 0?
Thanks
Tom Show Less
void main()
{
M8C_EnableGInt;
CSD_Start();
CSD_InitializeBaselines();
CSD_SetDefaultFingerThresholds();
while (1)
{
CSD_ScanAllSensors();
CSD_UpdateAllBaselines();
CSD_bIsAnySensorActive();
for (i = 0; i < CSD_ButtonCount; i++)
{
printRawCount(i, CSD_waSnsResult );
}
printNewLine();
}
}
Why don't I see the CSD_waSnsResult values changing for i > 0?
Thanks
Tom Show Less
PSoC™ 5, 3 & 1
The project I have on my desk was just "dropped" there and I am SO new to this, so be very patient with me. I learn quick, but not overnight.....
Show More
The project I have on my desk was just "dropped" there and I am SO new to this, so be very patient with me. I learn quick, but not overnight... most of the project I have down but do not see how to make the Capsense buttons toggle the external circuits, i.e. touch the button toggles switch on, next touch toggles off, etc. I can do this externally with a Dual "D" Flip-Flop but sort of thought I wasnt using the PSoC to its potential and adding components that wasn't necessary. I tried to search the forum but didn't seem to find the answer, I could have overlooked it. I have looked and tried several things within PSoC Designer and I am convinced its probably something real simple I'm overlooking there. Could someone please point me in the right direction to get me over this speedbump.
Show Less
PSoC™ 5, 3 & 1
I have enabled only RXE and RXC interrupts, but my code gets to a point during communication where the interrupt keeps firing because the IRQ ...
Show More
I have enabled only RXE and RXC interrupts, but my code gets to a point during communication where the interrupt keeps firing because the IRQ line is asserted but when RX_IRQ_STATUS_ADR is read, it shows RXBERR_IRQ is high while RXC and RXE are low. I haven't enabled RXBERR interrupts, so why does the interrupt keep firing? Is there anything else that will cause the interrupt no matter what my settings are?
Show Less
PSoC™ 5, 3 & 1
I am looking at using Cypress Psoc parts to control air pressure very accuractly. Is there a application already developed that would be a sta...
Show More
PSoC™ 5, 3 & 1
I'm use a PSoC CY8c29 for controlling temperature, as a reference AN2148 (author : M. Ganesh Raaja) on this reference with CY8c26xxx. can you ...
Show More
I'm use a PSoC CY8c29 for controlling temperature, as a reference AN2148 (author : M. Ganesh Raaja) on this reference with CY8c26xxx. can you help me to get AN for controlling temperature with CY8C29xxx. please. thanks before.
Show Less
PSoC™ 5, 3 & 1
I want to implement a example for Capacitive Sensing in PSoCTRM 33.3.1.I don't know how to got a value of integration capacitor. So anybody...
Show More
I want to implement a example for Capacitive Sensing in PSoCTRM 33.3.1.I don't know how to got a value of integration capacitor.
So anybody have a similiar solution to help me? Show Less
So anybody have a similiar solution to help me? Show Less