interrupts of Serial_LDD no work

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

interrupts of Serial_LDD no work

3,101 次查看
ricardcomas
Contributor III

Hi everyone, i just tried a reception of a char by interrupt rutine (UART_OnBlockReceived), but it'n work, nthis is my code:

/*On events.c*/

void UART_OnBlockReceived(LDD_TUserData *UserDataPtr) { 

/* Write your code here ... */

UART_ReceiveBlock(SharedInst1_DeviceData,&input_temp,1);

LEDS_PutBit(0,0); //TURN ON LED, NO WORK

}

i attatch a screenshoots

Why interrupts no work?

thanks

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

2,996 次查看
ricardcomas
Contributor III

hi, thank you very much, i've solved it, i didn't know "Help component" item.

Thanks again!

0 项奖励
回复

2,996 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Ricard Comas,

Please refer the Typical Usage of Serial_LDD.
I have test it on FRDM-KE06Z board, the LED is able to toggle when 'e' is received.

UART_ReceiveBlock.png

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复