AnsweredAssumed Answered

Configuring MKL25 LPSCI with fsl_lpsci Processor Expert bean

Question asked by Marco Aurelio P. Coelho on Jul 30, 2015
Latest reply on Aug 11, 2015 by Kan_Li

Hello,

 

I'm developing a project with MKL25Z128 and I'm making some tests with LPSCI, using "fsl_lpsci" Processor Expert bean, but I have run into some problems:

 

I created a simple routine: I receive a character typed on a Windows Terminal like Tera Term, for example, and send back (echo) to the Terminal.

 

When the rx_buffer full Callback function is enabled, as well as the ISR Handler, I don't receive any data typed from Terminal. I put a breakpoint inside ISR_Handler after SCI Receiver Buffer Full flag checking line, but it doesn't stop there. When Rx_Callback function and ISR Handler are disabled, it works perfectly.

 

I don't know if I did something wrong. I have spent many hours of attempts strugling on that.

 

I hope someone has faced the problem as mine and can help me with that.

 

I attach my simple code for better visualization.

 

 

Thanks and best regards,

 

Marco Coelho

Original Attachment has been moved to: teste_uart_kl25.zip

Outcomes