We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
可以增加新的API来实现LIN转UART-TX和LIN转UART-RX的功能。例如,通过一个LIN通道发送UART格式的数据,另一个LIN通道接收UART格式的数据。该功能可以在没有LIN收发器的ECU上,仅通过2根12V-IO信号线(Input和Output)实现UART格式的数据通信。以下API只是大概的示例。我们已经通过(USB转UART+2个LIN转接板的组合)方式实现了ECU的UART格式私有调试接口功能。如果可以通过TC1016的两个LIN接口实现类似功能,将能够省去DIY硬件步骤(USB转UART+2个LIN转接板)。 ALINRaw = TLIBLINRaw( FIdxChn=0, FDLC=16, FData=[1,2,3,4,5,6,7,8..15] ) tsapp_transmit_linraw_async(HwHandle1, ALINRaw); tsfifo_receive_linraw_msgs(HwHandle2,TLINRawBuffer,BufferSize,chnidx,READ_TXRX_DEF. ONLY_RX_RAWDATA);
The text was updated successfully, but these errors were encountered:
这个功能具有很强的普适性吗?建议用TOSUN的一款硬件:UARTOnLIN,就是USB转串口设备,但是物理层走的是LIN收发器。电脑端就直接是一个串口。
Sorry, something went wrong.
No branches or pull requests
可以增加新的API来实现LIN转UART-TX和LIN转UART-RX的功能。例如,通过一个LIN通道发送UART格式的数据,另一个LIN通道接收UART格式的数据。该功能可以在没有LIN收发器的ECU上,仅通过2根12V-IO信号线(Input和Output)实现UART格式的数据通信。以下API只是大概的示例。我们已经通过(USB转UART+2个LIN转接板的组合)方式实现了ECU的UART格式私有调试接口功能。如果可以通过TC1016的两个LIN接口实现类似功能,将能够省去DIY硬件步骤(USB转UART+2个LIN转接板)。
ALINRaw = TLIBLINRaw(
FIdxChn=0,
FDLC=16,
FData=[1,2,3,4,5,6,7,8..15]
)
tsapp_transmit_linraw_async(HwHandle1, ALINRaw);
tsfifo_receive_linraw_msgs(HwHandle2,TLINRawBuffer,BufferSize,chnidx,READ_TXRX_DEF. ONLY_RX_RAWDATA);
The text was updated successfully, but these errors were encountered: