PSoC™ 5, 3 & 1 Forum Discussions
text.format{('custom.tabs.no.results')}
Hello,
I'm using a CY8C3446AXI-098 PSoC 3, which according to the datasheet has two USBIOs on pins P15[6] and P15[7] which can be used to either provide connection for a USB data bus or be used as general DIO pins. However, what the datasheet didn't specify, and what I didn't find out until trying to build my design, is that the DIO pins can only be configured to one of two drive modes, Strong Drive, and Open Drain Drives low.
I was hoping to use these pins as general purpose digital input pins. It seems logical enough to think that the pins could be configured in Open Drain, Drives low drive mode, and simply held in the high-Z state to be capable of sensing any input voltage on the pin. However, if this is the case I would expect to be able to configure the pins as a high impedance digital input drive mode so there would be no confusion. Must the software ensure that the pin is always held in high-Z state when configured as an input, or is this done automatically by PSoC creator?
I just want to verify that a pin configured as Open Drain, Drives low can be used as a digital input equivalent to a high impedance digital input pin with no extra external circuitry or software so that I don't end up building the board and realize these two DIO pins don't act as I'd expect.
Thank you!
John
Show LessYou can find the BSDL file for each part number on the product webpage, under Technical Documentation category:
http://www.cypress.com/?mpn=CY8C3244LTI-168#TechnicalDocuments
There is a category: Boundary Scan BSDL, where you can find BSDL file for 5 JTAG and 4 JTAG.
Hello All,
I noticed that a lot of projects did not seem to be completed, but had fairly high vote ratings.
Is there some reason I can't get at their files/videos?
DiodeDan
Show LessCongratulations to the 12 finalists who have made their way through.
The finalists are divided into 4 categories: Community Choice, Best use of Analog, Best use of Digital, and Best use of Components. Our judges will pick the winners for the latter three, but you can control who wins the Community Choice. So go out there and vote!
Community Choice
- Touch-sensitive electronic Alto recorder with true analog sound synthesizer
- Spectral_Eye
- Implementing FULL CAN bus in PSoC 5 for electric vehicle development
Use of Analog
- Drum Tuner
- MultiLogger
- Musical Instrument Tuner
Use of Digital
- Mixed analog-digital scope
- LIMB – Low-Cost Intelligent Monitor for Babies
- PSoC 5 Webcam
Use of Components
- Electronic implementation of the game “Connect 4” using a color OLED
- PSoC5 Super Spy Car with Bluetooth control and monitoring by mobile phone.
- jmSCAG for PSoC
The same announcement can be seen here, PSoC 5 Design Challenge Finalists
Show Lessi am tring to measure pulse rate by gating the the input pulses for a fixed time (0.5 mS) by using a 16 bit gating timer(T1) and the incoming pulses are counted by a 16 bit counter(C1). I noticed an error in the pulse count. Eigther by reducing the gating time or multiplying the result with some fraction i may get the corrected resul like that i thought.
When i tried to multiply the counter's result with a fraction i couln't get the correct result. (i defined the counter's result as int variable). could you please suggest?
regards,
gopal
Show LessHello CY Developer Community Members!
Check out Oscium’s iMSO mixed signal oscilloscope and iOS app (http://www.oscium.com/) that interfaces to iOS devices via the dock connector! Measuring signals have never been more convenient... and fun!
See the full press release for more details: http://www.cypress.com/?rID=50027
Details on CY's MFi (Made for iPod, iPhone and iPad) solution offering and a video demonstration of the CY8CKIT-023 PSoC Expansion Board Kit for iPod, iPhone and iPad Accessories are available at http://www.cypress.com/go/MFi and for more information on Apple's MFi program, please visit http://developer.apple.com/MFi.
Leon Tan
Solutions Marketing Manager - MFi & Mobile Accessories
@TheLegacyYears
Show LessHi, I am having trouble testing the I2C Wake feature using an ES3 CY8C3866. The basic read and write slave functionality works fine but it does not wake up. I cannot figure out if I am missing anything. Can anyone help? I am listing the hardware setup and source for a basic I2C Slave. Thanks.
The hardware is setup as follows:
Mode: Slave
Data Rate: 100 kps
Implementation: Fixed Function
Address Decode: Hardware
Slave Address: 0x3F
Pin Connections: I2C0
Enable wakeup from Sleep Mode: Yes.
Pin settings:
Input: Bidirectional, OpenDrain Low, Input Buffer Enabled, Input Synchronized
Output: Fast, Vddio, 4mA source/ 8mA sink, Output Synchronized
Source:
#include <device.h>
uint8 I2CReadBuffer[128];
uint8 I2CWriteBuffer[128];
uint8 cloopCount;
void main()
{
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
I2C_Start();
I2C_EnableInt();
LED_Write(0);
I2C_SlaveInitWriteBuf( &I2CWriteBuffer, 128);
I2C_SlaveInitReadBuf( &I2CReadBuffer, 128 );
CYGlobalIntEnable; /* Uncomment this line to enable global interrupts.*/
for(;;)
{
if ( I2C_SlaveStatus() & I2C_SSTAT_WR_CMPT )
{
for ( cloopCount = 0; cloopCount < I2C_SlaveGetWriteBufSize(); cloopCount++ )
{
I2CReadBuffer[cloopCount] = I2CWriteBuffer[cloopCount];
}
I2C_SlaveClearWriteStatus();
I2C_SlaveClearWriteBuf();
}
if ( I2C_SlaveStatus() & I2C_SSTAT_RD_CMPT )
{
I2C_SlaveClearReadStatus();
I2C_SlaveClearReadBuf();
}
if ( I2CWriteBuffer[0] == 0x24 )
{
LED_Write(1);
I2C_Sleep();
CyPmSaveClocks();
CyPmSleep(PM_SLEEP_TIME_NONE, PM_SLEEP_SRC_I2C);
CyPmRestoreClocks();
I2C_Wakeup();
LED_Write(0);
I2CWriteBuffer[0] == 0;
}
}
}
As 3D technologies become more prevalent, Cypress has developed a solution for 3D ative shutter glasses. The solution integrates the IR analog front end (or RF interface), battery charging, and shutter drive/control into a single chip solution. For more information, go the 3D glasses applications page.
http://www.cypress.com/?rID=47827&source=header
Show LessI am trying to send data through usb from the PSoC 5 First touch starter kit to the computer and the problem is the device does not enumerate.
I have tried example projects provided for PSoC 5: 3-button mouse, USB Interrupt Transfer Example. Everything works for building and programming the psoc, but when finished, there is no prompt with the device being added from windows and the software that handles the USB connection tells me the device is disconnected.
I also used the debugger to run the code. The following lines are an infinite loop.
while(FALSE == USBFS_bGetConfiguration())
{
/* Waiting for enumeration */
;
}
I am thinking about wheather the psoc needs a reset after programming and before acting as the USB device it is programmed to be... please give oppinions!
Thank you in advance,
Adriana
Show Less