1 of 1 people found this helpful
You will need a transceiver to change the PSoC UART output to LIN level. Use the address feature of the UART component to access multiple slaves on the same line.
However how do I generate the synch signal on the LIN bus?
And how can it generates the 13bits "sync break"?
By setting the break signal bits to 13 and issuing a SendBreak() API.
I could not find where I can set the break signal bits to 13 and the SendBreak() API.
My microprocessor is PROC4 BLE (CYBL10573) and I am using Creator4.1. In the Creator, the component that I can use for UART is "UART (SCB mode)[v3.20]
Datasheet for your UART has no (0) reference to a LIN interface. This is only valid for CY8C42xx chips which you do not have. There you can use a UART v2.50 which is UDB based.
LIN component is available in PSoC 4 series. The controller that you are using is PRoC BLE which doesn't have LIN component.
Also PRoC BLE don't support LIN functionality.
maybe can somebody help me.
A have attached my project.
I try to read sensor data with Lin.
My controller ist LIN-master.
The problem is, that i get Sync und and ID in my rx buffer, sometimes.
That means, my "Sensor_Data" is not always correct.
I have allready tryed to clean the RX buffer after sending sync and id, but it doesnst help.
I have "cleaned" (deleted all my wrong additional code) the project and attached it for you. Maybe can somebody take a look at this.
Thank you very much.