Set correct indices for storing read out, inefficient csb0 port assignment
Refer to README for this sample project documentation.