USB superspeed peripherals Forum Discussions
Hi all,
I am working on Cypress cyusb3014-bzxi chip. However when I connect it to the computer, I am unable to detect the device. It doesn’t show up anywhere in device manager also. Do I have to do something prior to connecting it with the computer ? I haven’t loaded my code into the chip yet since the device isn’t detected in the first place. Kindly let me know how to proceed ?
Thanks,
Srivats
I am learning the SDK and USB in general in these weeks and I am trying to reverse engineerin the EZUSB design for CX3.
I have a simple question: as soon as the sensor has been correctly configured and started what should I expect out-of-the-box (i.e. without changing the C code for what's USB related) connecting the system to a PC? It is supposedly an UVC device right? So windows should reckon it. And then? How can I demonstrate all is working with e.g. VLC or windows movie player etc.?
Sorry for this maybe stupid if I am asking for something which is already explained by the documentation (actually I see two app notes for FX and CX3 which have some overlap each other)
Thanks much
RULA JEBREAL
é nata a Haifa in Israele, la madre, Zakia, palestinese, aveva subito gravi abusi durante l'infanzia e si suicidò annegandosi in mare quando Rula aveva 5 anni. Assieme alla sorella Rania, Rula viene portata dal padre al collegio/orfanotrofio di Dar El-Tifel a Gerusalemme dal 1978 al 1991.
Nel 1993, ha ricevuto una borsa di studio dal governo italiano per studiare fisioterapia all'Università di Bologna, dove si è laureata.
Nel 1997 incomincia a collaborare con Il Resto del Carlino, Il Giorno e La Nazione, dove si occupa di cronaca cittadina e temi sociali e nel 1999 passa alla politica estera, con particolare attenzione ai conflitti mediorientali.
Nel 2002, come giornalista e militante del Movimento palestinese per la democrazia e la cultura, prende parte a una trasmissione televisiva su LA7, Diario di guerra.
Nel 2003 cura la rassegna stampa dei quotidiani in lingua araba e, contemporaneamente, collabora con Il Messaggero come editorialista di politica estera. Alla fine del 2003 ottiene la conduzione dell'edizione notturna del telegiornale di La 7. Nell'ottobre dello stesso anno si trasferisce da Bologna a Roma con la figlia Mira.
Nel 2005 conduce Pianeta 7, rubrica di approfondimento di esteri. Nell'estate immediatamente seguente modera il dibattito giornaliero di Omnibus Estate e successivamente, in ottobre, il "tema del giorno" del programma quotidiano Omnibus, alternandosi con Antonello Piroso.
Nello stesso anno vince il Premio Ischia internazionale di giornalismo per la televisione nella sezione giovani, riservato ai professionisti under 35.
Nel febbraio 2006 è vittima di affermazioni razziste da parte del ministro Roberto Calderoli, condannate dalle associazioni di categoria.
Nel settembre 2006 affianca Michele Santoro in Annozero, dove assieme a Beatrice Borromeo viene insultata da Giulio Sapelli.
Dal giugno 2007 è autrice e conduttrice di Onda Anomala, settimanale politica estera e costumi di RaiNews24.
Ha pubblicato due romanzi: l'autobiografico La strada dei fiori di Miral (2004), da cui è stato tratto il film Miral (2010) (del quale è lei stessa sceneggiatrice), e La sposa di Assuan (2005).
Il 28 settembre 2007 ha pubblicato il saggio Divieto di soggiorno, contenente delle interviste con degli immigrati in Italia.
Nel 2008 è autrice e produttrice di un evento al Colosseo in favore della moratoria ONU contro la pena di morte.
Nel 2009 produce e conduce un programma tv in Egitto dove intervista svariate personalità del contesto locale e mediorientale, e che verrà salutata come la trasmissione più indipendente nella storia della televisione egiziana.
In seguito ha proseguito soprattutto a dedicarsi alla promozione del film Miral nelle sale statunitensi. Contestualmente, la pellicola è stata avversata da diverse organizzazioni israeliane che ne contestavano la caratterizzazione, a loro avviso, filo-palestinese; una protesta è stata adottata dallo stesso governo israeliano che ha tentato, vanamente, di impedire la première statunitense del film organizzata presso la sala dell'Assemblea generale delle Nazioni Unite, il 13 marzo 2011, vista, tra gli altri, da Robert De Niro, Steve Buscemi, Josh Brolin e Sean Penn. La Jebreal ha respinto le accuse, dichiarando: "Questo film è un grido per la pace. ...È contro la violenza, da dovunque essa venga."
Nel 2013, insieme con Michele Cucuzza, ha condotto il programma televisivo "Mission - Il mondo che il mondo non vuole vedere", composto da due puntate andate in onda il 4 e il 12 dicembre in prima serata su Rai 1.
La trasmissione, oggetto di numerose critiche ancor prima della messa in onda, è stata realizzata in collaborazione con l'UNHCR e INTERSOS e ha raccontato il viaggio di alcuni personaggi famosi in zone del mondo ove sono presenti i rifugiati.
Nell'agosto 2014 durante un dibattito sulla MSNBC Jebreal afferma che i media statunitensi sono troppo sbilanciati a favore di Israele, portando ad esempio il numero e la durata delle interviste a esponenti israeliani rispetto a quelle a esponenti palestinesi, fornendo così un quadro distorto e parziale del conflitto a Gaza al pubblico. Ha in seguito denunciato la cancellazione da parte della MSNBC di tutte le sue apparizioni sulla rete.
Nel 2017 Rula è stata una delle sette donne di successo omaggiate da Yvonne Sciò nel suo documentario Seven Women.
Rula Jebreal parla fluentemente quattro lingue: arabo, ebraico, inglese e italiano.
Considera e descrive se stessa come musulmana laica.
In merito alla sue posizioni antitaliane la giornalista respinge gli attacchi che le sono stati mossi negli ultimi giorni, non si ritiene una persona che odia e denigra il Paese di cui è cittadina ma, anzi, dice di essere grata all'Italia.
Spiega la sua presenza al festival come "un'occasione ideale di apertura al mondo su tematiche che non sono né di destra né di sinistra."
Le critiche alla sua presenza nascono dalla paura di una fetta di paese di dare visibilità a "italiani nuovi, persone come me che appartengono a un'Italia inclusiva, tollerante, aperta al mondo, impegnata in missioni di dialogo e pace."
Rula Jabreal, che all'estero ha lavorato, e lavora, come esperta di Medio – Oriente in prestigiosi network della televisione a stelle e strisce, critica Matteo Salvini e il clima che si respira nei corridoi della tv pubblica: "In Rai c'è un brutto clima e gli attacchi sono partiti da persone a lui vicine. Trasmettono un'immagine chiusa, vecchia, dell'Italia."
"Resto allibita. Sono grata all’Italia e dopo quel che è successo intensificherò le mie presenze qui, non solo per venire a trovare mia figlia – ha detto Jebreal -. Impegnarsi contro la xenofobia e la violenza sulle donne non deve essere né di destra né di sinistra. Se qualcosa devo rimproverarmi, è di non avere spiegato meglio quel che stavo facendo all’estero anche per onorare la mia cittadinanza italiana".
hello,
I used CYUSB3014 in my design and referenced the design of a third-party development board. After connecting to the PC with a cable, the device manager of the PC cannot find the device, and the measured voltage and crystal clock output are normal, but compared with the development board, it is found that when the PC is not connected, the DP pin of the development board is high ( 3.3V), and the discipline on my board is about 0.6V. What could be the cause of this problem?
Attachment here is the schematic (the clock uses X2, Y2 is not soldered).
我在设计中使用了CYUSB3014,参考了第三方的开发板设计。用线缆连接到PC后,PC的设备管理器无法发现设备,测量电压和晶振时钟输出都正常,但与开发板对比发现,在未连接PC时,开发板的DP管脚为高电平(3.3V),而我的板子上该管教是0.6V左右,产生该问题的原因可能是什么?
附件是我设计的原理图(时钟采用了X2,Y2未焊接)。
Show LessThe install script for cyusb_linux fails. I have already edited out "errno" instances in main.cpp and I believe I have the correct version of libusb installed:
root@Conga:/home/cypress/cyusb_linux_1.0.5# dpkg -l libusb-1.0*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=======================-================-================-===================================================
ii libusb-1.0-0:amd64 2:1.0.21-2 amd64 userspace USB programming library
ii libusb-1.0-0-dev:amd64 2:1.0.21-2 amd64 userspace USB programming library development files
ii libusb-1.0-doc 2:1.0.21-2 all documentation for userspace USB programming
Running install.sh as root yields:
root@Conga:/home/cypress/cyusb_linux_1.0.5# ./install.sh
Your current directory is /home/cypress/cyusb_linux_1.0.5. This is where the cyusb_suite software will be installed...
g++ -fPIC -o lib/libcyusb.o -c lib/libcyusb.cpp
g++ -shared -Wl,-soname,libcyusb.so -o lib/libcyusb.so.1 lib/libcyusb.o -l usb-1.0 -l rt
cd lib; ln -sf libcyusb.so.1 libcyusb.so
rm -f lib/libcyusb.o
rm -f moc_controlcenter.cpp
rm -f ui_controlcenter.h
rm -f controlcenter.o main.o fx2_download.o fx3_download.o streamer.o moc_controlcenter.o
rm -f *~ core *.core
/usr/lib/x86_64-linux-gnu/qt4/bin/uic controlcenter.ui -o ui_controlcenter.h
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o controlcenter.o controlcenter.cpp
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o main.o main.cpp
main.cpp: In function ‘void get_config_details()’:
main.cpp:625:5: error: ‘libusb_get_ss_endpoint_companion_descriptor’ was not declared in this scope
libusb_get_ss_endpoint_companion_descriptor (NULL, ep, &compd);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:625:5: note: suggested alternative: ‘libusb_ss_endpoint_companion_descriptor’
libusb_get_ss_endpoint_companion_descriptor (NULL, ep, &compd);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libusb_ss_endpoint_companion_descriptor
main.cpp:645:66: error: invalid use of incomplete type ‘struct get_config_details()::libusb_ss_endpoint_companion_descriptor’
summ[summ_count].reqsize = (summ[summ_count].maxps * (compd->bMaxBurst + 1) *
^~
main.cpp:623:12: note: forward declaration of ‘struct get_config_details()::libusb_ss_endpoint_companion_descriptor’
struct libusb_ss_endpoint_companion_descriptor *compd = NULL;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:646:14: error: invalid use of incomplete type ‘struct get_config_details()::libusb_ss_endpoint_companion_descriptor’
(compd->bmAttributes + 1));
^~
main.cpp:623:12: note: forward declaration of ‘struct get_config_details()::libusb_ss_endpoint_companion_descriptor’
struct libusb_ss_endpoint_companion_descriptor *compd = NULL;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:648:66: error: invalid use of incomplete type ‘struct get_config_details()::libusb_ss_endpoint_companion_descriptor’
summ[summ_count].reqsize = (summ[summ_count].maxps * (compd->bMaxBurst + 1));
^~
main.cpp:623:12: note: forward declaration of ‘struct get_config_details()::libusb_ss_endpoint_companion_descriptor’
struct libusb_ss_endpoint_companion_descriptor *compd = NULL;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:233: recipe for target 'main.o' failed
make: *** [main.o] Error 1
Suggestions??
Show Lesshi
is there an sample code which configure the sub device as NV12 camera ? i tried to configure in our usb description, but cannot work.
/* Class specific Uncompressed VS format descriptor */
0x1B, /* Descriptor size */
0x24, /* Class-specific VS I/f Type */
0x04, /* Subtype : uncompressed format I/F */
0x01, /* Format desciptor index (only one format is supported) */
SENSOR_RESOLUTION_MODE_NUM_HS, /* number of frame descriptor followed */
#if (SENSOR_TYPE == IMG_OV10650_OV495)
0x55,0x59,0x56,0x59, /* UYVY */
#else
//0x59,0x55,0x59,0x32, /* GUID used to identify streaming-encoding format: YUY2 */
0x4E,0x56,0x31,0x32, /* GUID used to identify streaming-encoding format: NV12 */
#endif
0x00,0x00,0x10,0x00,
0x80,0x00,0x00,0xAA,
0x00,0x38,0x9B,0x71,
16,/*0x10,*/ /* Number of bits per pixel used to specify color in the decoded video frame.
0 if not applicable: 10 bit per pixel */
0x01, /* Optimum Frame Index for this stream: 1 */
0x08, /* X dimension of the picture aspect ratio: Non-interlaced in
progressive scan */
0x06, /* Y dimension of the picture aspect ratio: Non-interlaced in
progressive scan*/
0x00, /* Interlace Flags: Progressive scanning, no interlace */
0x00, /* duplication of the video stream restriction: 0 - no restriction */
xingxing
thanks
Show LessCan someone explain how single state machine given (syncslave_fifo) in GPIF II project folder in AN65974 corresponds to state machines shown in Application Note for all the examples
Show Less
Hello guys,
We were able to successfully benefit from the application note AN75779 and use FX3 to transfer video streams from our image sensors (IMX250, IMX253, IMX420) to the PC. VLC player has been used to play the streams. Thanks for your support in that sense (thread 1, thread 2)! It is really appreciated.
We would now like to replace VLC player by our custom software using UVC class drivers. We would like to be able to change video resolution on the fly (by sending appropriate set_resolution commands from PC). On the page 65 (Section 9.2) of AN75779 document, it is explained that new frame descriptor should be added to available format descriptor.
How can we actually do it?
Does that mean we need to have multiple /* Class specific Uncompressed VS frame descriptors */ within CyFxUSBSSConfigDscr[] Super Speed Configuration Descriptor - one frame descriptor for every resolution supported?
Similarly, if we want to support different UVC RAW formats (e.g. YUY2 16 bits per pixel, some custom 32-bit per pixel format...), does that mean we need to have multiple /* Class specific Uncompressed VS format descriptors*/ within CyFxUSBSSConfigDscr[] Super Speed Configuration Descriptor - one for every VS format supported?
For the case of affirmative response on above questions, do we place multiple frame and format descriptors one beneath the other within CyFxUSBSSConfigDscr[] Super Speed Configuration Descriptor? Is it necessary to change any other field of CyFxUSBSSConfigDscr[] Super Speed Configuration Descriptor in order to support different video resolutions?
Thank you very much for your time and efforts!
Sincerely,
Bojan.
Show LessHi,
any suggestions or examples for initializing spare GPIO pins to control peripherals such as power supplies whilst using the snapshot UVC.
I would like to power up some external peripheral controls in a controlled manner after powering up the main FX3 chip and before launching the main video application
and also de-initializing them for low power mode.
Have the peripherals initializing and running a basic test cycle using the GPIO application example successfully.
Any help appreciated.
Show LessSometimes the PC(personal computer) can't detect USB device.
Then, unplug usb cable and plug it for porper operation.
There is no other way than this.
I want to use auto Power On/Off device or disconnect USB.
If I use 2 Port Hub between PC and USB device, is there a way for USB HUB to recognized whether PC detect USB device.
If possible, please rerecommand device and tell me the relevant register.
Show Less