10-02-2010 12:51 PM - edited 10-02-2010 12:56 PM
10-02-2010 01:03 PM
That's one of the most irritating posts I've ever seen. Instead of trying to be cute, post a readable question.
10-02-2010 01:15 PM - edited 10-02-2010 01:19 PM
How do I convert 32 byte of data to 16 bytes and 16 bytes?
Eg:-
My first input is 1000 in i16 format.
My 2nd input is 1000 in i16 format.
When i send this in CAN the the can data received from FPGA is in format of 32 bytes.
i.e the value is coming as 3892570115
How do i convert the above number back to 1000 and 1000??
Input:-
Byte0=1000
Byte 1=1000
Output:-
3892570115
Convert the output back to input as mentioned above.
10-02-2010 01:43 PM
How do I convert 32 bits of data to 16 bits and 16 bits?
Eg:-
My first input is 1000 in i16 format.
My 2nd input is 1000 in i16 format.
When i send this in CAN the the can data received from FPGA is in format of 32 bits.
i.e the value is coming as 3892570115
How do i convert the above number back to 1000 and 1000??
Input:-
Byte0=1000
Byte 1=1000
Output:-
3892570115
Convert the output(3892570115) back to input as mentioned above.i.e 1000 and 1000