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. It is not ported to T4 yet. It's on Paul's TODO...

    It is not ported to T4 yet. It's on Paul's TODO list. But you are welcome to port it yourself.

    https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=193717&viewfull=1#post193717
    ...
  2. Replies
    3
    Views
    48

    for T3* boards most register symbols are defined...

    for T3* boards most register symbols are defined in hardware/teensy/avr/cores/teensy3/kinetis.h

    #define CMT_PPS (*(volatile uint8_t *)0x4006200A) // CMT Primary Prescaler Register
    so all you...
  3. Replies
    3
    Views
    48

    This sketch works for me. void setup() { ...

    This sketch works for me.

    void setup() {
    pinMode(0, INPUT_PULLUP);
    pinMode(1, INPUT_PULLUP);

    long unsigned startTime = millis ();
    while (!Serial && ((millis () - startTime) <=...
  4. Replies
    275
    Views
    2,744

    One of the reasons T4 was faster than T3.6 is...

    One of the reasons T4 was faster than T3.6 is that T4 TeensyThreads was using a 5 ms timeslice -- Teensy 3* boards run with a 10 ms threads timeslice. The T4 5 ms timeslice was a bug, see...
  5. Replies
    1
    Views
    33

    at the end of setup add g_UDP.begin(8888); see...

    at the end of setup add g_UDP.begin(8888);

    see https://www.arduino.cc/en/Reference/EthernetUDPBegin

    try/study one of the UDP examples in the Ethernet library
  6. Replies
    420
    Views
    84,630

    Teensy 4 timeslice 5 ms? bug or feature? With...

    Teensy 4 timeslice 5 ms? bug or feature?

    With scope I notice Teensy 3* has thread timeslice of 10 ms, but Teensy 4 has 5 ms timeslice?

    I think the problem is that the T4 GPT isr will fire...
  7. Replies
    275
    Views
    2,744

    No threads. I disabled TCP threads in the T4...

    No threads. I disabled TCP threads in the T4 network bench example (added a T4nt column in table in post #264). Performance numbers improved for everything except TCP receive (further study...
  8. Replies
    31
    Views
    268

    T4 FreqCount uses pin 9 -- see lib example...

    T4 FreqCount uses pin 9 -- see lib example Serial_Output_T4.ino
  9. Replies
    275
    Views
    2,744

    I haven't tried static IP yet. The two dongles...

    I haven't tried static IP yet. The two dongles should talk to each other -- I don't know if you could wire them to each other. Try it first with them hooked to a switch/router.

    The benchmark...
  10. Replies
    275
    Views
    2,744

    For the T3.6, I reduced the heap to 64K and then...

    For the T3.6, I reduced the heap to 64K and then I could use 32KB buffers for TCP. With 8 KB buffers TCP was only getting 5mbs, with 32KB buffers TCP now transfers at 19 mbs on T3.6 -- still not as...
  11. https://forum.pjrc.com/threads/54711-Teensy-4-0-Fi...

    https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=194245&viewfull=1#post194245
  12. Replies
    275
    Views
    2,744

    Thanks. I'm familiar with the BSD socket API...

    Thanks. I'm familiar with the BSD socket API (all of my linux/macos/cygwin network tools are based on BSD sockets). The FNET src/service/bench/ code has examples of most of the TCP/UDP socket calls....
  13. Replies
    275
    Views
    2,744

    Here are some results of tests I did on T4@600mhz...

    Here are some results of tests I did on T4@600mhz and T3.6@180mhz with the amazon USB Ethernet dongle. Tests are with linux/mac boxes and windows (fbench and cygwin programs) on a 100T local area...
  14. Replies
    275
    Views
    2,744

    just starting to experiment. cloned latest from...

    just starting to experiment. cloned latest from github. example compiles OK for T4, but fails for T3.6 (1.8.10 1.48)
    ...
  15. Replies
    8
    Views
    278

    A fool's errand, I fear. My recall of such...

    A fool's errand, I fear. My recall of such clusters is that they are unix-based and utilize a local-area network (e.g. TCP/IP on ethernet). There is not a unix for T4, and the current T4 has no...
  16. Replies
    4
    Views
    114

    FWIW, the NXP SDK for the 1060 has an I2C slave...

    FWIW, the NXP SDK for the 1060 has an I2C slave example
    boards/evkmimxrt1060/driver_examples/lpi2c/interrupt_b2b_transfer/slave/
  17. Replies
    10
    Views
    182

    I experimented with "optimization changes" to...

    I experimented with "optimization changes" to hardware/teensy/avr/cores/teensy4/eeprom.c while compiling with Optimize Smallest Code.

    adding #pragma GCC optimize ("O2") to the front of eeprom.c...
  18. Replies
    10
    Views
    182

    BUT wait ... I have a sketch that prints out T4...

    BUT wait ... I have a sketch that prints out T4 EEPROM meta data https://github.com/manitou48/teensy4/blob/master/eeprom_meta.ino

    I now recall that if the EEPROM data to be written matches what's...
  19. Replies
    10
    Views
    182

    Still works for me. I tried it on a 2nd T4 and...

    Still works for me. I tried it on a 2nd T4 and the older T4B2R.

    Although the first time i built sketch on 2nd T4 and T4B2R nothing printed and i had to hit the program button to load a new...
  20. Replies
    10
    Views
    182

    With the while(!Serial) and optimize "smallest...

    With the while(!Serial) and optimize "smallest code" I did not see any problems with your sketch ... ? 1.8.10 and 1.48
  21. Replies
    9
    Views
    75

    the SdWav problem was with Teensyduino -- what...

    the SdWav problem was with Teensyduino -- what version of that are you running? (it's what you install from Teensy after you have installed new version of Arduino IDE)

    get the latest 1.48-beta3...
  22. Replies
    9
    Views
    75

    what version of IDE and teensyduino are you...

    what version of IDE and teensyduino are you using? there was a problem AudioPlaySdWav a few months ago. you may need to get the latest IDE/Teensyduino
  23. FWIW, i too just soldered up Rev D audio board...

    FWIW, i too just soldered up Rev D audio board for T4. Soldered volume pot and teensy microphone. Mounted on T4 with female headers. Tested with WavFilePlayer with volume control and WAV files from...
  24. Replies
    24
    Views
    742

    Any thoughts on WDOG reset not working on T4...

    Any thoughts on WDOG reset not working on T4 (1060) but did work on T4B1 (1050)? Discussed in
    https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=217661&viewfull=1#post217661
    and...
  25. Replies
    109
    Views
    7,361

    1.48-beta1 is haunted by evil spirits. upgrade...

    1.48-beta1 is haunted by evil spirits. upgrade to 1.48-beta2 or beta3
    https://forum.pjrc.com/threads/57894-Teensyduino-1-48-Beta-3
  26. Replies
    10
    Views
    182

    add while(!Serial); after Serial.begin() -- that...

    add while(!Serial); after Serial.begin() -- that should fix missing output
  27. I found a more recent data sheet...

    I found a more recent data sheet http://www.ti.com/lit/ds/symlink/ads8861.pdf that better matches what you are describing. This data sheet doesn't say anything about best SPI mode, but it does...
  28. Replies
    3
    Views
    93

    install the latest from...

    install the latest from https://github.com/FastLED/FastLED

    it should work with teensy 4
  29. Though not effecting my "connectionless test",...

    Though not effecting my "connectionless test", you are missing manipulation of the SPI CS pin. Do you have a teensy pin connected to your ADC's CS pin? The ADC sensor is expecting CS to be HIGH in...
  30. the attachInterrupt() is fine with a pin number...

    the attachInterrupt() is fine with a pin number for Teensy 3/4.

    if i run your sketch with nothing attached to SPI and pin 2 jumpered to pin 3, it works for me. On scope I see only 2 SPI...
  31. Replies
    4,338
    Views
    461,494

    the 1060 eval board schematic is complex, and...

    the 1060 eval board schematic is complex, and there is a RESET button to POR pin, but i don't see a "trigger pin to reset pin"
  32. Replies
    4,338
    Views
    461,494

    The NXP 1060 SDK has an example that works and...

    The NXP 1060 SDK has an example that works and does reset with WDOG1 on NXP 1060 eval board. So i think T4 problems might relate to T4 bootloader and/or core startup procedure or ?
    ref:...
  33. Replies
    3
    Views
    102

    although most of the T4 RTC example sketches just...

    although most of the T4 RTC example sketches just return seconds. The T4 RTC registers (2 32-bit registers) actually count 32768 ticks, so you could get sub-second values at a precision of 1/32768. ...
  34. Replies
    13
    Views
    319

    the NXP 1060 SDK example does a software reset...

    the NXP 1060 SDK example does a software reset with base->WCR &= ~WDOG_WCR_SRS_MASK;

    on T4 (1060), WDOG1_WCR &= ~WDOG_WCR_SRS will cause a reset (sermon gray) but T4 doesn't restart. The T4B1...
  35. Replies
    13
    Views
    319

    The NXP 1060 SDK has a WDOG example, and I...

    The NXP 1060 SDK has a WDOG example, and I believe the program (wdog.c) is identical to the 1050 SDK version. The example works on the NXP 1050 eval board and workson 1060 eval board.

    /*
    *...
  36. FYI The teensy core uses the FTM timers for PWM....

    FYI
    The teensy core uses the FTM timers for PWM.

    The Teensy audio lib uses the PDB timer to trigger the ADC using DMA. I have a simple ADC sketch that can use either the PDB or the LPTMR to...
  37. Replies
    3
    Views
    101

    I don't know if building for 1050 will work with...

    I don't know if building for 1050 will work with T4 which is a 1060. I did pre-beta evaluation using mbed and NXP 1050 eval board. mbed compiler didn't support NXP 1060 eval board, so I had to use...
  38. for lots of examples of T3 ADC register...

    for lots of examples of T3 ADC register manipulation look at https://github.com/pedvide/ADC

    NVIC_SET_PRIORITY(IRQ_ADC1,48)
    NVIC_CLEAR_PENDING(IRQ_ADC1)
    NVIC_EnableIRQ(IRQ_ADC1)

    and your ISR...
  39. The T3* FTM timers can be fed an external clock,...

    The T3* FTM timers can be fed an external clock, but max frequency is F_BUS/4. So T3.2@120 mhz should work (F_BUS would be 60mhz). FTM timers are only 16-bit so you'd need to handle overflows to...
  40. if the build is printing FastLED version...

    if the build is printing FastLED version 3.003.000, then you're still running from old version of FastLED. You probably have multiple copies of FastLED. Remove them, and then install the latest...
  41. Then T3.2 ISR latency for GPIO pin interrupts...

    Then T3.2 ISR latency for GPIO pin interrupts can only support 1 to 2 MHz.
  42. Replies
    37
    Views
    5,103

    Sticky: lots of posts on T4 audio ... maybe try this one...

    lots of posts on T4 audio ... maybe try this one https://forum.pjrc.com/threads/57764-Teensy-3-6-versus-4-0-for-audio-processing

    I think the T4 version (Rev D) of the audio shield is now available...
  43. Replies
    9
    Views
    134

    Since you have the RJ45 unit attached via female...

    Since you have the RJ45 unit attached via female header, you could pull it out and test it standalone with just 3v3, GND and a live Ethernet cable in RJ45. The LEDs should light up .... (at least it...
  44. Replies
    1
    Views
    128

    see https://github.com/tonton81/Watchdog_t4 ...

    see https://github.com/tonton81/Watchdog_t4

    there were discussions on https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test
    it's a huge thread, do a "Search Thread" for WDOG
  45. Replies
    9
    Views
    134

    Maybe a dead W5500. is that a PJRC ethernet...

    Maybe a dead W5500. is that a PJRC ethernet adapter or ? (product URL, schematic?)
    With just 3.3v and GND to W5500 (WIZ850io) and a live ethernet cable in the RJ45, you should see a solid green...
  46. Replies
    16
    Views
    384

    lots of posts on T4-beta-test thread about fast...

    lots of posts on T4-beta-test thread about fast GPIO on 1062, also see https://www.nxp.com/docs/en/application-note/AN12240.pdf
  47. Replies
    86
    Views
    826

    here is a variation on baud scanner of post #27,...

    here is a variation on baud scanner of post #27, give it a try (i've tested it between Teensy 3.2's)

    // baud scan keuwl.com/electronics/rduino/bluet/09-baud-rate/

    long baud_rates[] = {1200,...
  48. Replies
    122
    Views
    47,519

    hmmm, i just ran it on T3.6 and it seems to...

    hmmm, i just ran it on T3.6 and it seems to repeat the first 3 bytes ... need to find my working copy

    maybe this


    void prmac() {
    uint64_t num64;
    uint32_t num;
    __disable_irq();
    ...
  49. Replies
    122
    Views
    47,519

    here is the sketch I use ...

    here is the sketch I use https://github.com/manitou48/teensy3/blob/master/getmac.ino
  50. Replies
    109
    Views
    7,361

    i get about the same temperatures. all is well.

    i get about the same temperatures. all is well.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4