busLab posted on 2017-12-21 08:45:43

USB-SPI Block mode transmission data diagram


Software settings:
http://www.viewtool.com/bbs/data/attachment/forum/201410/27/1422388z5z0ud50vf5bdc0.jpg
Actual waveform:
http://www.viewtool.com/bbs/data/attachment/forum/201410/27/142223zgqk3gnno19zmw6d.jpg
Description:
This is the waveform output by the VSI_BlockWriteBytes function, where BlockSize = 2 and BlockNum = 5. It can be seen from the waveform that the data is sent in BlockNum times, and the BlockSize bytes are sent each time. However, the host computer only needs to call the function once.

Software settings:
http://www.viewtool.com/bbs/data/attachment/forum/201410/27/14224283vi23ijij7sie72.jpg
Actual waveform:
http://www.viewtool.com/bbs/data/attachment/forum/201410/27/142228y5youioojbiuhhqu.jpg
Description:
This is the waveform output by the VSI_BlockReadBytes function, where BlockSize = 3 and BlockNum = 5. It can be seen from the waveform that the data is read in BlockNum times and each time the BlockSize data is read. However, the host computer only needs to call the function once.

Software settings:
http://www.viewtool.com/bbs/data/attachment/forum/201410/27/142247s2yzl0kepfzp8spp.jpg
Actual waveform:
http://www.viewtool.com/bbs/data/attachment/forum/201410/27/142234m4mzuqf01gl4eqmm.jpg
Description:
This is the output waveform VSI_BlockWriteReadBytes function, which WriteBlockSize = 2, ReadBlockSize = 3, BlockNum = 3, we can see from the waveform, the data sub-BlockNum write operation, each write WriteBlockSize byte data immediately after reading ReadBlockSize bytes Data, however, the host computer only needs to call the function once.

Page: [1]
View full: USB-SPI Block mode transmission data diagram