1 of 1 people found this helpful
Have you looked at /WICED-Smart-SDK/Apps/uart_firmware_upgrade as it provides a functional example for the PUART.
In addition, VikramR_26 will be updating this thread created by userc_8556 today with functional PUART code as well: How can I reassign port pins to GPIO after they have been assigned to puart_tx and puart_rx?
In addition, I think frro_352456 attached a sample program that he create which also uses the PUART.
Yes. I read the API and related topics in this forum. But the codes I posted is quiet simple and haven't find the error which cause the TX can't work.
Would you want to disable power saving mode and try again?
Use this function and return 0 from the callback so chip won't go to power save.
BOOLEAN devlpm_registerForLowPowerQueries(DeviceLpmQueriableMethodCallback callback, UINT32 context)
Thanks all. The root cause to the issue is the voltage. The signal on PIN 32 and PIN 33 from J8/J9 is 1.8V and the external device only can work with 3.3 V. If we fly wire from the 3.3 V ( the pin after the MAX.. IC). The UART can work.