Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I am using GPIF write waveform to send less than 512 bytes data block.
I referenced Knowledge Base Article "NextData/ActivateData in the GPIF read Waveform Interval".
In this paper,
In order to write data from the FIFO to the external peripheral, you will do an activate data first in one interval. Doing this will result in driving the first byte in the FIFO on to the GPIF data bus and then you may do a Next FIFO Data on the subsequent interval. Doing an Activate Data and a Next FIFO Data on the same interval will result in incrementing the FIFO pointer and driving the new data (pointed to by the incremented pointer) and should be done in subsequent intervals. Therefore a Next FIFO Data is required in case of GPIF Write
I activated data first in one interval(Same Data),and Next FIFO Data on the subsequent interval.
I writed 256 bytes “0x00, 0x01,…, 0xFF”,but readdata is 258 bytes “0x00, 0x01,…, 0xFF,0xFE, 0xFF”.
So , last 2 byte in the FIFO,” 0xFE ,0xFF” repeated.
What is the reason?
The source code is as following.
// we are just using the default values, yes this is not necessary...