Latest activity

  • S
    shawn replied to the thread Onboard LED.
    Also note that this pin is the same as the default SPI clock pin, so if one runs SPI, the LED will flicker, indicating clock activity.
  • O
    Oleum reacted to shawn's post in the thread Onboard LED with Like Like.
    Also the LED_BUILTIN constant.
  • KurtE
    KurtE replied to the thread Help with Teensy Loader.
    Not something I want to touch. if i were easy to do then maybe Paul would integrate it into teensyloadercli and then others could then migrate it into different apps like TyCommander
  • S
    shawn replied to the thread Onboard LED.
    Also the LED_BUILTIN constant.
  • mjs513
    mjs513 reacted to jmarsh's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    Those values use SEMC clock ticks as units, they don't care about the CPU's clock.
  • StefanPetrick
    More layers, more Perlin Noise, more complexity, more beauty (hopefully).
  • D
    Confirmed. Even with Verify the Teensy.exe grabs/reuses .eHex part #2 when it is missing. But Close and Open Teensy.exe and point to an .eHex with No part #2 and: Still interesting that .eHex part #2 is marginally unique - but any .eHex part...
  • D
    @PaulStoffregen, I would very much appreciate if you can reply to the questions that @joepasquariello wrote above. I suspect there may be NDA stuff prohibiting you from doing that, if that's the case then please let me know. Thanks! 🙏
  • h4yn0nnym0u5e
    Some objective values for "quite warm". Here's a couple of FLIR camera images without a heatsink, after allowing the board to warm up. Ambient is about 20°C, images are top and bottom of board and targeted as best I could at the hottest point...
    • FLIR1161.jpg
    • FLIR1165.jpg
    • FLIR1183.jpg
    • FLIR1185.jpg
  • O
    Oleum replied to the thread Onboard LED.
    thank you
  • BriComp
    BriComp replied to the thread Onboard LED.
    Pin 13
  • O
    How can I address the onboard LED using code, is it bound to a pin?
  • J
    Those values use SEMC clock ticks as units, they don't care about the CPU's clock.
  • S
    You’re welcome. I cannot claim much PlatformIO work, however, other than some how-to posts about it and an EHEX PR in their repo. :) I did write the QNEthernet library, however.
  • S
    You’re welcome. I cannot claim much PlatformIO work, however, other than some how-to posts about it and an EHEX PR in their repo. :) I did write the QNEthernet library, however.
  • S
    This explains a lot. I did some coding experiments where I incremented a variable an even number of times in the main loop, then tried to protect it with various interrupt/noInterrupt calls, delays, yield(), and other interstitial function...
  • S
    Here's how that server library is using the QNEthenet library: It uses the initialization code and the Ethernet ISR, but nothing else. It uses the lwIP API, otherwise, for its entire function (a slightly-modified copy is included with...
  • S
    Here's how that server library is using the QNEthenet library: It uses the initialization code and the Ethernet ISR, but nothing else. It uses the lwIP API, otherwise, for its entire function (a slightly-modified copy is included with...
  • S
    I just added an option to flush after all write calls. Other than the issue of write() not actually sending all the bytes (eg. because of internal buffers and such), just setting this new option in qnethernet_opts.h should duct tape the original...
  • D
    As for the problems at MCU F_CPU over 600 MHz - perhaps it is these likely these ns_to_clocks() timing based values not adjusting for enhanced F_CPU_ACTUAL clock rates so recovery times are being violated ? // configure SDRAM parameters...
  • PaulS
    PaulS replied to the thread Serial Plotter / IDE / Teensy 4.0.
    Once we have determined that we do not see a valid CRC with all 19200/9600, 22/24, 21/35, lin1x/lin2x permutations, we can extend the code with writing and scanning all ID's. Let's take it step by step to avoid errors in the testcode. At least we...
  • S
    ... and by "Do I need to protect it with a mutex" I mean protect my populating of the data array. I've looked over the documentation for AsyncWebServer_Teensy41 and it appears to be copy-paste from the original ESP32-based developer. It really...
  • defragster
    As for the problems at MCU F_CPU over 600 MHz - perhaps it is these likely these ns_to_clocks() timing based values not adjusting for enhanced F_CPU_ACTUAL clock rates so recovery times are being violated ? // configure SDRAM parameters...
  • J
    My only question on that code is whether we need to run it through ALL IDs (1 to256) and not just 22 and 24 and order from 1 to 256 and not just 21 and 35.
  • J
    jsimonkeller reacted to PaulS's post in the thread Serial Plotter / IDE / Teensy 4.0 with Like Like.
    Hi Jordan, It may be wise to stick to the basic code that I listed in message #77 intially. Once we see a sign of life [a valid CRC] there, we can go back to your code. Paul
  • PaulS
    PaulS replied to the thread Serial Plotter / IDE / Teensy 4.0.
    Hi Jordan, It may be wise to stick to the basic code that I listed in message #77 intially. Once we see a sign of life [a valid CRC] there, we can go back to your code. Paul
  • W
    winchymatt replied to the thread Teensyduino 1.59 Released.
    I know this has already been reported but had the same issue with HardwareSerial * needing to be replaced with HardwareSerialIMXRT * when trying to use write9bit() function.
  • J
    I tested with the commented out line, but still just getting ffffffff in HEX or -1 without HEX. I just wish there was a way to get any sign that the heater is receiving a LIN signal. Is the -1 a CRC error or coding issue or just no...
    • 1708622346246.png
    • 1708622383667.png
  • J
    jsimonkeller reacted to PaulS's post in the thread Serial Plotter / IDE / Teensy 4.0 with Like Like.
    Excuse me, I meant to say "you may want to comment out line 463" like //_stream->read();. I corrected my other post as well. Paul
  • PaulS
    PaulS replied to the thread Serial Plotter / IDE / Teensy 4.0.
    Excuse me, I meant to say "you may want to comment out line 463" like //_stream->read();. I corrected my other post as well. Paul
  • J
    Thanks Paul. I am confused as the link you provided shows that line already uncommented.
  • J
    Short update: Improved visual quality and overall look and feel. The little bar graph under the Shuffle button indicates the progress of the transition between parameter sets. Now, a Full Auto mode is present, too, meaning to periodically...
  • PaulS
    PaulS replied to the thread Serial Plotter / IDE / Teensy 4.0.
    Hi Jordan, you may want to uncomment line 463 in lin_bus.cpp [to be found here C:\Users\....\Documents\Arduino\Libraries\Teensy_3.x_4.x_and_LC_LIN_Master\src\] and compile & run the sketch again against the HVH. Paul
  • PaulS
    PaulS replied to the thread LIN bus 2.1, working example?.
    If I comment out //_stream->read();, the output on the serial monitor looks correct! So, _stream->read(); reads one byte? Paul
  • J
    I am running the heater Sketch you built Paul with the CPP file uncommented and I am getting 55 as a response now instead of FFFFFFFF oscilloscope responses with HV on and 12V on.
    • 1708619502773.png
    • 1708619599387.png
    • 1708619620243.png
  • J
    Not sure if this is any help, but the CPP file that was used on the STM32 HVH heater project with open inverter looks like this: /* * This file is part of the stm32-... project. * * Copyright (C) 2021 Johannes Huebner...
  • PaulS
    PaulS replied to the thread LIN bus 2.1, working example?.
    Thanks for looking into it. "A byte is thrown away at lines 462..465.". You are probably right, but I do not understand it? If I uncomment Serial.println(_stream->read(),HEX);, the serial monitor shows: That now printed byte 0x55 looks like the...
  • KurtE
    KurtE replied to the thread Teensyduino 1.59 Released.
    Not sure if to post here and/or on Arduino. Ran into build today that died with: internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:192: MapViewOfFileEx: Attempt to access invalid address. Had this before, ended up...
  • BriComp
    BriComp replied to the thread LIN bus 2.1, working example?.
    #if defined(__IMXRT1062__) // Teensy 4.0 & 4.1 clear Uart Buffer _stream->read(); //Serial.println(_stream->read(),HEX); #endif A byte is thrown away at lines 462..465. Might be the reason. Uncomment the...
  • J
    I had a need to measure two different oscillating signals on a single Arduino Mega using the FreqMeasure library. Based on some old posts (1,2,3), it seems like this has been a need for other users as well. I ended up following the advice from...
  • PaulS
    PaulS replied to the thread LIN bus 2.1, working example?.
    I may have found a bug in the CRC calculation and/or message data display in the LIN library. With the code from Teensy4_NCV7430-Get-Full-Status in message #19 above, the serial monitor shows this: However, my scope and logic analyzer show a...
    • DSView-240222-131010.png
    • SDS00003.png
    • 1708604573953.png
  • mjs513
    mjs513 reacted to Rezo's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    I set it to 1 and skipped 133 as I figured there was no point in testing it - we know it works
  • D
    Dogbone06 reacted to Rezo's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    I set it to 1 and skipped 133 as I figured there was no point in testing it - we know it works
  • R
    I set it to 1 and skipped 133 as I figured there was no point in testing it - we know it works
  • D
    More fun trivia? Seemed the "wfi" would wake to allow incoming USB Serial data so indeed this works: if (CrashReport) { Serial.print(CrashReport); Serial.print("Any Key to continue ..."); delay(50); while (1) { if (...
  • D
    Wondered what happened with an MCU OC build - went to 720 MHz - Not good ... Should the freq math calc's be adjusted?: Start 57 tests with 5 reads 132.92 MHz ... wait::##########CrashReport: A problem occurred at (system time) 18:41:47 Code...
  • D
    Nice, as expected no cap seems to work up to 206 MHz - based on prior runs by one or more others, and here. Odd though it should have a line for 133 MHz if the downloaded sketch LINE#1 wasn't changed from: #define FIRST_SPEED 0 And looking at...
  • D
    Dogbone06 reacted to Rezo's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    @defragster Test with no cap Test results 57 tests with 5 ReReads: At 166 MHz in 142 seconds with 0 read errors At 196 MHz in 132 seconds with 0 read errors At 206 MHz in 130 seconds with 0 read errors At 216 MHz in 128...
  • defragster
    More fun trivia? Seemed the "wfi" would wake to allow incoming USB Serial data so indeed this works: if (CrashReport) { Serial.print(CrashReport); Serial.print("Any Key to continue ..."); delay(50); while (1) { if (...
  • luni
    You are right of course. To be on the save side one should use DMAMEM alignas(A) uint8_t buf[sizeof (A)]; // statically allocate memory for an object of type A to allocate the buffer.
Back
Top