added data encoding along with initial test code for generating crc with DMA
finished switching between entry logic and functioned the crc generation