I intend to plot this extracted 8-channel 16-Bit data into charts/graphs. If we split each incoming byte from the file (array) into 8-bits, and store in 8 different 16-bit SIPO SRs, after each 16-byte chunk will get 16-bit ADC data stored SRs (for all 8 channels). Likewise for remaining 7 channels using D1-D7. in this video, i have explained sipo shift register, serial input parallel output shift register with following timecodes: 0:00 - digital electronics lecture series 0:12 - block diagram of. All D0s from 16-bytes chunk are required to combine to form Channel 0 data. All D0s should go to SR0, All D1s to SR1, and so on, till D7. The requirement is to split the 8-bits from each array element, and insert into the 8 SRs. The data input is U8 1-D array from a binary file. Since the SR (shift register) is of SIPO (serial input parallel output) type, therefore the data must be fed serially, from each array elements, and read parallely.Īctually I am trying of decode 8-channel 16-bit ADC sample data, where each data point for all 8 channels are stored in 16 bytes. I would like to implement 16-bit serial input parallel output shift register (SR), for 8 channels. Therefore the operation must continue till the end of the file. I meant 'Serially' to array elements, one by one, in my ealier post. I am always reading the data from a binary file. In some other programs, I can easily read and plot little endian data (2 bytes, multi channel) from various sources, using 'Decimate 1D array'. I meant the shift register as the logical shift register, text book kind.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |