USB superspeed peripherals Forum Discussions
HI,
if i configure gpif2 for 16bit interface and only using 10 data bit for data trnsfer from external processor to fx3s and can i use remaining 6 data pins as GPIO's by calling gpiooverride API ??
THANK YOU
Show LessHI,
I am using slavefifo interface( AN65974).
My FPGA is in STREAMIN MODE(writting data from FPGA to FX3).
I am using FLAG A and B ,not using FLAG C AND D(dont need to read from fx3 to fpga).
at this condtion,can i use flag c and flag d pins as GPIO's using gpiooverride API?
R is it not possible????
help me...
thank you...
Show LessCould someone in-the-know please check KBA90743 "Interpreting the DMA_RDY Flag of the GPIF II Block of FX3". Its discussion is hopelessly confusing.
This article tries to tackle the topic "The terminology “DMA_RDY” is not quite correct", but it goes a long way to making matters worse.
If parts of the article are to be believed, the terminology is not just "not quite" correct, it would be completely wrong, and such a degree of wrongness should be pointed out extremely clearly. But other parts of the article undermine this conclusion.
Starting point: The discussion revolves around the master-slave interfacem where the FX3 implements the slave, with an external master. Then there are two cases, FX3 sends data through the P port to external device, and vice versa. Now:
1. For FX3 Output:
"For a channel that outputs data to the P-port (to an external chip or device), the DMA_RDY flag indicates whether there is data ready to be read out from any of the buffers. If there is at least one buffer with data committed to the P-port, the DMA_RDY flag is deasserted. It is essentially an empty flag in this case."
a. The narrative claims that when data is ready, the FX3 deasserts DMA_RDY. That would make the name a complete reverse of the meaning. Is this really true?
b. "It is essentially an empty flag, in this case". In which case? For the "output data" case, DATA_RDY assertion means empty? Or is this saying that the DATA_RDY DEassertion case means empty? Because if it's the second, that actually makes sense (DEasserting a READY signal would make sense for buffer empty), but says the opposite of the previous sentence.
2. For FX3 Input:
"For a channel that inputs data to the P-port (from an external chip or device), the DMA_RDY flag indicates whether there is buffer area available to write into. If there is at least one buffer available to be filled with data, the DMA_RDY flag is deasserted. It is essentially a full flag in this case."
a. Again, the description says that when a DMA buffer is available, the FX3 signals NOT ready! A
b. Again, it's not clear what "this case" refers to: the FX3-as-input case, or the flag deasserted case. Again the latter would make sense, but is the opposite of the previous sentence.
What is the actual truth?
Show LessHello,
I am using Fx3S microcontroller for my application. I noticed that standard FaTFS can support the filenames of the format 8.3 and to use the filenames of length>8, we have to change the value of _USE_LFN to 1(2 or 3 based on the need). This macro can be found in ffconf.h header.
If I define change the value of this macro to other than 0, then there are errors in the ff.c file.
Please help in solving this issue, so that I can use Long File Names(LFN) in my application.
Regrads,
Raghavendra.T.R
Show LessHello,
I am using Cypress Fx3S microcontroller in my application. I am using FatFS commands for Read and Write operations from SD Card. I am successfully able to read .txt file. But I am unable to read the .pcm file. Kindly, help me in finding a way to read .pcm file as it is inevitable in my application.
Regards,
Raghavendra.T.R
Show LessHI,
I am using fx3s in gpif 2 interface with an image sensor.
my image sensor pins are only 10.
my fx3 firmware is configured for 16bit gpif2 in gpif 2 designer tool.
from data0 to data9 is connected to an image sensor.
remaining data10 to data15 are not connected.
can i use these unconnected p port pins as normal GPIO's????
any changes regarding data value in the (p port to u port) commit buffer??
thank you.....
Show LessI want to connect a LED to GPIO Pin. The LED brightness is controlled using PWM signal. LED specifications are
Vf = 3.3v
If = 20mA
Vr= 5V
Ir = 2uA
Do I have to connect any resistor or LED driver?
what is the max current I can get from GPIO pins of FX3.
Show Lesshow many i2c slave devices can be driven by a single i2c master fx2lp and fx2lp18??
how to set gpif to its idle state by setting register in fx2lp gpif?
in GPIFIDLECS register...
IDLEDRV bit is equal to 0 -->tristate the data bus
DLEDRV bit is equal to 1-->drive the data bus
by clearing the IDLEDRV bit to 0,can i put gpif in idle state?
or
can i use GPIFABORT register to put the gpif in idle state?
help me
Show LessI have seen Interfacing FX2LP™ with Image Sensor - KBA95736 in cypress community,i need an example code for this,please provide me,thank you
Show Less