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

Search:

Type: Posts; User: manitou

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    44

    does the simple blink sketch work on USB and also...

    does the simple blink sketch work on USB and also on just external Vin?
    make sure your test sketch does not have while(!Serial); -- that will stall the sketch if not hooked to USB

    as the rule at...
  2. Replies
    2
    Views
    57

    Careful if you are using HC-SR04. I think it...

    Careful if you are using HC-SR04. I think it requires 5v and Teensy 3.6 is NOT 5v tolerant.

    pulseIn() measurements can be affected by interrupt activity. NewPing lib uses interval timer.
    ...
  3. I corrected post #8

    I corrected post #8
  4. I reproduced your problem with this simple...

    I reproduced your problem with this simple sketch using Arduino 1.8.11 and TD 1.51-beta1

    //
    // Teensy 3.x/LC simple internal temperature
    //

    #include <InternalTemperature.h>
    ...
  5. Ah, then your challenge becomes developing a...

    Ah, then your challenge becomes developing a small program that exhibits the problem. In this case, it seems a small program that uses InternalTemperature and reads an analog pin with 2.4v on it. ...
  6. The default setting (begin()) for...

    The default setting (begin()) for InternalTemperature lib will do analogReference(INTERNAL); (1.2v)

    As Frank notes, without seeing your sketch, we can only guess.
  7. Replies
    7
    Views
    265

    are you going to add MQS output to GUI?

    are you going to add MQS output to GUI?
  8. not 32-bit SDTEST3.WAV: RIFF (little-endian)...

    not 32-bit
    SDTEST3.WAV: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz
  9. you didn't make BUILTI_SDCARD one of your...

    you didn't make BUILTI_SDCARD one of your selections? and BUILTIN_SDCARD is 254 which is a negative number for 8 bit int. here's my version of your sketch

    #include <SPI.h>
    #include <SD.h>
    ...
  10. No. look at pin info card:...

    No. look at pin info card: https://www.pjrc.com/teensy/pinout.html If there are gray pin numbers associated with pin, then it can can do "digital things" like pullups/pulldowns. A10, A11 A21, A22...
  11. Replies
    2
    Views
    114

    search the forum for MQS it's not part of the...

    search the forum for MQS

    it's not part of the audio GUI yet, here's a simple sketch that I used in beta testing

    // teensy4 mqs frank's audiolib pins 10/12 rt/left 8 ohm speaker with 100uF...
  12. you might do a ps uax | grep tee and look for...

    you might do a ps uax | grep tee and look for orphaned teensy tasks that might need to be killed, in particular teensy_ports -J2
  13. i'm having trouble understanding your IDE output...

    i'm having trouble understanding your IDE output :confused:
    /home/ryan/ryan_stuff/projects/microprocessing/arduino-1.8.12/hardware/teensy/../tools/teensy_post_compile -file=test_serial.ino...
  14. i'm not sure if it's necessary or the right...

    i'm not sure if it's necessary or the right incantation, but have you tried sudo systemctl restart udev.service that restarts the udev service so it sees any changes to rules.d/
  15. Replies
    320
    Views
    8,262

    ah, that makes sense. I don't have GigE on my...

    ah, that makes sense. I don't have GigE on my home setup.
  16. Replies
    320
    Views
    8,262

    I'm trying to make sense of these "unbelievably"...

    I'm trying to make sense of these "unbelievably" fast UDP data rates. The amazon USB Ethernet dongle is only good for 10/100 mbs Ethernet? So what does 760 mbs mean? Even the USB is only 480 mbs? ...
  17. So did you get calibration implemented in the...

    So did you get calibration implemented in the sketch/firmware? can you post your working calibration sketch?
  18. Replies
    2
    Views
    136

    see...

    see https://forum.pjrc.com/threads/59813-Teensy-4-0-Internal-Temperature-measurement
    and you can look in the core source files to see how tempmonGetTemp() does it
  19. Replies
    5
    Views
    242

    you can see the output after the preprocessor...

    you can see the output after the preprocessor stage with gcc -E file.c
    i think the compiler will do 500/5 at compile time
  20. Replies
    320
    Views
    8,262

    I just tried it on T3.6 and T4.0, works for me. ...

    I just tried it on T3.6 and T4.0, works for me. Sketch prints the usual startup stuff for DHCP etc, then

    ...
    ntp 3791047716 887142411 utc 20:48:36 RTT 896 us
    ntp 3791047717 891406643 utc...
  21. Replies
    320
    Views
    8,262

    see attached tmp.zip. I had tried different...

    see attached tmp.zip. I had tried different things with this sketch (like not using threads), but i think this is a working version. you'll need to provide an IP for an NTP server
  22. Replies
    320
    Views
    8,262

    if you look in...

    if you look in sketchbook/libraries/FNET/src/service, you'll see a collection of client/server folders:

    autoip/ dns/ fnet_service.h* link/ serial/ tftp/
    azure/ flash/ ...
  23. Teensy schematics at...

    Teensy schematics at https://www.pjrc.com/teensy/schematic.html
  24. As defragster noted in post #7, there might be...

    As defragster noted in post #7, there might be native Ethernet with follow-on Teensy 4 (requires 12 pins from the 1062). If you compare the NXP ethernet chapters in the Teensy 3.6 and Teensy 4...
  25. Replies
    2
    Views
    103

    Why not use FreqMeasure lib? here are some tips...

    Why not use FreqMeasure lib? here are some tips and a DMA capture example
    https://forum.pjrc.com/threads/53142-Howto-use-timer-capture-mode-Teensy-3-5
  26. you might add some lines to setup() to reset the...

    you might add some lines to setup() to reset the wiz820io, see end of https://www.pjrc.com/store/wiz820_sd_adaptor.html
  27. Replies
    320
    Views
    8,262

    It still works for me. Amazon USB ether dongle...

    It still works for me. Amazon USB ether dongle hooked to T4B2 USB host port. Ethernet hooked to switch -> router/switch
    dongle's yellow and green LED are ON. Built/ran example ASIXEthernet_Test...
  28. Replies
    11
    Views
    217

    UDP can be effective on a local ethernet. On the...

    UDP can be effective on a local ethernet. On the Internet, blasting UDP packets is "socially unacceptable" -- your LC/host may be considered mounting a denial-of-service attack! Also UDP is...
  29. Replies
    8
    Views
    260

    you might use FTM timer capture with DMA, see...

    you might use FTM timer capture with DMA, see https://forum.pjrc.com/threads/37148-Measuring-pulse-width-interrupts?p=124805&viewfull=1#post124805

    also look at...
  30. Just for the record, with the NXP SDK on 1062, I...

    Just for the record, with the NXP SDK on 1062, I noticed that IOMUXC_GPR->GPR16 is 0x200003, though I see nothing in the SDK C sources where that "2" is set ?? How did you discover the magic bit? ...
  31. Replies
    7
    Views
    179

    again, referring to...

    again, referring to https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=197435&viewfull=1#post197435
    paul speculates there may be bus buffers associated with flexspi FLASH
  32. Replies
    11
    Views
    217

    you might want to use wireshark to watch TCP...

    you might want to use wireshark to watch TCP traffic from your W5500 for different W5500 socket buffer size, and read about TCP delay-bandwidth product.

    throughput = TCP buffersize/RTT

    so for...
  33. FWIW, there were discussions on T4 cache behavior...

    FWIW, there were discussions on T4 cache behavior in giant Teensy 4 beta thread, e.g.
    https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=197430&viewfull=1#post197430
  34. Replies
    85
    Views
    7,610

    Please don't post any photos of your...

    Please don't post any photos of your micropythong! ;)

    My fingers also like to add the "g"
  35. Replies
    2
    Views
    125

    are the header pins soldered to your T3.5?

    are the header pins soldered to your T3.5?
  36. Replies
    85
    Views
    7,610

    i'm pretty sure FPU is configured (by SDK...

    i'm pretty sure FPU is configured (by SDK SystemInit()) and compiler switches are correct, and that double and float are working for your Teensy 4 branch. Many of my .py tests were float intensive...
  37. Replies
    2
    Views
    118

    tone just uses intervaltimer with microsecond...

    tone just uses intervaltimer with microsecond period, and you could make your own variation from Teensy's Tone.cpp, see
    hardware/teensy/avr/cores/teensy3/Tone.cpp
  38. Replies
    85
    Views
    7,610

    Hack alert: OK, I've updated post #14...

    Hack alert:

    OK, I've updated post #14 again. I added SCB_EnableDCache() to cpu.voltage, and then invoke cpu.voltage at the start of each of my .py tests, so I should have DCache enabled, and...
  39. Replies
    85
    Views
    7,610

    @tannewt I cloned your latest teensy4-dev branch...

    @tannewt I cloned your latest teensy4-dev branch and was able to run all of my benchmark circuitypython scripts. I updated results in post #14. As I understand it, DCache is disabled? So things...
  40. Replies
    22
    Views
    478

    i think the best you can do with...

    i think the best you can do with attachInterrupt() on T4 is 3.4mhz, see
    https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=206846&viewfull=1#post206846
  41. Replies
    85
    Views
    7,610

    yeah, the high/low is left to the reader. most...

    yeah, the high/low is left to the reader. most of early columns are time (us or s) but there are pystones and counter values where bigger is better.

    to post #14 i've added a "T4 C" line for a...
  42. Replies
    85
    Views
    7,610

    @tannewt your latest hex file in post #53 only...

    @tannewt your latest hex file in post #53 only shows a build date of 20200119, i was hoping for something newer. That .hex file fails on T4 as before (post #45) when porting my longer .py scripts...
  43. from...

    from https://forum.pjrc.com/threads/57810-Soft-reboot-on-Teensy4-0?p=217538&viewfull=1#post217538
    I think reset worked for T4B1 (1050) and it worked on NXP SDK for both 1050 and 1060 eval boards.
  44. Replies
    85
    Views
    7,610

    Re: T4 microsecond timer since...

    Re: T4 microsecond timer

    since microcontroller.cpu.voltage wasn't doing anything useful, I hacked common-hal/microcontroller/Processor.c to make voltage use GPT2 to return seconds to micro-second...
  45. Replies
    85
    Views
    7,610

    I tried your latest .hex. REPL prints a bunch...

    I tried your latest .hex. REPL prints a bunch of eeeeeeee's when it starts up. Also confirm REPL consumes the first character typed ? Strange behavior on a couple of py scripts that work fine...
  46. Replies
    25
    Views
    458

    arm DSB info...

    arm DSB info http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0489c/CIHGHHIE.html
    and lots of discussion in huge T4 beta thread:...
  47. Replies
    25
    Views
    458

    As Frank noted, try adding asm("dsb"); to the end...

    As Frank noted, try adding asm("dsb"); to the end of your isr.

    i'm assuming you're not using 5v with your74LVC (T4 is NOT 5v tolerant)
  48. see...

    see https://www.pjrc.com/teensy/td_libs_Servo.html
    that says servo() uses timer3
    Tone also uses timer 3, see Tone.cpp
  49. Replies
    13
    Views
    303

    this data sheet...

    this data sheet says SD0 needs to go to GND for default I2C address. I have a working BMP280 but it's part of a MPU9250 IMU PCB fronted by a sensor hub.
  50. Replies
    13
    Views
    303

    https://components101.com/sensors/gy-bmp280-module...

    https://components101.com/sensors/gy-bmp280-module says you need CSB to 3v3 for I2C

    you could also try SPI mode.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4