Quantcast
Channel: Cypress Semiconductor - USB Low-Speed Peripherals
Viewing all 47 articles
Browse latest View live

CY7C65211 - USB Serial SDK Examples - DeviceIndex/DeviceNumber

$
0
0

Hello,

 

I am currently using the CY7C65211 from CY8CKIT-049-4200, in a project, where I have one configured as USB-Serial, AND another one as USB-I2C, on the same PC host.

I have been using the source code (v2.0.3) from the SDK to access the USB-I2C one, and it seems that there might be some confusion in the usage of parameter deviceNumber in function CyGetDeviceInfoVidPid and CyOpen.

In the examples (usbserialexample\(uart|spimaster|i2cmaster)), the end of the FindDeviceAtSCB0 function is returning an Index (used later in CyOpen as deviceNumber parameter) when it finds a device with the right PID/VID (+ SerialBlock_SCB0), but in my tests, it seems that it would require to pass the deviceID[index] value to CyOpen instead of only the index, when the USB-Serial one is connected too.

[ When I look at the Linux source code, the CyGetDeviceInfoVidPid function is filling the UINT8* deviceNumber structure with something called 'DevNum' which looks uncorrelated to 'index', and  that would tend to confirm that using deviceID[index] should be used to get the DeviceNumber for CyOpen. ]

Can someone confirm this ?

JJ

 


CYUSBS232 Android Studio CY7c65213

$
0
0

Hi.

My name is sebastian from Argentina

I'm working with CyUsbS232 (Cy7C65123)

I have already tested the kit on Windows, it works ok.

I have also installed the library (.so) and apk on android; and detect the device

whit PID=04B4 and VID=0003

it works ok.

but the sample application has not implemented the use of the UART.

so I got ready to start the project.

but I have tried and tried, and have failed to achieve

my development environment is Windows with Android Studio 2.0

I imported the sample project with the NDK installed; and I could not compile.

I do not need to compile the library, only I intend to use it for UART comunication.

can someone help me?

USB232 and noise

$
0
0

I purchased the CYUSB232 to interface with some older computer hardware. Using the example of installing, opening tera term and patching TXD and RXD together all works fine, but if I do not hook TXD and RXD together I get nothing but line noise, garbage on the screen and it increases if I move my hand near the device. If I try to plug it into the older hardware I am trying to work with it continues. This happens on 2 different desk tops (Windows 7, XP and on a laptop (windows 7). Is there anyway of eliminating this noise? It is not coming from anything touching the device and only goes away if I jumper the TXD and RXD together. It happens at any baud rate I set it too. It also happens if I use Putty instead of tera term

how to set CYUSBS234 serial port mode in linux

$
0
0

Hi,

I'm working with CyUsbS234 (CY7C65211)

I have already tested the kit on Windows, it works ok.

I can also use it on my Linux platform, with linux SDK and libusb.

To get more gpio and i2c, I need to change the serial port mode from mode 0 (default) to mode 5. 

There is no API to change the serial port in the CyUSBSerial API Document. 

I need to change the serial port mode at runtime in linux system. 

Can someone help me? Thanks.

Attachments: 

Custom programmer for CY7C63803

$
0
0

I am attempting to create a custom programmer for a CY7C63803 chip. I have the programming spec, and it seems fairly easy to understand (but perhaps it could go into a bit more detail), but I have been completely unable to get the device to communicate with the programmer. I was wondering if there was anyone on these forums who has experience with the protocol for programming this chip (the protocol is significantly different from the standard ISSP protocol used on most PSoC 1 chips).

My programmer currently sends the READ-PROGRAM-REG mnemonic and read the response, but the target never appears to drive STKDATA, which simply floats once the programmer finishes sending.

Oddly, the spec defines Tvddwait as "VDD stable to Wait-And-Poll hold off", which seems to imply that the programmer should Wait-And-Poll directly after power on, but this is never mentioned anywhere else in the spec. On the other hand, this procedure is how the standard PSoC 1 ISSP protocol initializes communication, so I though I might try it. When I sent the 20 STMCLK cycles required to start Wait-And-Poll, the target did appear to respond, but not in any way defined by the spec.

My experience so far has left me very confused, and I was wondering if anyone had any insight.

Windows' Special keys USB packet

$
0
0

Would someone tell me where to find the USB keyboard codes to send to make Windows sleep, Volume up/down, play/pause, etc.?  The HID Usage Tables have those- but they do not work in Windows.  I've looked elsewhere but can't find codes that work.  I'd like a whole list of key codes (in USB data) if I can get one.

Windows scan codes aren't the answer; they are the codes used internally by Windows.

 

Thanks,

 

Bill Keeler

cypress fx3 usb 2.0 VGA 15fps

$
0
0

Hi,

I am using AN75779 example code.

I am trying to stream VGA resolution 15fps over USB 2.0.

But the sample application is for super speed configuration like

CY_FX_EP_BULK_VIDEO_PKT_SIZE 1024bytes

.burstLen = 16;

but USB 2.0 bulk will support 512bytes and burst len 8

i am getting black screen..

Any suggestion?

Reagrads,

RAJ M

 

FX3 USB 2.0 VGA@30fps

$
0
0

Hi All,

 

I am using AN75779 example code.

I am trying VGA@30fps for that i have done below changes

--> In descriptor file

/* Class specific Uncompressed VS Frame descriptor */

        0x15, 0x16, 0x05, 0x00,         /* 30fps */

--> In uvc.c

/* UVC Probe Control Setting for a USB 2.0 connection. */

 0x15, 0x16, 0x05, 0x00,     /* Desired frame interval in the unit of 100ns: 30 fps */

--> I configure my camera with VGA@30fps

But still i got 15fps in my host side?

Give some suggestion for 30fps?

Regards

RAJ M

 


FX3 SDIO USB bridge

$
0
0

We got FX3 board, is any easy way to build an SDIO slave (PMMC) to USB slave bridge?

Is there any examples how to write PMMC code? We only coud find PMMC to UART bridge.

QA ,customer want to get PPAP

$
0
0

hi guys,

Could you help me to me  PPAP file about CY2305CSXA-1HT and S29GL512S11DHA020?

PPAP is the product Process documents.

thank you

FX3 USB bidirectional traffic issues

$
0
0

Hi,

I'm using Fx3 to stream UVC data successfully. I'm basing my program on Cx3UvcOV5640 sample.

In parallel I'm sending (very small and rare) control packets to the device on the EP0.

Sending these control packets sometimes sporadically cause the image to become vertically unsynchronized.

Sending a few more of the control packets sometimes sporadically restores the image to the normal state.

 

Digging a little deeper, I see that the function 
CyU3PDmaMultiChannelCommitBuffer returns 71 (CY_U3P_ERROR_INVALID_SEQUENCE) around the time where the issues begin.

Do you have an idea as to what might have gone wrong with the DMA, and how I should handle it ?

 

Thanks,

Roman

FX3 bootloader corrupted

$
0
0

Hi,

I'm using FX3 dev kit and latest EZ USB FX3 SDK.
My device's bootloader got corrupted after flashing an image.
In CY Control Centre; the device is not being detected.
Even in the PC's Device Manager; it is not being detected.

Please help.
 

Psoc creator 4.0: Build error: cannot find -lusbpd_gcc

$
0
0

Hi.

 

I took clean example project CCG2 -> power adapter. It didn't initially generate the "Generated_source" -sources to workarea (they also appeared gray in the Workspace explorer) and project complained about missing project.h. Running clean&build generated the missing sources, but now I get error:

Build error: cannot find -lusbpd_gcc (file cm0gcc.ld)

Dunno if it's relevant, but I also get info:

Analog terminal "VBUS_MONITOR.analog_0" on TopDesign is unconnected.

 

And As said, this is clean import, no changes to code. Just clean & build run. No other projects in the workarea. Attached bundle of the package.

Firmware on the CY7C63413

$
0
0

Hi!

When I order CY7C63413 what the firmware is installed in chip?
Can I use this device according Application Note AN65421? 
(without Hi-Lo programmer and software development).

____________________

Thank you for your understanding and response!

Some questions about SL811HST

$
0
0

I have some SL811HST and want to create USB device. I've read datasheet and got some questions:
1) Should (can) SL811HST receive SETUP packet when endpoint 0 configured for transmitting to host (direction bit of endpoint control register is cleared)?
2) How to solve handshake problems when transaction changes direction (on status stage, for example) ? If someone losts handshake packet, device will be deadlocked (for example, host will change transaction direction after IN transaction on status stage to send new SETUP, slave will not change direction [because of lost ACK], how can I make slave wait for any type of transaction (SETUP + IN or IN + OUT if transaction changes direction from OUT to IN)? ).
3) is RESET interrupt level triggered (interrupt enabled while bus is int reset state)?


One application communicates two USBDevices?

$
0
0

Hi,I am going to develope a application to communicate with two USBDevices with c++ and CyAPI.lib.I just need to send data to the USBDevice one by one.But I can't find some message about it.I hope someone could help me.Thank you very much.

CY7C65211 Memory Layout

$
0
0

Hi everyone,

So currently, I've been working on a multi-purpose Linux-only interface for the CY7C65211 chip and I would like to include a programming feature to change the SCB or GPIO options and so on. I've read that those settings are stored on the chip's integrated flash and that the flash can be manipulated using the API, but there isn't any info about how the setting are stored in flash (offsets, sizes, ...). Is there a part of documentation I'm missing that describes the flash structure?

Thanks in advance,

Kristjan Komloši

Linux USBI2C driver for CY7C65211A

$
0
0

Hello,

I'm going to use USB to I2C CY7C65211A as generic I2C master device.

Is exist Linux driver with allow "see" CY7C65211A as usual I2C device?

This mean it will be listed by i2cdetect tool. Linux Kernel 4.x

Best regards,

 Zbigniew

CyUSB.sys - Windows 10 - Digitally signed by the Windows Hardware Developer Dashboard portal ?

$
0
0

Hi,

Our software uses CyUSB.sys. We have signed this driver fo years, but with Windows 10, an additional signature required. Did Cypress signed by the Windows Hardware Developper Dashboard portal ? If yes where download the new CyUSB.sys ?

 

Regards,

Sebastien

CY3672 USB cable info or old parallel port software version

$
0
0

I am in need of a a USB cable solution that would let me use an old CY3672B unit on USB.  I assume the "USB" version of the programmer just used a USB->parallel adapter cable as I see signs of FTDI FTD2XX drivers in the software.  Might there be a commonly available "USB printer" cable based on the FTDI chip that would work?

Alternately I can probably get by with an old version of the CY3672 programmer software that works with parallel ports on WinXP if I absolutely had to.

thanks,
Steve

Viewing all 47 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>