Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: XFer

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Thread: Designing a pcb ?

    by XFer
    Replies
    11
    Views
    700

    Me too, DipTrace.

    Me too, DipTrace.
  2. Replies
    4,310
    Views
    458,206

    Hi, still catching up with backlog from...

    Hi,

    still catching up with backlog from vacations... anyway, I'm starting to play with my beautiful T4beta3.

    Installed Arduino 1.8.9 and TD 1.47beta4.

    I have a small bug to report: when...
  3. Replies
    4,310
    Views
    458,206

    Just returned from a trip to found the T4 Beta-3...

    Just returned from a trip to found the T4 Beta-3 (?) board waiting for me!
    It's a work of art! :D
    Have to catch up with delayed work, but can't wait to play with the little beast!!!
    Thanks Paul!
  4. Replies
    6
    Views
    345

    Are you saying you are, at the same time,...

    Are you saying you are, at the same time, powering the Teensy from Vin *and* connecting the microUSB to a PC?
    If you did not cut the tiny Vusb-Vin jumper on the back face of the board, you really...
  5. Replies
    13
    Views
    1,155

    Gorgeous!!! :cool:

    Gorgeous!!! :cool:
  6. Replies
    6
    Views
    345

    Can we see your code? Often, somewhere in the...

    Can we see your code?

    Often, somewhere in the setup() there's something like


    while (!Serial)

    which of course stalls the program when there's no serial monitor connected to microUSB.
  7. Replies
    8
    Views
    968

    Nice work, congratulations and thanks for the...

    Nice work, congratulations and thanks for the update!
    I'm trying the HC-12 myself, because I need the best range/powerdrain ratio, but I considered the nRF24 as well.
  8. Replies
    14
    Views
    562

    So you don't have physical access to it? Sounds...

    So you don't have physical access to it?
    Sounds like a soldering defect. Sometimes this can be assessed by keeping the board pushed down with the thumb: if it works better (boots more often), there...
  9. Replies
    4,310
    Views
    458,206

    SerialEvent() does not work for me with any...

    SerialEvent() does not work for me with any Teensy 3.x and TD 1.46.
    Could it be related to this issue?
    And if not, do you think it would make sense for me to try your source tree?
  10. Yes, it's a mask to extract only the less...

    Yes, it's a mask to extract only the less significative byte from the 32-bit PORTD.



    You can still go the ASM route, but honestly, it's quite a task!



    To have Visual Studio + VisualMicro...
  11. Yes. Consider the K64/66 does not actually have...

    Yes. Consider the K64/66 does not actually have 32 PortD pins, only 16 (PTD0-PRD15); and only 8 of them (PTD0-PTD7) are accessible from the Teensy header pins (others are connected to pads on the...
  12. Here: https://www.arduino.cc/reference/en/ ...

    Here:
    https://www.arduino.cc/reference/en/

    Small code snippet to show fast read of 8 bits, with Teensy3.5/3.6 PortD pins: I was reading D0-D7 from a video camera



    // This way, data pins are...
  13. Most probably, TFTREAD = MISO, TFTWRITE = MOSI....

    Most probably, TFTREAD = MISO, TFTWRITE = MOSI.
    MISO, MOSI and SCLK are necessary for the TFT to work. They are not exclusive of the SD card. The SPI interface is a bus: you connect the same SCK,...
  14. Some audio amps like 4.5V better than 3.3V,...

    Some audio amps like 4.5V better than 3.3V, depending on the model.
    If that's the case, I would split 2 lines from the AA pack: one goes straight to the power amp, the other enters Teensy Vin. From...
  15. Since "been there, done that", let me issue a...

    Since "been there, done that", let me issue a word of warning: the world of digital oscilloscopes evolved at quite a speed.
    A cheap second-hand DSO from only a few years ago could potentially be...
  16. Foreword: a modern digital oscilloscope usually...

    Foreword: a modern digital oscilloscope usually has basic logic analyzer functions too.



    A scope is way more appropriate for this



    A logic analyzer would suffice, to a point
  17. The SQ50 seems fine. Of course a logic analyzer...

    The SQ50 seems fine. Of course a logic analyzer is useless without a good companion software. Theirs is open source which is a plus, but I would still try it in demo mode (all l.a. softwares I know...
  18. Let's start with this part of your question,...

    Let's start with this part of your question, since it's the easiest (for me at least) :)
    Here you may find the peripherals at your disposal:
    https://www.pjrc.com/teensy/techspecs.html

    And here...
  19. Thread: Teensy LC pull-up

    by XFer
    Replies
    7
    Views
    1,585

    Don't want to sound picky, but it's...

    Don't want to sound picky, but it's Serial1.begin() for the hardware serial (D0/D1). Serial.begin() is for USB-serial.
  20. Replies
    4,310
    Views
    458,206

    Wow, I totally missed that I was on the Beta...

    Wow, I totally missed that I was on the Beta list!!!! Missed that message entirely (and I am following the thread quite closely)!!
    First thing: thanks a lot, it's an honor! I really mean it.
    ...
  21. That should have come to my mind. :(

    That should have come to my mind. :(
  22. That's strange indeed. Just to better isolate...

    That's strange indeed.
    Just to better isolate the problem, what about simplifying your Teensy code, like



    #define HWSERIAL Serial1

    void setup()
    {
    Serial.begin(9600);
  23. Replies
    3
    Views
    251

    You may just add your own regulator of choice...

    You may just add your own regulator of choice (like a MP1584, just to name one), and use it to power both the Teensy via Vin (cutting VUSB pad) and the LEDs.
    In other words, don't feed the LEDs from...
  24. Just so we understand clearly... are you...

    Just so we understand clearly... are you following exactly these steps?

    1. With the DS3231 connected to the Teensy, you upload and run the first sketch to set the clock, once
    2. You (power off...
  25. Thanks for the update! Glad you got it working...

    Thanks for the update!
    Glad you got it working in the end.
  26. Replies
    6
    Views
    365

    You could simply purchase the companion chip...

    You could simply purchase the companion chip (MKL02/04) from PJRC, preloaded with their special firmware.
    This way, you can design your own Teensy-compatibile board without issues.
  27. Are you sure about that "&gamma16[...]" instead...

    Are you sure about that "&gamma16[...]" instead of "gamma16[...]" ?
  28. Thread: Emmc

    by XFer
    Replies
    15
    Views
    694

    That would be great, Kurt. The new mass storage...

    That would be great, Kurt.
    The new mass storage driver (and a proper USB device) may solve all the age-old problems about low-latency logging; we could forget uSD-related occasional long delays!
  29. Thread: Emmc

    by XFer
    Replies
    15
    Views
    694

    From what I gather, you may have better luck with...

    From what I gather, you may have better luck with USB Host Mass Storage library https://forum.pjrc.com/threads/55821-USBHost_t36-USB-Mass-Storage-Driver-Experiments
    and a USB to eMMC adapter....
  30. I use a few 128x64 OLEDs with SSD1306 driver....

    I use a few 128x64 OLEDs with SSD1306 driver. Work great and draw just 10-15 milliamps. Great for battery-powered projects.
  31. Replies
    36
    Views
    6,295

    Thanks for the update; let us know when you get...

    Thanks for the update; let us know when you get to play with the Teensy3.6 :)
  32. Replies
    36
    Views
    6,295

    And it probably is better: that test was done in...

    And it probably is better: that test was done in a double-level for() loop, which slow things down. Moreover, there was an AND operator in the deepest loop.
    In your case (my sample polling code) I...
  33. Replies
    5
    Views
    274

    I second KurtE suggestion. Typical case is a loop...

    I second KurtE suggestion. Typical case is a loop waiting for Serial Monitor to show up.
  34. Replies
    36
    Views
    6,295

    I was suggesting something along the lines of......

    I was suggesting something along the lines of...


    #include <stdint.h>

    #define PHOTON_TTL_PIN [...]

    volatile uint32_t countsBuffer[8]; // 64 byte: just the size of a USB packet
    volatile...
  35. Replies
    36
    Views
    6,295

    As jofro explained, photons may arrive with a...

    As jofro explained, photons may arrive with a 45ns minimum period: shorter than the latency time of a ISR with maximum priority on an overclocked T3.6.
    The ISR can't cope: while you are inside the...
  36. Replies
    36
    Views
    6,295

    Mmmm... alternative approach: polling on "TTL"....

    Mmmm... alternative approach: polling on "TTL". Since you don't have much work to do, polling in a tight loop could be feasible.
    You would wait for a low->high pattern and then pushing the internal...
  37. Replies
    36
    Views
    6,295

    Much clearer, now. :) That's the internal...

    Much clearer, now. :)



    That's the internal clock period of the CPU, and so its the max frequency of the internal counter (your "clock ticks").
    But, a potential period as short as 45 ns for the...
  38. Replies
    4
    Views
    298

    We recently discussed about heat levels here (not...

    We recently discussed about heat levels here (not only about 3.6, also 3.2):
    https://forum.pjrc.com/threads/56219-Heat-generated-by-an-Teensy-3-6

    Bottom line: "warm" and "hot" are too generic...
  39. Replies
    57
    Views
    1,751

    According to the NXP datasheet for the K66, at...

    According to the NXP datasheet for the K66, at p.7:
    https://www.nxp.com/docs/en/data-sheet/K66P144M180SF5V2.pdf

    it should, because HIGH is at 0.7xVdd and Vdd is 3.3V (so Vhigh = 2.3V). That said,...
  40. Replies
    36
    Views
    6,295

    The 30 MHz figure is only for counting pulses of...

    The 30 MHz figure is only for counting pulses of your "SOURCE"-labelled signal, which would only increment a counter.
    The 2 MHz figure is for interrupt-triggering by your "Sample Clock"-labelled...
  41. Replies
    36
    Views
    6,295

    You may use the method previously described by...

    You may use the method previously described by Paul Stoffregen to count SOURCE pulse up to 30 MHz (on Teensy 3.6), and enable INT on rising edge of Sample Clock to actually fill the buffer with the...
  42. Replies
    16
    Views
    677

    For sure, it's not a Teensy problem. It happily...

    For sure, it's not a Teensy problem. It happily runs its UART at 2 megabauds (tried it myself).
  43. Replies
    6
    Views
    518

    A Teensy is not only a microcontroller. It's a...

    A Teensy is not only a microcontroller.
    It's a carefully engineered development board which contains a Kinetis K66 microcontroller plus a bootloader chip (MLK02) which runs a special, custom...
  44. Replies
    24
    Views
    872

    Urgh! 41 at 120 MHz and 35.6 at 180? Now that's...

    Urgh! 41 at 120 MHz and 35.6 at 180? Now that's strange...!
  45. Replies
    24
    Views
    872

    I compiled it without issues, but I did not...

    I compiled it without issues, but I did not upgrade to 1.8.9/1.46; still running Arduino IDE 1.8.8 + Teensyduino 1.45
  46. Replies
    24
    Views
    872

    I don't have a spare 3.6 at the moment. My...

    I don't have a spare 3.6 at the moment.
    My results with Teensy 3.2:

    Room temperature: 21 C (70 F)
    Teensy connected via USB. Serial monitor active
    Temps after 10 minutes of running...
  47. Replies
    24
    Views
    872

    By the way, the library documentation shows that...

    By the way, the library documentation shows that the measured internal temperature of the 3.6 running at 180 MHz is 35 C.
    So at the touch should be cool (external package temp should be a few...
  48. Replies
    24
    Views
    872

    At this point, I think a proper temperature...

    At this point, I think a proper temperature measurement with the indicated library is needed, so we can compare our readings in the same conditions.
  49. Honestly, I don't know: never used one. I reckon...

    Honestly, I don't know: never used one. I reckon you intend to put it between the Teensy USB Host port and the voltage sensor. Seems a nice idea to try, at least, if all else fails...
  50. From your schematics, it seems you have no...

    From your schematics, it seems you have no current limiting resistor towards the MOSFET.
    When the gate of the P-MF charges, it can eat quite some current (albeit for a small time).
    Teensy LC can...
Results 1 to 50 of 193
Page 1 of 4 1 2 3 4