Search results

  1. C

    Custom Teensy PCB Questions

    I would have been surprised if you did. I wouldn’t want any part of that either if I were you. Thanks again for all you do for the community!
  2. C

    Custom Teensy PCB Questions

    There has been lots of views but no replies, and I made some progress so I figured I would answer some of this in case somebody else ends up here looking. Searching for info on custom Teensy boards is tough since there is not many people doing it or asking about it. I went ahead and ordered my...
  3. C

    Custom Teensy PCB Questions

    I have searched the forums and read various related threads but have not quite found the information I am looking for, but I apologize if these questions have been answered elsewhere already. This is based on the assumption I am using my own custom PCB design, and using the MKL02 bootloader...
  4. C

    HardwareSerial: Send a specific “break” or “end of frame”

    OK.. This is all my fault. I REALLY appreciate your input sicco as you got me thinking a bit deeper. The more I look at the math.. it is technically just not going to happen. 2900000 baud is about 362,500 bytes per second, or 362.5 per millisecond. That should be about 16.56ms to send 5k. I have...
  5. C

    HardwareSerial: Send a specific “break” or “end of frame”

    Confirmed all the delay is entirely while calling end. It’s definitely waiting for the buffer. I wish there was a Teensy implementation of arduino Serial.write(buf, len); rather than looping through 6k one at a time, though I’m not sure that would save much time or not.
  6. C

    HardwareSerial: Send a specific “break” or “end of frame”

    I would not think that end and begin would, but I have console output showing the timing every 500 bytes, then before calling end, then after calling begin, which is how I know where the delay is. I will add output between each step in between and see if I can narrow it down further. If it shows...
  7. C

    HardwareSerial: Send a specific “break” or “end of frame”

    I apologize, thought I had added that, but it is standard non inverted 8N1 for all but stop bit. Any attempt I have done to change baud rate, parity, etc are seemingly adding the same amount of time (13-20ms) unless I’m just seeing the time it takes to empty the buffer.. but it seems like 6k at...
  8. C

    HardwareSerial: Send a specific “break” or “end of frame”

    I have a device that is serial and requires a baud rate of 2900000 and an end of frame break of 10 low bits (0 start bit, 8 bits of 0, 0 end bit) and ~6000 bytes in a frame. HardwareSerial controls the start and stop bits, is there a simple way to force a low start and stop bit that I’m...
Back
Top