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
    420
    Views
    84,452

    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...
  2. Replies
    273
    Views
    2,545

    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...
  3. Replies
    18
    Views
    143

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

    T4 FreqCount uses pin 9 -- see lib example Serial_Output_T4.ino
  4. Replies
    273
    Views
    2,545

    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...
  5. Replies
    273
    Views
    2,545

    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...
  6. 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
  7. Replies
    273
    Views
    2,545

    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....
  8. Replies
    273
    Views
    2,545

    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...
  9. Replies
    273
    Views
    2,545

    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)
    ...
  10. Replies
    8
    Views
    259

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

    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/
  12. Replies
    10
    Views
    179

    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...
  13. Replies
    10
    Views
    179

    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...
  14. Replies
    10
    Views
    179

    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...
  15. Replies
    10
    Views
    179

    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
  16. Replies
    9
    Views
    72

    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...
  17. Replies
    9
    Views
    72

    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
  18. 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...
  19. Replies
    24
    Views
    631

    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...
  20. Replies
    109
    Views
    7,130

    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
  21. Replies
    10
    Views
    179

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

    add while(!Serial); after Serial.begin() -- that should fix missing output
  22. 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...
  23. Replies
    2
    Views
    72

    install the latest from...

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

    it should work with teensy 4
  24. 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...
  25. 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...
  26. Replies
    4,312
    Views
    458,739

    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"
  27. Replies
    4,312
    Views
    458,739

    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:...
  28. Replies
    3
    Views
    101

    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. ...
  29. Replies
    13
    Views
    308

    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...
  30. Replies
    13
    Views
    308

    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.

    /*
    *...
  31. 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...
  32. Replies
    3
    Views
    99

    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...
  33. 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...
  34. 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...
  35. 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...
  36. 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.
  37. Replies
    37
    Views
    5,023

    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...
  38. Replies
    9
    Views
    120

    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...
  39. Replies
    1
    Views
    110

    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
  40. Replies
    9
    Views
    120

    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...
  41. Replies
    16
    Views
    361

    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
  42. Replies
    86
    Views
    772

    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,...
  43. Replies
    122
    Views
    47,448

    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();
    ...
  44. Replies
    122
    Views
    47,448

    here is the sketch I use ...

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

    i get about the same temperatures. all is well.

    i get about the same temperatures. all is well.
  46. Replies
    109
    Views
    7,130

    Ah, a feature. I'm familiar with losing the first...

    Ah, a feature. I'm familiar with losing the first few lines when not using while(!Serial), but i don't think i've seen it print the first few lines and then lose later ones. whatever.

    thanks
  47. Replies
    109
    Views
    7,130

    you need to read the earlier posts in this thread...

    you need to read the earlier posts in this thread to learn more about PIT initialization.
  48. Replies
    109
    Views
    7,130

    I can confirm missing FastCRC lines problem...

    I can confirm missing FastCRC lines problem occurred with T3.2 with 1.48-beta1. Also seems to be fixed with while(!Serial). I turned on LED at end of benchmark tests to confirm sketch wasn't...
  49. Replies
    109
    Views
    7,130

    That shouldn't happen, can you print out chip...

    That shouldn't happen, can you print out chip temperature float tmpc = tempmonGetTemp() in a loop ...
  50. Replies
    109
    Views
    7,130

    Another strangeness with 1.48-beta1. Exhibited...

    Another strangeness with 1.48-beta1. Exhibited on 1.8.10 on ubuntu 32-bit and 64-bit running FastCRC benchmark example. Sometimes when running the sketch the last few lines are not printed ?? may...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4