PSoC™ 4 Forum Discussions
Hey All
How is everyone doing? Hope all of you are enjoying the start of the year 2016 and getting more and more fascinated with PSoC like me.
Today I have taken a task to Generate a 38kHz square wave with PSoC4 using a SysTick Timer. I have even designed a project related to that. My design, theoretically, will give square wave of around 38.4 kHz due to clock resolution limitation of PSoC4 that is 24 MHz. I was checking the wave on CRO. (please find attached the CRO result image.) As it gave me some triangular wave, I decreased the frequency to 100 Hz and checked again with CRO. This time I got the perfect square wave.
I kindly request you to please find attached my project designed for 38.4 kHz and give me a solution to get a perfect square wave. In addition, if anyone of you can give me a solution to get a perfect 38 kHz square wave than the current design of 38.4 kHz, I will be very much thankful.
Thanks and Regards
Shaunak
Show LessHello Everyone
I am building a GSM Module by using SIM900B Chip, the UART of which works at CMOS level. My question is: Can I connect that UART directly to the UART of my PSoC4?
Please Find Attached herewith the Datasheet of SIM900B as reference.
Regards
Shaunak
Show LessHi All,
Any help would be appreciated.
Problem 1. I do not see the CapSense CSD component when configuring for a CYBLE-014008-00 BLE in Creator 3.3 CP1. The CSD CapSense component does not show up in the catalog. I temporarily switch to another device and I see the CapSense CSD in the catalog, so I drag it onto the Top Design. I then switch back to the CYBLE-014008-00 BLE as the device. This is the only way I seem to be able to get a CSD CapSense component in my design.
Problem 2. Now that I have a CSD component in the design, I configure 2 Buttons. But when I compile, I get several error messages:
"Pin guidance unavailable: Resource limit: Maximum number of CapSense exceeded (max=0, needed=1)."
"Pin guidance unavailable: Resource limit: Maximum number of Comparator exceeded (max=0, needed=1)."
Problem 3: The CSD component requires a CMOD pin assignment. I don't see the CMOD pin assigned in the CYBLE-014008-00 BLE pinouts.
Thanks in advance for your help.
Attached is a copy of my archive.
Show LessHello All,
I want to use CYBL10461-56LQXI in the design. What is the circuit for in circuit programming and what are the tools for it? I could not find any document for this on PRoC BLE page.
Also, does anyone have cad files for eagle?
Thanks
Ashutosh
Show LessHi,
See the attached project.
What I am trying to do is read data, then send it to a 0-5V DAC chip (MCP4725). I have no problem reading the data, but when it goes from my data buffer to be written to the I2C port, something bad happens, because the DAC does not respond correctly. See the picture I captured in the zip file. The value of the data is, correctly, 0xA1, or 161. If I manually retype '0xA1' in the bracket instead of putting the variable, it works like it is supposed to. Do I need to 'cast' the hex as an integer somehow, or inform the compiler what type of data it is?
I know, this is probably extremely basic C programming stuff, but please bear with me.
Thank you,
Tom
Show Lesshi,
the device i bought is composite device. when connect only one event node is created. how can i trigger multiple event nodes to be created.
example 1. mouse 2. conumer 3. touch pad
if i want linux system to create three /dev/input/event1 /dev/input/event2 /dev/input/event3 then how can i achieve it.
many thanks,
prabhu chwandi
Show LessIn your example, the bluetooth device just can be scanned by cysmrt software. I want the device listed on the system bluetooth devices table. what can i configure the cyble device?
Show LessHi,
I am using the cy8ckit-042-4200 prototyping kit. In my program I am using the the CyGlobalIntEnable function to enable global interrupts. However I have a problem with this function, I find that nothing gets executed after the CyGlobalIntEnable function. The function some how freezes the program execution, after removing this everything works well.
However I need to enable a timer interrupt, so have to use it...
The project bundle is attached,
thanks
a
Show LessI'm looking for a way to read piezo vibrations in a constant stream, both positive and negative AC voltage signals. How would I set that up with the ADC to get the correct readings?
Show LessI made a very simple test jig , where the system clock is set to 48MHz, no dividers. I am simply toggling a pin.
int main()
{
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
/* CyGlobalIntEnable; */ /* Uncomment this line to enable global interrupts. */
for(;;)
{
SCLK_Write(0x01);
SCLK_Write(0x00);
/* Place your application code here. */
}
}
but I am not seeing the pin toggle at nearly the rate I would expect given the system clock speed. Frequency of the output is 350kHz, so it is 48MHz/350kHz = 137 off from 48MHz. I have a hard time believing that there are so many cycles per instruction. Rather, I am thinking something is not configured quite right in my project. What could it be?
Also, why is there a question mark under Desired for Sysclk?
Show Less