R
Reaction score
5

Latest activity Postings About

    • R
      Just a little update about some issues. First about setting up product id and vendor id It worked best using : in usb_desc.c : #elif defined(USB_VENDOR) #define VENDOR_ID 0x16C0 #define PRODUCT_ID 0x0483 instead of PRODUCT_ID 0x0486...
    • R
      hi zerowind, did you modify the teensyduino framework ? if not, modify the teensyarduino framework, mainly add usb_vendor.c , usb_vendor.h, and modify usb.c, usb_desc.c and usb_desc.h make a full backup of the files modified or backup of the full...
    • R
      rodv92 replied to the thread PTP (IEEE 1588) Library.
      The issue is resolved. I forgot to clear the timer TF flag of the corresponding channel, 1 in my case in the ISR. Also, I did not follow the full procedure. The updated working properly full sketch is attached Here is the relevant procedure in...
      • page_2249.png
    • R
      rodv92 replied to the thread PTP (IEEE 1588) Library.
      Well the i.MXRT1060 rev 3 reference manual states that this is a 1ns resolution timer, wrapping at 10e9. I suppose it uses some PLL to increase its clocking to 1Ghz. Extract from the reference manual, page 2115 and later. As for my issue, the...
      • TSM.png
      • TCCR.png
    • R
      rodv92 replied to the thread PTP (IEEE 1588) Library.
      I am starting work using the QNEEthernet library and I am trying to run an ISR whenever the IEEE1588 timer reaches a value. (mode kClearOnCompare) This timer is very advantageous as it can be adjusted finely. I Checked that the timer runs in the...
    • R
      It's more or less done. The new functions getBytes, GetBytesUntil, GetString, GetStringUntil are defined in Stream,cpp and get() inside HardwareSerial.cpp Note that the terminator is part of the return string / buffer, to discard it modify in...
    • R
      In my opinion, lwrb looks really decent, but integrating a feature rich library at the teensyduino core level just for serial operations seems a bit too far fetched, maybe that could make sense if other parts of the teensyduino core would benefit...
    • R
      Yes, I confirm the code is MIT license for all the files and code excerpts.
    • R
      Hi Paul, yes, I used the following methodology for benchmarking : The sender is an Arduino Due using HardwareSerial at 9600 bps, sleep 1s, send a burst of 256 bytes (the circular buffer size has been tweaked to 2048 instead of 64) and repeat The...
    • R
      I was experimenting with the Teensy4 implementation of the HardwareSerial read ring buffer. So I noticed that there was a primary buffer that is always used, and an additional buffer, which size is set using addMemoryForRead. As for the rest of...
  • Loading…
  • Loading…
Back
Top