Receive Data by Serial Communication

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Receive Data by Serial Communication

1,704 Views
Fred37b
Contributor I

Hi,

 

I would receive a caracters string in interrupt with my DSP56F807. 

 

I'll arrive to receive one caracter with the function "mySerialComponent_RecvChar()" it works but i cannot use the function "mySerialComponent_RecvBlock()".

 

I can see my system gone in interrupt with the debugger or LED on board but i don't arrive to receive a caracter string.

 

I can send a caracter or a caracter string but for this one I don't use the function "mySerialComponent_SendChar()".

 

I use codewarrior.

Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

709 Views
Fred37b
Contributor I

I was mistaken, I use the function SendChar but for receiving data I want to use the RecvBlock function during an inerrupt.

 

My buffer size is minimum,  I write my receive code in the OnFullRxBuff method,I can see my DSP gone in this method but I don't know how I'm supposed to take the sended data.

0 Kudos
Reply