Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: defragster

Page 1 of 10 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    4,329
    Views
    460,277

    Opps - should have asked if there was a...

    Opps - should have asked if there was a 'non-obvious' reason :)

    Looking at SSD1306 running here almost 2hours - that seems okay with 2.78 Mhz:: DVM gives me the idea the resistors on the board are...
  2. All tests here were likely fat32 of ExFat? with...

    All tests here were likely fat32 of ExFat? with default cluster size.

    FAT16 makes the FAT a great deal smaller : a single 512 byte FAT read covers twice as many entries - and each entry covers...
  3. Replies
    4,329
    Views
    460,277

    Glad to test - more glad you did the "ARGH!" work...

    Glad to test - more glad you did the "ARGH!" work making the RefMan make sense in code :)

    As expected. I copied the code without looking - but assumed just those named cases were covered - as...
  4. Replies
    4,329
    Views
    460,277

    Looks and works fine - THANKS @mjs513 !!! I...

    Looks and works fine - THANKS @mjs513 !!!

    I see this with T4 at 600 MHZ … temp is 48C::

    loopTime=26604964 :: @100khz ---- 125khz >> Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT,...
  5. Replies
    4,329
    Views
    460,277

    I did want to try it with SSD1306 - will do that...

    I did want to try it with SSD1306 - will do that now with this update. That board has PullUps … they show on the PinTest code posted on breakout thread.
  6. Here is from 3+ years back … diff display ::...

    Here is from 3+ years back … diff display :: youtube.com … ILI9341DualVu

    This thread : ILI9163C-128x128-TFT-driver

    This post a couple down has CODE used - it was for that display - it started...
  7. Indeed - PDF stops at Peak Meter as far as notes...

    Indeed - PDF stops at Peak Meter as far as notes … but ends with 'Part 3-3: Add a TFT Display'

    Look at sketch ::...
  8. Heat Sink not required unless overclocked. ...

    Heat Sink not required unless overclocked. 600-800 Mhz seems to generally be okay. Certainly 600 if not encased with trapped heat should be no trouble.

    I just noted because it isn't precluded -...
  9. The Audio Tutorial has an FFT to ili9341 as part...

    The Audio Tutorial has an FFT to ili9341 as part of it … starting there would get that much working asap … then if something fancier could evolve or swap in when the sound stops ...
  10. Replies
    4,329
    Views
    460,277

    Cool - hopefully not too much brain damage from...

    Cool - hopefully not too much brain damage from the 'Argh!' fight with the refman - is this with the code I saw earlier - or has it been updated in past hours?

    Weird clock not letting it go...
  11. Replies
    263
    Views
    14,446

    Good to see you back for an update Dan. Did...

    Good to see you back for an update Dan.

    Did you give any thought to not putting GND and 3V3 through the cable but routing them on the board to feed the SD connector? Not having those two unmasked...
  12. Seems this question went by in past weeks - may...

    Seems this question went by in past weeks - may have added details there … The Audio Board page shows the PINS used Rev D .vs. Rev C - and the ili9341 connect notes can use the version as if Rev D...
  13. @MichaelMeissner - think you hit that for the REV...

    @MichaelMeissner - think you hit that for the REV D board according to DMM::

    "Power Side":GND to "G":GND is 7-8 Meg Ohms.
    "G":GND to MIC body or SD shell is few tenths of an ohm.
    "Power...
  14. @Brian44 - that is odd output The portableIDE...

    @Brian44 - that is odd output

    The portableIDE option got mention in this post : Teensyduino-1-48-Beta-2

    The following post I gave it a try and left some notes as it worked.

    Do make sure you...
  15. The 1062 can run from encrypted flash - Paul made...

    The 1062 can run from encrypted flash - Paul made some note about implementing that during Beta.
  16. With a second LDO that was switchable - it could...

    With a second LDO that was switchable - it could power the ethernet PHY - and maybe the SDIO. The PHY draws power when OFF, but the SDIO takes a lot of power when on - and the second LDO could then...
  17. Replies
    5
    Views
    65

    As @mjs513 notes - and I saw in p#2 code - :...

    As @mjs513 notes - and I saw in p#2 code - : there is something off in the transitions with set_arm_clock - with orderly transitions some affect on millis() clock is resolved - on some others it is...
  18. Multiple Library indications that are just...

    Multiple Library indications that are just 'information'. With IDE 1.8.10 there are lots of them - including SINGLE libraries are often shown, true multiples with show the source for both.

    In...
  19. Look at the Audio examples - they seem to include...

    Look at the Audio examples - they seem to include a few libs. Any not included get brought in elsewhere.

    To experiment open and build an audio example - then comment them out in turn and see...
  20. Replies
    31
    Views
    260

    Oh … remembering that missing .end() code now …...

    Oh … remembering that missing .end() code now … Teensy-4-FreqCount-compile-error

    I didn't run the p#25 code - was just looking to see how 'delayMicroseconds(40);' was the fix … it is that and then...
  21. Running that sketch with my single bottom female...

    Running that sketch with my single bottom female header Rev D board it worked on the first Teensy_4 I tried - having run the to be noted sketch first ...

    Putting it on the second top pinned T4 did...
  22. Replies
    6
    Views
    48

    Not sure if there is a way at .begin() to get a...

    Not sure if there is a way at .begin() to get a true start value synchronization? I found something close - but it is uniformly off and stays that way once I hack it.

    I'm not up for reading the...
  23. Replies
    31
    Views
    260

    Looks like this part - where 40us delay is just...

    Looks like this part - where 40us delay is just the start:


    FreqMeasure.begin();
    delayMicroseconds(40);
    // dummy meas 1
    delay(fmd);
    fmea:
    nm = FreqMeasure.available();
    if (!nm)...
  24. In the IDE: Help / About PJRC adorns the upper...

    In the IDE: Help / About

    PJRC adorns the upper right corner with TeensyDuino version if installed
  25. Replies
    101
    Views
    2,942

    It looks like this time they routed for the 2x5's...

    It looks like this time they routed for the 2x5's at least - that was a fail on their part if the 'gerber' was clear for removing that area.

    As far as the 1mm castellation cuts - that is close...
  26. 3rd thread sounds PIO specific - happy to ignore...

    3rd thread sounds PIO specific - happy to ignore that one :)

    Perhaps:: Starting with p#5 simple sketch would let you confirm the i2c device to operate as expected.

    Not sure what the device is...
  27. Replies
    101
    Views
    2,942

    1 of 3 better than none. I place a 1.6mm order...

    1 of 3 better than none. I place a 1.6mm order that should arrive soon.

    Soldered one of the FRDM4236 boards with staggered castellation SDIO pattern and it went well - looking now it seems to be...
  28. To make a repro case and observe expected or...

    To make a repro case and observe expected or faulty behavior:

    Make the simplest sketch possible and execute the i2c command and validate the returned data.

    With a working library to a working...
  29. My guess would be there is a low level problem...

    My guess would be there is a low level problem that is made worse with the change - it is an extension of the same problem.

    Not looked at the third thread … seems it was another build system...
  30. That seems logical - but not sure there is a rule...

    That seems logical - but not sure there is a rule or expectation that the allocations would in fact be done that way through compiling and linking. Or the problem could be more than an off by just...
  31. Two other new posts about memory and arrays? Is...

    Two other new posts about memory and arrays? Is this all related to the same issue?

    This snippet is the only code posted - but doesn't show the memory allocated for the arrays[] in use - and the...
  32. Without seeing code … speculation is that the...

    Without seeing code … speculation is that the array increase is resulting in creating or exposing array index handing errors, that is data is written outside the allocated array space?

    Perhaps ::...
  33. Replies
    31
    Views
    260

    Ideally there is a CORES LIB fix in the waiting...

    Ideally there is a CORES LIB fix in the waiting here … but … can you show code that does that?

    When I was coding before the p#21 code it was tried with delayMicroseconds() as high as 105 and it...
  34. Replies
    6
    Views
    48

    Opps :: More confusion here it seems - was...

    Opps :: More confusion here it seems - was rushing to do some things and conflated Freq Count and Measure.

    However - quite possible a similar problem and solution apply as they both rely on "count...
  35. Replies
    31
    Views
    260

    Here is complete code that exhibits the issue and...

    Here is complete code that exhibits the issue and shows HACK to hide the break after .begin()



    SIMILAR thread: pjrc.com/threads/58062-FreqCount-caution

    The FreqCount exhibits similar startup...
  36. Replies
    6
    Views
    48

    Post #2 code does not work … now with second...

    Post #2 code does not work … now with second thread it requires editing in two places … Teensy-4-FreqMeas-problem

    … code like this actually resolves the issue:

    FreqMeasure.end();
    ...
  37. Replies
    31
    Views
    260

    I find code like this actually resolves the...

    I find code like this actually resolves the issue:

    FreqMeasure.end();
    FreqMeasure.begin();
    {
    while (!FreqMeasure.available());
    int yy = 0;
    while...
  38. Replies
    6
    Views
    48

    There is an open thread on this ::...

    There is an open thread on this :: pjrc.com/threads/58026-Teensy-4-FreqMeas-problem

    There may hopefully be a way to fix this in the FreqMeas.begin() -...
  39. @FRDM4236 - SOMETHING ODD with the FRDM4236...

    @FRDM4236 - SOMETHING ODD with the FRDM4236 breakout and i2c.

    I can run the i2c SSD1306 display on a PJRC breakout at 912 or 960 MHz with heat sink like on the FRDM breakout. It also runs at 960...
  40. Replies
    4,329
    Views
    460,277

    Good link @mjs513. Would be nice if alternate...

    Good link @mjs513.

    Would be nice if alternate clock or math could result in increased i2c speed as it seems these SSD1306 and other devices can run faster than 1 MHz?

    I just noticed building...
  41. Replies
    4,329
    Views
    460,277

    @WMXZ discovered that set_arm_clock() changes at...

    @WMXZ discovered that set_arm_clock() changes at runtime can leave the millis() time reporting broken:

    T4-set_arm_clock-and-micros()

    And when millis() breaks - so does micros() which just...
  42. Replies
    5
    Views
    65

    @Paul - you'll recognize something here in a...

    @Paul - you'll recognize something here in a flash ... clock change order not leaving millis() clock right?

    Interesting - the problem is millis() when the clock drops - if it drops in the RIGHT...
  43. Replies
    31
    Views
    260

    Making this edit to post #15 loop() code shows...

    Making this edit to post #15 loop() code shows the trouble with .end() then .begin():


    void loop() {
    for ( int ii = 0; ii < ASET; ii++ ) {
    while (!FreqMeasure.available());
    ...
  44. Replies
    4,329
    Views
    460,277

    @Paul - @other :: Is there a reason nothing...

    @Paul - @other :: Is there a reason nothing higher than 1 MHz is tried in this WIRE file?:: \hardware\teensy\avr\libraries\Wire\WireIMXRT.cpp


    void TwoWire::setClock(uint32_t frequency)
    {
    ...
  45. Soldered on the short female header for i2c. Put...

    Soldered on the short female header for i2c. Put on new style SSD1306 with the same pin order ( older/common ones had VCC/GND swapped )

    Using Adafruit test code with Wire it is running well on...
  46. Replies
    31
    Views
    260

    This does show the first reading is wrong with...

    This does show the first reading is wrong with the initial value set :: capture_previous=0 :: With that then factoring into first reading.

    The code handles various timer types - not sure if...
  47. Much better to plan in advance … If you look...

    Much better to plan in advance …

    If you look here Paul did Audio on bottom to allow his comically large heat sink on top:...
  48. Replies
    31
    Views
    260

    @analog&RFmodels and @mjs513 … Paul? First...

    @analog&RFmodels and @mjs513 … Paul?

    First note is that the initial prints were being LOST without the while(!Serial); in setup().

    Getting that resolved and putting .begin() at Setup() end that...
  49. Replies
    31
    Views
    260

    Numbers above are right - but only reading from...

    Numbers above are right - but only reading from non-empty queue.

    This code catches queue empty and then after delay empties it as ordered:

    #include <FreqMeasure.h>

    void setup() {
    ...
  50. Replies
    31
    Views
    260

    it only takes 6 to 8 microseconds to determine...

    it only takes 6 to 8 microseconds to determine the count it seems using this code:

    #include <FreqMeasure.h>

    void setup() {
    Serial.begin(9600);
    analogWriteFrequency(23, 18000); // test...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4