USB superspeed peripherals Forum Discussions
Hello,
I am using Cypress Streamer which has Save to Disk Option in it.End points are detecting successfully
data is is also transmitting from our own Customized Board we are getting the data also thanks to Cypress Employees who made us successful in establishing the path between board an pc .one thing we are transferring test pattern of checker_board . when we will save the data to to pc
the data is not as like the checker_board it's looking like as the attachment which i uploaded below .bout when we will select data transfer in their it is showing bunch of Zero's and bunch of FF's but when we will run the streamer and saved in pc its displaying like the attachment . can any one help me to sort out this problem
Show LessHello, I am trying to create a dma multi channel but none of the sockets are in a usable state on my board.
I used CyU3PDmaSocketIsValidProducer and CyU3PDmaSocketIsValidConsumer methods to check about the sockets,but none of the sockets are available. What might be locking up the sockets?
Show LessHi,
I need share data between a FX3 and a FPGA, but the FX3 like a master device and a FPGA like Slave. For that I use the AN87216 manual, for the Master FX3 source. I have doubts about the FPGA implementation. If some one have a example, I will be grateful that someone could help me.
Thank.
Show LessI have a question about CYUSB3014-BZXI.
Datasheet Document Number: 001-52136 Rev. *U
http://www.cypress.com/file/140296/download
I have a problem with USB communication.
I connect "Camera employing CYUSB3014-BZXI" to PC in use USB cable.
When I send USB Video Class(UVC) command from PC to Camera, it is receive to fail in sometimes.
I supposed that may be caused by Firmware, I am not definite.
Question1:
If Caused by firmware, what does it take for me to solve?
Question2:
What else do you think cause another?
P.S.
I will write this cdc an comment of the same contents in Japanese, to be on the safe side.
=======================================================================
CYUSB3014-BZXIを用いたカメラとUSB経由でPCに接続し、UVCアプリケーションソフトウェアから、
UVCのコマンドを送信すると、まれにアプリケーションSWの設定を正しく受信しないことがあります。
原因として何が考えられるでしょうか。
ICに内蔵したFWの不具合だとしたら、設定値?などで改善できるところはありますでしょうか。
Show Lesshello,everyone,
Now I have a question, my data is cycling from 00 to FF,8 bit data,but received data in the control center ,the first number isnt 00,it is a random number among the 00-FF,the last number is the previous number of the first number,Is it because I dont distribute the address?
I attached the control center,you will understand me when you see it .
regards,
Alex
Show LessActually we are using Cypress streamer which has option for save the data to disk .it working nicely and packets are successfully transfering .if check box (i.e save to disk )is clicked the data is saving but after some 25600 packets transfered the streamer is automatically stops.but if checkbox(i.e save to disk) is not enabled it is working continuously can any one explain why it is and how to make to save data for continuously until we stop the streamer. i have attached the screenshot of the exception ...
Show LessI will develop the chip named CYUSB2014_BZXC,I use the vxworks system,I want to CYUSB2014_BZXC connect to USB.
Now,I want to know how to investigate somethings,which part of work need to do.
for example,I want to get descriptor of USB,how can I do,this chip how to use,Could someone can help me!!
Show LessIs there any example host application to communicate with the extension unit of an UVC device?
where can i get the driver of FX3 for windows10.
Dear Sir,
I add a I2C mux to extend CX3 I2C bus , but it doesn't work, I cannot see any I2C wave from the output of PCA9540B, I also call read channel status, it seems no any change. status return from write and raed API seem ok !
only two commands are supported, one is write channel (xxxxxB2B1B0), the other is read channel status(xxxxxB2B1B0).
The following is my code, are preamble filled correctly? any comments will be appreciated!
/*
* pca9540b.c
*
* Created on: 2017年9月19日
* Author: lenovo
*/
#include <cyu3error.h>
#include <cyu3i2c.h>
#include <cyu3os.h>
//#include <cyu3types.h>
//#include "pca9540b.h"
#define PCA9540B_IIC_ADDR 0x70
const uint8_t PCA9540B_IIC_WRITEADDR = 0xe0;//PCA9540B_IIC_ADDR << 1;
const uint8_t PCA9540B_IIC_READADDR = 0xe1;//(PCA9540B_IIC_ADDR << 1)|1;
// control byte true table
// D7 D6 D5 D4 D3 D2 D1 D0 channel
// x x x x x 0 x x no channel selected
// x x x x x 1 0 0 CH0 enable
// x x x x x 1 0 1 CH1 enable
// x x x x x 1 1 x no channel selected
// 0 0 0 0 0 0 0 0 no channel selected;power-up default state
const uint8_t PCA9540B_CH[3] =
{
0x04, // channel 0
0x05, // channel 1
0x00 // both of channels 0,1 are disable
};
uint32_t pca9540b_SetCh(uint32_t ch)
{
CyU3PReturnStatus_t status = CY_U3P_SUCCESS;
CyU3PI2cPreamble_t preamble;
uint8_t data[32] ={0}; //just for api calling,if NULL is called,0x41 will be return by CyU3PI2cTransmitBytes()
static uint32_t ch_1 = 2; // PCA9540B_CH[2] = 0x00, all are disable
if(ch > 2) return CY_U3P_ERROR_BAD_ARGUMENT; // only 0,1 channel is permitted
if ( ch == ch_1) return CY_U3P_SUCCESS; // no real switch action
preamble.buffer[0] = PCA9540B_IIC_WRITEADDR;
preamble.buffer[1] = PCA9540B_CH[ch];
preamble.length = 2;
preamble.ctrlMask = 0x0000;
status = CyU3PI2cTransmitBytes(&preamble,data,0,0);
if(status != CY_U3P_SUCCESS)
CyU3PDebugPrint(4,"\n\rErr: pca9540b_SetCh failed! status = %x\n\r",status);
else
ch_1 = ch;
return status;
}
// read channel configuration
uint32_t pca9540b_GetCh(uint8_t *ch_status)
{
CyU3PReturnStatus_t status = CY_U3P_SUCCESS;
CyU3PI2cPreamble_t preamble;
preamble.buffer[0] = PCA9540B_IIC_READADDR;
preamble.length = 1;
preamble.ctrlMask = 0x0000;
status = CyU3PI2cReceiveBytes(&preamble,ch_status,1,0); // only one byte read
CyU3PThreadSleep(1);
if (status != CY_U3P_SUCCESS)
CyU3PDebugPrint(4,"\n\rErr: pca9540b_GetCh failed! status = %x\n\r",status);
return status;
}
Show Less