PSoC™ Creator & Designer Forum Discussions
text.format{('custom.tabs.no.results')}
How do a create a new property name in a sheet template? For instance, I want to have a "revision" property. I inserted the text `=$Doc.Rev` (using backticks) in the sheet template and saved the sheet template file, but the new property doesn't show up in the Properties list. It also shows as Undefined indentifier '$D when I use the template. (Numerous searches among the help links and forum revealed nothing on this topic. Am I looking in the wrong place?)
Show LessTo import the PSoC creator components to other hdl/verilog simulators, the corresponding files can be found in,
C:\Program Files (x86)\Cypress\PSoC Creator\3.0\PSoC Creator\warp\lib\sim\presynth folder.
Keerthi
Show LessIf you don't have a sticker on MIniProg, to differentiate between MiniProg3 Rev*A and Rev*B,
check for U12 block which is right below the VTARG marking. If U12 is not present, its Rev*A and if U12 is present, its Rev*B.
Keerthi
Show LessHello. How to find the minimum value cutoff?
If I set the cutoff too small then there is hysteresis and prevents me calibrate the device:
When I first file a discrete 1500 and then in 1000 I see the output of the filter 1005 discrete.
When I first file a discrete 500 and then in 1000 I see the output of the filter 995 discrete.
Is there a way to determine the minimum value of the cutoff.
Hi! I have a problem with the bootloader component, I have been working with PSoC Creator 2.2 and I used a bootloader for updating my applications, a few days ago I update to PSoC Creator 3 and when I update the components of my Bootloader Application my project just stop working,
In my application I have a Digital Input Pin named "Boot" , a Bootloader component named "Bootloader" and a UART component for communicate to the PC with the PSoC. And what I want to do is to initialize the bootloader using a push button when I reset the PSoC.
My code is this:
int main()
{
/********** Initialization **********/
PWM_Start();
PWM2_Start();
if((Boot_Read() == 0) || (Bootloader_GET_RUN_TYPE == Bootloader_START_BTLDR)){
Bootloader_SET_RUN_TYPE(Bootloader_START_BTLDR);
}
else{
Bootloader_LaunchApplication();
}
CyBtldr_Start();
for(;;)
{
/* Place your application code here. */
}
}
When I build my project a new error appear: 'undefined reference to Bootloader_LaunchApplication" ', I looked for that function in Bootloader.c in the Generated_Source folder and that function is there but I can't use that function because it is Static.
I tried replacing:
Bootloader_LaunchApplication();
by:
Bootloader_SET_RUN_TYPE(Bootloader_START_APP);
CySoftwareReset();
but it doesn't work, the PSoC just stop working and I can't bootload a new application nor I can´t use the previously loaded application.
I need to find a way to initialize the Bootloader using a push button when I reset the PSoC, I've been trying writting new code but the bootloader doesn't work like I wish. I hope you can help me
Show LessIn several examples, I see the reset pin of the SPI Master left unconnected.
is it OK to leave a SPIM block's reset pin open?
Ans:
The Default value of reset pin is set to 1'b0 and it is not necessary to connect anything as well.
So even if you leave Reset pin floating, it will be shorted to Vssd by default.
I can use bootloader in uart, but i can't use bootloader in rs485
Seems to be because the relationship RS485 half-duplex
How do I fix this problem?
Show LessThe terms "High Speed Peripherals" and "Low Speed Peripherals" can be found in TRM 001-85634 Rev. *B, Table 11-2. Available Peripherals.
What is the definition of "High Speed Peripherals" and "Low Speed Peripherals"?
Ans:
Here is the definition for high/low speed peripherals-
High peed peripherals- Peripherals that operate from high frequency clock (HFCLK)
Low speed peripherals- Peripherals that operate from low frequency clock (ILO)
In clock settings window (click edit clock in .cydwr tab), you can see high frequency and low frequency clocks and their frequency range.
How to achieve maximum baud rate for my UART in PSoC?
Ans:
For a given baud-rate, UART clock should be 8 times the baud-rate (bits per second).
To operate at maximum baud-rate,
1. Enable USB clock and configure it as IMO*2 (IMO as 24MHz).
2. Now, IMO will have only 0.25% tolerance as it is synchronised to the USB clock.
3. Use IMO as the clock source for the UART transmitter and receiver.
4. Then, it is possible to achieve maximum baud-rate of 6 Mbits/sec.
It isn't clear to me where to connect an external oscillator to. The PSOC dedicated MHz osc pins appear to be used only for an external crystal.
The oscillator of interest is in the 10-20 MHz range, can drive a CMOS load of 15 pF, with a rise/fall time of 6nSec.
Ans:
To use an external clock source, please follow these steps:
1. Place a digital input pin in your top design.
2. draw a wire from that pin and give some name to that net.
3. In the .cydwr window, go to clocks tab and double-click 'master clock'.
4. A window named 'configure system clocks' will open. In this, check the 'Digital Signal' and click on the browse button.
5. Then select the net that you gave for the pin (clock input) previously and give the frequency and tolerance value.
6. Now you can use this clock to derive any clock source.
For further information, please refer to the application note available at
http://www.cypress.com/?docID=41164 (page-5).
Show Less