PSoC™ 5, 3 & 1 Forum Discussions
Hello all... doing a search for PC keyboards made with capsense we stumbled upon a 2007 Cypress application describing the design and implementation of a PC keyboard with a psoc1 that would suit perfectly our needs. Problem is that it can be obtained from only a couple of sources but not from Cypress own web site or the usually known sources of psoc info. Does anyone know the reason for this AN going missing or completely erased from psoc worlds surface? I'd hate to give a try to a project that was flawed in origin. I could not find many mentions to keyboards with a large number of keys even on psoc3 forums either. Has anyone developed such keyboard using capacitive sensing?
Thank you
P.S. the Application note of reference is AN2407 - Capacitance Sensing - PC Compatible USB / Capsense Matrix Keyboard. It's dated 2007 and it doesn't even have a revision letter or number.
Not sure if everyone has seen this -
"This spreadsheet is a basic tool for obtaining a gross estimate of power consumption using
PSoC 3 ES3 and PSoC5 ES1."
Hopefully will be done for 5LP.
Regards, Dana.
Show LessHi Folks,
We have a new video tutorial with step wise instructions to create a simple USB to UART bridge application. Check out the video below.
Video - http://youtu.be/yMXDSN7hjpw
Appnote - AN49943
Show LessHi there, I am using the RTC component for the first time and was checking the example project associated with it.
This project has a special file alongwith the ".cysch" and ".cydwr" files called ".cyre"
I learnt that this is a "reentrancy file" which contains functions names that can be shared by both interrupt and non -interrupt driven codes.
Can someone shed more clear light on this?
Regards.
Show LessHi,
I have a laptop where I do most of my programming because I can take it home. I also have a desktop as a backup. I'm continually running into the problem of bundling a project, then trying to open it but get a dialog box saying there are path errors and it can't open the project. Both machines are running the latest version of PSoC Creator 2.2 SP1.
Thanks,
Nick
Show LessI have herkulex motor(http://www.sgbotic.com/products/datasheets/robotics/herkulexeng.pdf)
I want to drive with psoc. There are 4 inputs on servo motor. 1-vcc 2-gnd 3- rx 4-tx . Can I drive the motor using uart in psoc. How should be uart parameters and code? Should I use half duplex full duplex uart? There is arduino library for motor. Can i import in psoc. There are several explanations in servo manual and I'm confused. How to write code for driving simply motor? Thanks..
Show LessHello,
I'm developing the product program in parallel with the hardware designer. His programs are demo code that test basic functionality. We are using a VDAC8 to drive an LED. The voltage range is 0 - 4V. The demo program can drive a low with a load of 20K pull-up to +4.84V. With my product program, the lowest the output can go is +2V. Looking at the device configuration, they are identical. I've used PSoC Creator 2.0 and the latest 2.2, SP1, components all updated. His is 2.1.
My code does change states every 250mS but I have just tried setting the DAC to zero at start up to see if it made a difference.
That my code and his code have different device behaviors is a little unsettling in that we could be cruising along with everything working fine, then we go into production and get a batch of devices that work with his code but not mine. Other than setting our 2 computers side by side and checking every configuration and pin assignment, I'm not sure what to do.
Nick
Show LessHi all!
I'm using DMA to transfer data from an ADC to a buffer. First of all: Everything works and I can work with the buffered Data, but then...
After a time of about 230 seconds the pulse on the 'nrq' output of the DMA component stops and therefore the ISR isn't entered.
The ADC is working with 182250 SPS at 8 bit resolution and I'm saving 50 bytes.
A DMA_release and reinitializing didn't help. The only solution I have so far is reseting the device.
Attached find the TopDesign part of the DMA. I'm meassuring on 'ADC_eoc' to check for the pulse.
The DMA Configuration looks as follows:
<p>void DMA_ADC_Buffer(void)
{
#define DMA_ADC_Buffer_BYTES_PER_BURST 1
#define DMA_ADC_Buffer_REQUEST_PER_BURST 1
#define DMA_ADC_Buffer_SRC_BASE (CYDEV_PERIPH_BASE)
#define DMA_ADC_Buffer_DST_BASE (CYDEV_SRAM_BASE)
uint8 DMA_ADC_Buffer_Chan;
uint8 DMA_ADC_Buffer_TD[1];
DMA_ADC_Buffer_Chan = DMA_ADC_Buffer_DmaInitialize(DMA_ADC_Buffer_BYTES_PER_BURST,DMA_ADC_Buffer_REQUEST_PER_BURST, HI16(DMA_ADC_Buffer_SRC_BASE), HI16(DMA_ADC_Buffer_DST_BASE));
DMA_ADC_Buffer_TD[0] = CyDmaTdAllocate();
CyDmaTdSetConfiguration(DMA_ADC_Buffer_TD[0], 50, DMA_DISABLE_TD, DMA_ADC_Buffer__TD_TERMOUT_EN | TD_INC_DST_ADR);
CyDmaTdSetAddress(DMA_ADC_Buffer_TD[0], LO16((uint32)Rx_ADC_DEC_SAMP_PTR), LO16((uint32)ADC_Buffer));
CyDmaChSetInitialTd(DMA_ADC_Buffer_Chan, DMA_ADC_Buffer_TD[0]);
CyDmaChEnable(DMA_ADC_Buffer_Chan, 1);
}</p>
Show Less