Hello all,
Background: S32 DS 3.4 Software and for the example S32K1xx SDK RTM v4.0.3 Example Projects --> lpuart_echo_s32k116.
I'm working on lpUART with S32K116 EVB, everything is working as expected with the open a terminal emulator(tera term in my case). But my question was how to do the same from arduino uno intead of open terminal? I've tried to connect the pins tx, rx and gnd pins of arduino uno to s32k116 EVB pins PTA 2 and 3 which is said to be arduino compatible pins. but didn't get succeed in getting output as Hello World for the input Hello Board.
As we can see from the above figure, the first graph is the signal sent from arduino to S32k board and the second one is recieved from s32k board. The expected output from second figure was Hello World, but in my case i am getting back the same signal that has been sent.
Am I missing something to include in order to work with arduino uno?
Any suggestions or help would be highly appreciated!
I've also attached necessary source file with this message for our reference.
Thanks & regards,
Santhosh
Solved! Go to Solution.
Hi @santhosh23,
I believe this is because the board is expecting a "\n" when comparing the buffers at the EOL. It seems you are transmitting both CR and LF ("\r\n") in each message. This can be seen configuring Tera Term from CR+LF (which only echoes the characters) to LF (which does return the "Hello World"):
Could you try sending "Hello Board\n" only?
Best regards,
Julián
Hi @santhosh23,
I believe this is because the board is expecting a "\n" when comparing the buffers at the EOL. It seems you are transmitting both CR and LF ("\r\n") in each message. This can be seen configuring Tera Term from CR+LF (which only echoes the characters) to LF (which does return the "Hello World"):
Could you try sending "Hello Board\n" only?
Best regards,
Julián
Hello @Julián_AragónM ,
Thank you so much for your resonse!
It is working as expected with arduino uno as well. and the code I used in adruino IDE as follows: