USB superspeed peripherals Forum Discussions
Hi,
I would like to see an example of encrypting the bitstream of an I2C EEPROM to prevent duplication or reverse engineering. I understand there is a unique serial number in each FX3 device, just unsure how to access and utilize it for this purpose. I am using SPI in my application so I can't use an SPI EEPROM. I would like to use the Windows class driver for a virtual com port, so I don't think I can do a USB boot using a custom driver. But if that is an option, I would like more info about that too.
Thanks,
Greg
Show LessHi, all
I would like to confirm about P of example Calculation in KBA226722 as follows:
S = 640*480*2 = 614400 bytes
F = Greatest integer less than (614400 / (16384 – 16)) = 37
P = DMA buffer size * fractional part of (S / (DMA buffer size – 16)) = 8784 bytes
However, P is:
P = 16384 * fractional part of (614400 / (16384 – 16))
= 16384 * 0.536656891495601173020527859238
= 8792.5865102639296187683284457478 bytes
The calculation does not mach. The answer is correct if (DMA buffer size – 16) instead of multiplying by "DMA buffer size".
P = (DMA buffer size – 16) * fractional part of (S / (DMA buffer size – 16))
= 16368 * 0.536656891495601173020527859238
= 8784 bytes
Which is the correct calculation for the Number of bytes in the Partial buffer?
Best Regards,
Kenshow
Show LessHello,
I want to use the FX3 UART peripheral for communication with another microcontroller. We are using six FX3 as slaves and one microcontroller as a master and developed a protocol for communication.
I was wondering about how to use DMA mode. Am I right, that Rx is only possible for a fixed number of bytes? So the message length should not vary?
When using Reg mode for Rx, is the FX3 waiting until the specified count of bytes were received and could not do anything else in this time?
In the examples there is a "CyFx3BootUartDmaXferData" and "CyFx3BootUartDmaXferData" function. But in SDK 1.3.3 I can not find those... How can I send messages in DMA mode via UART?
I would like to use the CyU3PUartTransmitBytes function in Reg mode and CyU3PUartRxSetBlockXfer in DMA mode because of getting the interrupts when a message from the master is received. Is it possible during operartion to change into Reg mode before using the TransmitBytes function and after that change back to DMA mode waiting for a response? It would only be necessary for an ACK or something like this.
Thanks a lot.
Best,
Mika
Show LessHi,
We are using CYUSB3064/5 as in USB self powered mode.
What is the minimum detection voltage level of VBUS?
"I found this comment from EZ-USB FX3/FX3S Hardware Design Guidelines and Schematic Checklis:
VBATT can be connected to the system battery or a stable 3.2 V–6 V voltage rail from the PMIC. If VBUS and VBATT are both present and in their specified ranges, VBUS becomes the primary supply to the USB I/O unless there is a software/firmware override. If VBUS is less than 4.1 V, then FX3 behaves as if no VBUS is connected to it. If this happens when the FX3 is powered, then FX3 does not enumerate at all. If this happens somewhere during the operation of FX3, then the FX3 firmware will turn off the USB PHY and disconnect from the host."
We have seen detection fails when trying to enter USB boot loader mode when VBUS is just over 4.0V (4.05V).
We are able to increase supply to 4.2V, should this be enough in all cases?
-Mika-
Show LessHi Team,
we are working on converting HDMI to UVC video stream of 1080p 60fps video format YVU422. Now we are doing via FPGA.
HDMI2.0 --> ADV7611 --> FPGA --> FX3 (This a architecture we are following now)
Now we are planned to go without FPGA. We are not doing any video process in it.
HDMI2.0 --> ADV7611 --> FX3 (This architecture is possible?)
Thanks.
Show LessHello Cypress!
I've only spent a day or 2 trying to work this one out so apologies if I've missed a resource, but the API docs and examples do not have an explanation of how the functions: CyU3PSibEraseBlocks and CyU3PSibSendSwitchCommand work....
For anyone trying to work it out too, the "unit" parameter in EraseBlocks is typically 512kb, or 524,288 bytes as set by JEDEC for 32GB drives. Your own emmc chips may differ though. blocks are typically 512 bytes, but this is chip specific as well.
My question is in the documentation for erase blocks, what parts of the uint32_t argument in SendSwitchCommand goes to what value that is used with the CSD register? As it's an extended CSD call this is hard to work out because the CSD register on emmc's is 512 bytes, not 32 so I'm alittle confused by that..
Regards!
Fujimi
Show LessHello,
I download my UVC firmware to RAM with control center, and preview the images with "WebcamViewer".
I encounter one problem, that is the device reset to "Cypress USB BootLoader" device after grabbing several frames and UVC device is gone.
May I ask for the help to solve this issue, is it a hardware issue or software issue?
Thanks.
Show LessHi,
We use FX3 USB3 Explorer Kit to simulate USB camera (USBIsoSourceSink project), in a real USB web cam, we able to see flickering pictures when the time_service_interval > 125us (according to the USB3 spec, the time interval between ITP packets should be 125us).
we trying to reproduce the flickering issues with the FX3 device and we are using the streamer app form the SDK, failure counter keep be 0.
We saw in the FinishXfer function that the fail criteria\error is depend on USBDstatus, NtStatus and the result of the function GetOverLappedResult() function,
there is any way to give us indication to detect that the time_service_interval > 125us?
if no, is there any way to detect that the time_service_interval > 125us?
thank you and have a nice day,
A.K
Show LessHi,
We are working with the CX3 component as a UVC class with an OV5640 camera sensor and we are also developing windows host application for the same. We need support on how to get a still image from the camera sensor by use of UVC still image trigger command. Currently, we are able to capture still image from video stream by use of the "IMFCaptureEngine" of windows media foundation but we need to do it using UVC still image trigger command. Can anyone please point our some reference source or documentation for the same?
Show LessHello
Normally, when writing FW and booting, I think that Dip-switch will be used to switch PMODE. At the customer's request, the PMODE setting is "fixed" without using Dip-switch.
Q) Is there a way to write FW from the HOST (Control Center) to SPI Flash and then boot from SPI Flash? Please let me know if there is a method in which PMODE is fixed and both(USB and SPI) boot options can be set.
Best Regards
Arai
Show Less