AnsweredAssumed Answered

How to use Uart1 communication in JN-AN-1229

Question asked by 心有余悸 周 on Jul 30, 2019
Latest reply on Aug 5, 2019 by Sebastián Del Río

I ported the uart.c and uart.h files of JN-AN-1216 to my JN-AN-1229.、Of course, I am using a sleeping end device.

After I initialized

But when I call the interface for reading and writing, the device teacher restarts.


I want to ask, how to use reading and writing, it is safer and more convenient. Can you give me a simple code as a reference? And do you have to interrupt processing when reading or writing? Thank you, I hope I can reply to you as soon as possible!Mario Ignacio Castaneda Lopez