hi all:
when I use lpuart Single-wire operation mode. Unable to send data.
CTRL[LOOPS] = 1, CTRL[RSRC] = 1. enable TX and RX. setBaudRate 9600
CTRL[TXDIR] = 1;
LPUART_WriteBlocking(LPUART4, 0xF0,1 )
But no data measured using an oscilloscope.
TX pin external pull-up resistor(4.7K)
How to send data correctly?Please indicate any areas that need attention.
Regards
Hi @496387703,
Please make sure you are adequately following the description seen in Section "71.3.6.4 Single-wire operation" of the Reference Manual. You can also base your code from the following post: https://community.nxp.com/t5/Kinetis-Microcontrollers/Issue-with-LPUART-single-wire-mode-on-KL17/m-p...
BR,
Edwin.