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
    2
    Views
    60

    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
  2. Replies
    5
    Views
    148

    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
  3. Replies
    315
    Views
    6,911

    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...
  4. Replies
    315
    Views
    6,911

    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
  5. Replies
    315
    Views
    6,911

    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/ ...
  6. Teensy schematics at...

    Teensy schematics at https://www.pjrc.com/teensy/schematic.html
  7. 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...
  8. Replies
    2
    Views
    69

    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
  9. 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
  10. Replies
    315
    Views
    6,911

    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...
  11. Replies
    11
    Views
    142

    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...
  12. Replies
    8
    Views
    149

    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...
  13. 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? ...
  14. Replies
    7
    Views
    133

    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
  15. Replies
    11
    Views
    142

    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...
  16. 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
  17. Replies
    78
    Views
    6,192

    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"
  18. are the header pins soldered to your T3.5?

    are the header pins soldered to your T3.5?
  19. Replies
    78
    Views
    6,192

    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...
  20. Replies
    2
    Views
    90

    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
  21. Replies
    78
    Views
    6,192

    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...
  22. Replies
    78
    Views
    6,192

    @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...
  23. Replies
    22
    Views
    355

    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
  24. Replies
    78
    Views
    6,192

    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...
  25. Replies
    78
    Views
    6,192

    @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...
  26. 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.
  27. Replies
    78
    Views
    6,192

    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...
  28. Replies
    78
    Views
    6,192

    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...
  29. Replies
    25
    Views
    327

    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:...
  30. Replies
    25
    Views
    327

    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)
  31. see...

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

    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.
  33. Replies
    13
    Views
    211

    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.
  34. Replies
    13
    Views
    211

    do you have a link to the actual PCB you're...

    do you have a link to the actual PCB you're using, e.g. https://www.adafruit.com/product/2651 (includes pullups).
    maybe attach a photo of your setup. also try I2C scanner example in Wire lib
    Check...
  35. Replies
    78
    Views
    6,192

    likely TEMPMON fix described in github issue...

    likely TEMPMON fix described in github issue

    FYI, circuitpython T4 register settings:

    SystemCoreClock 600000000 14:17:35 Jan 16 2020 ok

    AhbClk 600000000 kCLOCK_RtcClk 32768 ...
  36. Replies
    78
    Views
    6,192

    ok, i started over from cloning your teensy4...

    ok, i started over from cloning your teensy4 branch ... and the make worked.
    thanks
  37. Replies
    78
    Views
    6,192

    so i should restart by cloning your branch again,...

    so i should restart by cloning your branch again, and then doing all the submodule stuff?
  38. Replies
    78
    Views
    6,192

    OK, i did those git submodule, and that ends with...

    OK, i did those git submodule, and that ends with

    ...
    error: Server does not allow request for unadvertised object cf3acd6b6d47e3aaeb0ca29a70ca1339d415908b
    Fetched in submodule path...
  39. Replies
    12
    Views
    395

    i haven't seen that error. i've gotten ...

    i haven't seen that error. i've gotten watchdog crash
    Stack canary watchpoint triggered
    I had to increase stack size in cores/esp32/main.cpp
    ...
  40. Replies
    78
    Views
    6,192

    @tannewt I have successfully built...

    @tannewt
    I have successfully built circuitpython for STM32F405 (increased CPU clock to 168mhz) , but my build failed starting from your branch
    https://github.com/tannewt/circuitpython/tree/teensy4...
  41. Replies
    12
    Views
    395

    you can change compiler optimization in...

    you can change compiler optimization in platform.txt
    .arduino15/packages/esp32/hardware/esp32/1.0.4/platform.txt
  42. Replies
    12
    Views
    395

    I've had no problems doing simple testing with...

    I've had no problems doing simple testing with Sparkfun's ESP32 thing and the Arduino IDE
    https://www.sparkfun.com/products/13907
    Some sketches had to be modified for the ESP32. I think a few...
  43. I think in your ISR, you would need to look at...

    I think in your ISR, you would need to look at GPTx_SR, and bits OF1 OF2 OF3 would indicate which compare-event fired, and then you could call your associated routine for that event. (and clear the ...
  44. datasheet says max is Vddio of 1.8v. sparkfun...

    datasheet says max is Vddio of 1.8v. sparkfun has a breakout and they use pullups to 1.8v
    https://www.sparkfun.com/products/15335
  45. Replies
    78
    Views
    6,192

    there is a microcontroller.delay_us() in...

    there is a microcontroller.delay_us() in micropython

    >>> import time
    >>> import microcontroller
    >>> t1 = time.monotonic_ns(); microcontroller.delay_us(3000); t2 = time.monotonic_ns(); t2-t1...
  46. Replies
    78
    Views
    6,192

    don't take my word for it but i found ...

    don't take my word for it but i found

    ports/mimxrt10xx/peripherals/mimxrt10xx/MIMXRT1062/clocks.c
    #define BOARD_BOOTCLOCKRUN_CORE_CLOCK 600000000

    so i think...
  47. Replies
    78
    Views
    6,192

    blink.py with no sleep, e.g. circuitypython...

    blink.py with no sleep, e.g. circuitypython toggle, use scope on pin 13 to measure period.

    sinperf 100! llutm toggle raytrace(32x32)
    pyboard 13301 1941 1985 11.7...
  48. Replies
    78
    Views
    6,192

    that might be a "feature" -- i saw the same thing...

    that might be a "feature" -- i saw the same thing on other circuitpython boards, and using .00501 gets you closer to 5 ms

    >>> import time
    >>> t1 = time.monotonic(); time.sleep(0.001); t2 =...
  49. Replies
    12
    Views
    439

    Has yourT4 had any electrical trauma? have you...

    Has yourT4 had any electrical trauma? have you mistakenly connected 5v to any of the T4 digital/analog pins?? T4 is NOT 5v tolerant.
  50. Replies
    78
    Views
    6,192

    more photos on arturo's twitter feed ...

    more photos on arturo's twitter feed https://twitter.com/arturo182/status/1199841134253682690
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4