Receive Data by Serial Communication

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Receive Data by Serial Communication

1,709 次查看
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.

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

714 次查看
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 项奖励
回复