I use processor bf533 and the standard driver and sport of the Linux kernel.
There is a device, which itself generates Clock and Frame sync signal, then after the sync signal is sent 192 bits data. I can only read the first 32 bits of data (maximum length of a word in the config). How to read completely all the data?
char *sport_path = "/dev/sport0";
struct sport_config config;
sport_fd = open(sport_path, O_RDWR, 0);
memset(&config, 0, sizeof(struct sport_config));
config.mode = NORM_MODE;
config.data_format = NORM_FORMAT;
config.int_clk = 0;
config.lsb_first = 1;
config.fsync = 1;
config.word_len = 32;
config.dma_enabled = 1;