PSoC™ 5, 3 & 1 Forum Discussions
text.format{('custom.tabs.no.results')}
G'day all,
I'm about to finalise the design of my rover using the CYC5588AXI-060. It's replacing a Zilog eZ80F91 module, which only required 2 debug/programming pins, TCK and TDI (and ground, obviously!).
However, I'm unclear about exactly which pins are required for the SWD mode debug/programming interface. I'd appreciate it if someone could confirm exactly which pins need to be connected to the header for non-JTAG programming. I'd also like to understand if I need to make any changes to the programming routine if only the SWD pins are used. The family and device datasheets mention switching to SWD from the JTAG connection, but not details of which of the common pins need to be connected first. Any help would be appreciated!
Cheers,
PCPete
Show LessHello,everyone!
i tried to use psoc3 to develop a keypad scan programa, here is the code :
void KeyScan()
{
Port0(1); //output b11111111 to the port0
Port0_4(0);
Port0_5(0);
Port0_6(0);
Port0_7(0);
temp1=PRT0DR;
Port0(1);
Port0_0(0);
Port0_1(0);
Port0_2(0);
Port0_3(0);
temp2=PRT0DR;
x=temp1&temp2;
switch(x){
case 0x11:key=0;break;
case 0x21:key=1;break;
case 0x41:key=2;break;
case 0x81:key=3;break;
case 0x12:key=4;break;
case 0x22:key=5;break;
case 0x42:key=6;break;
case 0x82:key=7;break;
case 0x14:key=8;break;
case 0x24:key=9;break;
case 0x44:key=10;break;
case 0x84:key=11;break;
case 0x18:key=12;break;
case 0x28:key=13;break;
case 0x48:key=14;break;
case 0x88:key=15;break;
default: key=6;break;
}
}
the problem is befor 8,all the data is good, lcd can display the data correctly,but after 8,the results is always 6,that is the default output, it seems the p0[2],p0[3] can not detect the signal,i am using cy8c29466,can anyone tell me the reason,thank you very much!
Show LessHi
I'm trying this, an operational amplifier, in non inverting mode with two 10K external resistors, the gain is 2. The non inverting input is connected to the 1,024V voltage reference. The output is 3,68V and I don't understand why, I think it must be 2,08V (voltage reference value x 2).
If I connect the voltage reference to an external pin and the non inverting input of the operational amplifier to another external pin and joint the two pins externally with a wire, it works perfectly. Somebody can tell me why?
Im very new in Psoc programming, any comment is going to be usefull for me.
Thanks!!
Show LessI am using external MUX circuits. I am using the latest PSoC 3 -30 SDK. I need 8 differential inputs and sometimes single ended inputs. Can I tie one channel to ground? Or does the ADC_DelSig want all single or differential?
Show LessHallo,
I wish my micro (CY8C29x66) to stay in a sleeping state for a very short while (i.e. 2ms) is this possible?
What's the side effect of staying in this state i.e. running devices such as UARTs, I2C or ADC, DAC how do they behave ?
If I have an user interrupt routine defined for the UART RX event will this 'wake-up' my micro from the sleeping state?
Best regards,
Michele Santucci
Show LessThe demo application has been tested on the following evaluation kits:
- CY8CKIT-001 PSoC® Development Kit
- utilising the CY8CKIT- 010 PSoC® CY8C55 Family Processor Module Kit
The PSoC5 demo includes a schematic design with several peripherals to demonstrate their integration with the RTOS. The included peripherals are the UART, LCD Character Display and two different types of timer implementations.
The demo uses:
- The FreeRTOS GCC and Keil Cortex-M3 ports.
- The PSoC Creator 1.0 beta 5 with its included GNU ARM Toolchain.
- Or the PSoC Creator configured to use the Keil MDK or RVDS ARM Toolchains.
I'm using the USBUART component from app note EP60246 but the question might also be valid for other USB interfaces.
Everything works fine until the USB cable to the PC is unplugged. Now USBUART_bGetConfiguration() still reports a non-zero value. If I replug the PC and try to write to it USBUART_Write() fails to return.
How can I detect the unplug and reconnect and reinitialize my USBUART component when possible?
Thanks
Show LessHello,
I purchased a DVK 001 when it was just recently released. At the time, it had the PSoC 1 module and an ES2 PSoC 3 module. On the DVK website, it says that we can get updated silicon.
How and when can we do this? Will I be able to get the PSoC 5 module in addition?
DiodeDan
Show LessHello
I have currently migrated my project from a PSoC 3 to 5 (CY8CKIT-014). My analog design uses an Analog Mux Sequencer in differential mode with 6 dual inputs from GPIO. The Mux is connected directly to a differential DelSig ADC, 16-bit @ 1000 sps in multi-sample mode. Conversion results are stored in an array, and in the ADC's interrupt there is a logic to stop conversion, change mux channel and start conversion again.
In the PSoC 3 this design was working perfeclty. But when I switched to the PSoC 5 I started to get weird results from the ADC. Some input channels are converted by ADC, but output values have significant offset, and seem to be attenuaded. Other channels (mainly evenly numbered) return always the same value, regardless of voltage applied to GPIO. Furthermore this output value seems to change with PSoC reset.
I tried to use both Analog Mux and Analog Sequencer Mux, with no luck. When I connect pins directly to the ADC, conversion works properly. Using the Analog Mux in Single mode also works. So, at the moment, I ended up with two seperate muxes to drive both inputs of the ADC. It works, but my analog routing now looks like a spaghetti.
I am using PSoC Creator 1.0 Production (7727).
I can post more details if necessary.
Does anybody else had similar issues with those muxes? Or mabye there is somebody who has working project with muxes in differential mode? I would be grateful for any iformation.
Regards
Tom