Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • skpang's Avatar
    12-27-2018, 11:48 AM
    I think it is working now. After the Serial1.begin(9600) I sent out the break then reconfigure using serial_set_transmit_pin(tx_pin) but I have to add serial_set_tx(tx_pin,1). int led = 13; int lin_cs = 23; int...
    7 replies | 146 view(s)
  • skpang's Avatar
    12-27-2018, 11:16 AM
    I can't set the Serial1.begin(9600) in advance because I need to set the tx pin low to sent out the break. Unless I manually set the tx pin low via registers but I don't really want to mess about with registers. Just...
    7 replies | 146 view(s)
  • skpang's Avatar
    12-27-2018, 09:31 AM
    I don't want any delay before the synch byte (0x55). I might try and set it serial mode first. Change the pin, output the break then switch it back like you said but this might not make it portable across T3.2 and T3.6...
    7 replies | 146 view(s)
  • skpang's Avatar
    12-22-2018, 10:58 AM
    I'm trying to write a LIN-bus driver for Teensy 3.2 A LIN-bus frame consist of break, synch(0x55), Ident, data. I'm trying to do this in software and found when I configure the uart there seems to be a delay of 1mS...
    7 replies | 146 view(s)
No More Results
About skpang

Basic Information

About skpang
Biography:
www.skpang.co.uk
Location:
UK

Statistics


Total Posts
Total Posts
28
Posts Per Day
0.02
Last Post
Generating serial line break for LIN-bus 12-27-2018 11:48 AM
General Information
Last Activity
Today 09:15 AM
Join Date
01-12-2015