Hey I'm new in AD converting world, I'm trying to acquire some surface biopotentials with an ADS1192, sending data to a MSP430F5529 MCU via SPI. The ADS shifts out data with this format <16 bit STAT><16 bit Channel1data><16 bit Channel2data>. I only need to save data from Channel 1 into a float variable. The UCBxRXBUF is an 8 bit register, so I should acquire 8 most significant bits, save them, acquire the last 8 bits and reunite them into one 16 bit float data. I'm struggling to get this with my code because I can't do bitwise operations with float and I'm not sure about what I can/cannot do, do you have any idea on how I could accomplish my mission?
Best regards
Alberto