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. 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
  2. Replies
    267
    Views
    2,255

    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....
  3. Replies
    267
    Views
    2,255

    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...
  4. Replies
    267
    Views
    2,255

    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)
    ...
  5. Replies
    7
    Views
    203

    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...
  6. Replies
    4
    Views
    102

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

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

    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...
  9. Replies
    10
    Views
    166

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

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

    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...
  12. Replies
    9
    Views
    65

    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
  13. 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...
  14. Replies
    24
    Views
    587

    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...
  15. Replies
    109
    Views
    6,989

    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
  16. Replies
    10
    Views
    166

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

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

    install the latest from...

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

    it should work with teensy 4
  19. 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...
  20. 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...
  21. Replies
    4,307
    Views
    457,088

    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"
  22. Replies
    4,307
    Views
    457,088

    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:...
  23. Replies
    3
    Views
    100

    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. ...
  24. Replies
    13
    Views
    295

    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...
  25. Replies
    13
    Views
    295

    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.

    /*
    *...
  26. 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...
  27. Replies
    3
    Views
    94

    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...
  28. 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...
  29. 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...
  30. 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...
  31. 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.
  32. Replies
    37
    Views
    4,962

    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...
  33. Replies
    9
    Views
    119

    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...
  34. Replies
    1
    Views
    105

    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
  35. Replies
    9
    Views
    119

    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...
  36. Replies
    16
    Views
    342

    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
  37. Replies
    86
    Views
    741

    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,...
  38. Replies
    122
    Views
    47,413

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

    here is the sketch I use ...

    here is the sketch I use https://github.com/manitou48/teensy3/blob/master/getmac.ino
  40. Replies
    109
    Views
    6,989

    i get about the same temperatures. all is well.

    i get about the same temperatures. all is well.
  41. Replies
    109
    Views
    6,989

    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
  42. Replies
    109
    Views
    6,989

    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.
  43. Replies
    109
    Views
    6,989

    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...
  44. Replies
    109
    Views
    6,989

    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 ...
  45. Replies
    109
    Views
    6,989

    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...
  46. Replies
    109
    Views
    6,989

    Sigh, that must be the 1.48-beta1 PIT...

    Sigh, that must be the 1.48-beta1 PIT initialization problem discussed earlier in this thread. Try commenting out PIT_MCR = 0 in hardware/teensy/avr/cores/teensy4/startup.c
  47. Replies
    16
    Views
    342

    See this and its following posts ...

    See this and its following posts https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=195605&viewfull=1#post195605
  48. Replies
    86
    Views
    741

    Did you try the baud-rate scanning sketch in post...

    Did you try the baud-rate scanning sketch in post #27?
    If you have a scope or logic analyzer, you could observe Tx pin of HC-06. You could see if there is activity on the Tx pin when testing with...
  49. Replies
    16
    Views
    342

    In startup.c T4 configures PIT and GPT to run at...

    In startup.c T4 configures PIT and GPT to run at 24 mhz. To run PIT and GPT at 150mhz, in your setup() do
    CCM_CSCMR1 &= ~CCM_CSCMR1_PERCLK_CLK_SEL;
    (this will break IntervalTimer which expects...
  50. Replies
    109
    Views
    6,989

    Looks like Teensyduino doesn't have the latest...

    Looks like Teensyduino doesn't have the latest FastCRC. Fetch the latest from https://github.com/FrankBoesing/FastCRC
    or change FastCRC_tables.h to read
    #if defined(__AVR__ ) ||...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4