This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Pack Byte Structure Manually TMS320F28027

Other Parts Discussed in Thread: TMS320F28027

 

I am trying to conserve as much memory as possible in my application. I understand that the TMS320F28027 chip is 16 bit aligned and that the CCS compiler does not support packing a buffer structure into single bytes. Is this correct? If so, is there a simple efficient way that I can create ‘receive buffers’ for my serial com in order to pack the bytes into single byte locations in memory. I could manually do it by rolling every other byte up into the MSB location and packing the bytes into a 16 bit buffer array, but I would like to check to see if someone has done this and possibly learn of the most efficient way to do this. Thanks.