USB low-full-high speed peripherals Forum Discussions
First of all, all phones tested do support USB host mode. They can read from flash drives and `packageManager.hasSystemFeature(PackageManager.FEATURE_USB_HOST)` returns true.
- Windows PC: Works. Connect and it shows in the device manager. Install libusb driver with zadig and we can read from the device with pyusb
- Phone #1 (Vivo): Seems fine.`android.hardware.usb.action.USB_DEVICE_ATTACHED` triggered on connect, and `usbManager.getDeviceList()` finds the device. Reading not tested yet.
- Phome #2 (Xiaomi): Powers the device, but nothing happens on screen and `getDeviceList()` returns empty. The phone recognizes every other USB device I tried, including a DAQ which requires vendor driver on Windows.
- Phone #3 (Samsung): Doesn't power the device. Doesn't recognize the device and another device that Phone #2 recognizes. However, as I said in the beginning, can read flash drives.
What could be the problem, or how can we gather further information on it? Should I try using libusb through NDK instead of the Android USB API (seems there's a lot to learn)? A final app that works only on rooted phone is not acceptable.
Show LessHello Infineon Support Team,
Thank you for your usual support.
I would like to ask you a question about CY7C65213-28PVXI.
What is the purpose of VCC as a power supply pin?
I sked this question because the data sheet states that the core and IO of the device are supplied by the VCCIO pin.
Best regards,
Koki
Show Less
Hi,
I am working on Slave FIFO interface for fx2lp . I am configuring FIFO in auto- in mode for receiving the data.
I have a SLWR pin and sync signal coming in from the master . So i configure FIFOINPOLAR to make SLWR high upon data reception from the master
The idea is to use SYNC signal as interrupt and then start the data transmission into fifo in bulk mode. i have 16 data bits so the wordwide bit is set to 1
I am using endpoint 8 for this . What i see is there is random shift in the sync signal when i capture the data buffer on the wireshark. The data size is supposed to be 256 bytes and hence the sync signal should repeat itself after each 256th byte transmission though this happens properly .
The question is why do i see a shift in the position of the data in EP8 buffer ?
i want to start filling the first position of the buffer upon sync (interrupt)
Could someone point me out what is missing here ?
This is the code snippet here :
REVCTL = 0x03; // set to 1 // creates problem with UART
SYNCDELAY;
EP8CFG = 0xE0 ; // BUF[1:0]=10 for 4x buffering:IN , 512 buffer size
FIFORESET = 0x80; // Activate NAK-All to avoid race conditions.
SYNCDELAY;
FIFORESET = 0x88; // Reset FIFO 8.
SYNCDELAY;
FIFORESET = 0x00; // Deactivate NAK-All.
SYNCDELAY;
IFCONFIG = 0xFB; // fifo clock internal, 48 mhz internal, Slave FIFO mode of FX2LP, async mode operation
SYNCDELAY;
CPUCS = 0x0A; //set the cpu clock speed to 24mhz
SYNCDELAY;
thanks
Hi, All,
as we known the FX2 and FX3 SDK contain Driver and C#/C++ lib for windows platform.
Does Cypress Driver support windows 11 ?
Does Cypress provide C#/C++ lib for windows 11??
BR
Ivan
Show LessHello, I'm utilizing FX3 to print debug information using the following code: `CyU3PDebugPrint(4, "in loop %d", i);`.
Additionally, I've implemented two vendor commands: 0xE4 to invoke DEBUG_On and 0xE5 to invoke DEBUG_Stop. The DEBUG_LOG_SOCKET is connected to the 0x86 Endpoint in bulk mode (I've also experimented with interrupt mode).
there's an issue I've encountered. Initially, I can successfully read the debug output from USB. However,
if I invoke the DEBUG_Stop by 0xE5 controlwrite, I am unable to read the log again. but other command is work.
If I simply terminate the read process on the PC with ctrl+c,I am unable to operate anything in FX3, all the command will not work, all control write / read will not work
Below are the two functions
how can I safly ctrc +c my log reader and can stop and re start the log?
void DEBUG_On()
{
DEBUG_Stop();
if (debug_inited != CyTrue)
{
debug_inited = CyTrue;
init_ep(); // perform endpoint configuration
}
CyU3PDebugPreamble(CyFalse);
CyU3PDebugSetTimeout(1);
CyU3PDebugInit(DEBUG_LOG_SOCKET, 8);
}
void DEBUG_Stop()
{
CyU3PDebugLogClear();
CyU3PDebugDeInit();
}
Dear Sir/Madam,
I am looking for the RoHS, REACH, TSCA, Prop65 and POP statements.
Please would you send me these statements?
Yours faithfully,
Herbert
Show LessHello All,
I have a 2.46M pixel 1920x1280 camera sensor. Format UYVY is a 16 bit sensor. I developed a driver for this sensor for CX3 an looked at the UART outputs, there is no problem and it seems to be printing frames. However, the gstreamer window that opens on the computer appears black and no image. When I look at the PCLK, HSYNC, VSYNC pin on the CX3 with an oscilloscope, I see that everything is working fine. I added the frame info output from the UART below. Does anyone have any suggestions as to why this could be?
''
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 1 Frm_Sz = 4972800 B
0 2 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 2 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 3 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 4 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 5 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 6 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 7 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 8 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 9 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 10 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 11 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 12 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 13 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 14 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 15 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 16 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 17 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 18 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 19 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 20 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 21 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 22 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 23 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 24 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 25 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 26 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 27 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 28 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 29 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 30 Frm_Sz = 4972800 B
TimeDiff = 997 ms FPS = 30
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 31 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 32 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 33 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 34 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 35 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 36 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 37 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 38 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 39 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 40 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 41 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 42 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 43 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 44 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 45 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 46 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 47 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 48 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 49 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 50 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 51 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 52 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 53 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 54 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 55 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 56 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 57 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 58 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 59 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 60 Frm_Sz = 4972800 B
TimeDiff = 997 ms FPS = 30
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 61 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 62 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 63 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 64 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 65 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
Prod = 135 Cons = 134 Prtl_Sz = 2640 Frm_Cnt = 66 Frm_Sz = 4972800 B
0 0 0 0 0 0 0 0 0
''
Show LessHello,
I´m searchnig for solution how to convert MIPI C-PHY 1.0 camera signal (sony imx 586 trial lanes) to HDMI, have Infineon some solution like CYUSB3065 but with HDIM output ? Or i must do it through some FPGA or ?
Show Less