...
For LIN, we would probably use an STM32F030 STM32F031 (Cortex-M0) or STM32L011 STM32L031 (Cortex-M0+) and LIN transceiver. Since LIN is a 1-wire interface, we only need 3 wires. However, we may want to add 2 wires to enable auto-addressing. We could use much cheaper ADCs since we don't have the addressing requirement. We could even use an analog optoisolator with the MCU's built-in ADC, although it may be very close price-wise for a digital isolator + ADC. That needs to be investigated more. We could probably get a ~$3 digital isolator and a ~$2 8~10-bit ADC.
Component | Price | STM32F030F4P6|
---|---|---|
STM32F031F6P6 | $1$2. | 9660 |
STM32L031F6P6 | $2$2. | 1495 |
LIN Transceiver | $1.10 | |
Optoisolator (use the MCU's built-in ADC) | $5.36 | |
Estimated total cost (+ LDO, resistor, caps) | $10~15 |
...