Hi,
I have problems with lpuart poll/interrupt examples on devkit OM27642EVK. PN7642 SDK 2.12.5.
There is a wait inside LPUART_Init() which makes the mcu reset over and over:
PN76_Common_Wait(50);
I tried removing this wait and added a for loop instead. Then, there is no reset but I only see some junk on putty when it tries to write the app starting msg. And if I type in putty to get an echo, LPUART_PollReceive fails.
I have set the jumpers/switches according to the readme and I use ftdi cable and putty to send/receive uart packets. Is there any common/obvious mistake in my setup?
Why should PN76_Common_Wait() fail? Can I just replace it?
I know this problem is fixed; it is happened on the PN7642 previous versions , the possible solution is to update the software of the PN7642 , the latest version can be found at the installation folder of cockpit. Or you can run demo pnev7642fama_check_nxpfw_update to update firmware to the latest version.
If you can not update the binary in mass storage mode, please refer to below thread.
Solved: PN7642 Mass Storage Device Activation - NXP Community
In case other customers are having the same issue, I hope this can help.