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.

TMS320F2812 DSP sending ascii number to a serial port

Other Parts Discussed in Thread: TMS320F2812

Hello,


I have a TMS320F2812 DSP witch is programm to send a number [1, 2 , 3 , 4 , 5] to another processor. via a serial link.

the fact is that, the second processor read message in Ascii format and the number I have send to this processor are integer. this is my code source :

int j = 0;

if ( j < 5 )

{ j++}

fonction ( j ) ;

end

the fonction is use to send data via serial link. Please, how can I transform the j integer to an Ascii data like the same thing that the hyperterminal of window do when it send message?


Thanks