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

Search:

Type: Posts; User: WMXZ

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    23
    Views
    1,153

    @defragster ever tried to run T4.x with reduced...

    @defragster
    ever tried to run T4.x with reduced (12 Mbit/s) USB speed?
    IMHO, Teensy USB stack may not be most robust implementation.

    edit: uncommenting

    USB1_PORTSC1 |= USB_PORTSC1_PFSC; //...
  2. Replies
    2
    Views
    271

    without changes, the Teensy audio system is...

    without changes, the Teensy audio system is working with 44.1 kHz and not 48 kHz sampling
  3. Replies
    11
    Views
    509

    yes, this is one option

    yes, this is one option
  4. Replies
    11
    Views
    509

    Simply adding a I2S without any connection will...

    Simply adding a I2S without any connection will keep the audio system running.
    USB input/output is not capable of doing so. USB is a special case, as it interacts with PC following special rules....
  5. Replies
    10
    Views
    468

    maybe...

    maybe
    https://forum.pjrc.com/threads/41504-Teensy-3-x-multithreading-library-first-release?highlight=multithread
    could help
  6. Replies
    5
    Views
    279

    Simon, the driving parameter is the block size...

    Simon,
    the driving parameter is the block size 128 that is defined in cores 'AudioStream.h'.
    There is also the common sampling frequency defined.
    While you could change sampling frequency here...
  7. Replies
    5
    Views
    279

    short answer sampling rate is always 44.1 kHz...

    short answer
    sampling rate is always 44.1 kHz
    the record/play queues are connected to individual channels and store blocks of 128 samples
    i.e. for stereo data you need 2 queue objects.
    how data...
  8. Replies
    966
    Views
    119,200

    MTP on Teensy is a responder, if there is no PC...

    MTP on Teensy is a responder, if there is no PC attached, or if PC is not interrogating, there should be no activity.
    Also, while you acquire data, best is not to call mtpd.loop().
  9. sufficient power supply on remote teensy to...

    sufficient power supply on remote teensy to maintain 5V for boot process?
    my guess, when in boot mode, teensy resets itself due to temporary power failure.
  10. Thread: Bat detector

    by WMXZ
    Replies
    920
    Views
    140,302

    at least the latest TD supports exFAT, which...

    at least the latest TD supports exFAT, which happens to be also faster than FAT32
  11. what is bad about requiring the implementation of...

    what is bad about requiring the implementation of all virtual functions?
  12. that is my understanding

    that is my understanding
  13. Paul, I was referring to...

    Paul,
    I was referring to https://forum.pjrc.com/threads/48563-Cheap-ICS-52000-Microphone-Array-Board-for-TDM-evaluation?p=171455&viewfull=1#post171455
    I just listened again to his mp3 file and it...
  14. @feima0011 IMO, invensense is the wrong...

    @feima0011
    IMO, invensense is the wrong addressee. I understand it was demonstrated in other thread that multiple ICS52000 do work. It is the NotWired board that is not working properly.
    this board...
  15. Replies
    15
    Views
    1,159

    Should the trace not be covered by the green...

    Should the trace not be covered by the green soldermask?
  16. Replies
    28
    Views
    1,144

    looking into the timing diagram, I would simply...

    looking into the timing diagram, I would simply try to use the stock Audio library I2S module.
    Only one channel will get data.
    Adjusting sampling frequency and clock timings for final application...
  17. Replies
    28
    Views
    1,144

    Yes the connections are the one I'm using. Not...

    Yes the connections are the one I'm using.
    Not sure is stock I2S works, as it is tuned to codecs (setup is defined in output)
    Anyhow,
    key is to configure sync as short as possible
    eg for a mono...
  18. Replies
    28
    Views
    1,144

    I know it reads so, but I used a lot of similar...

    I know it reads so, but I used a lot of similar ADC's with I2S port (in PCM mode) for years now
  19. Replies
    28
    Views
    1,144

    You misunderstood the ADC this is not for SPI...

    You misunderstood the ADC
    this is not for SPI but you should I2S port
    connect
    clk to Teensy clk
    dout to Teensy Din
    cnvst to Teensy FS
    din to DV+
  20. Replies
    31
    Views
    1,501

    In case you are interested user KurtE has a MTP...

    In case you are interested user KurtE has a MTP Host WIP on https://github.com/KurtE/USBHost_t36/tree/MTP_Device
    As said it is WIP but may be useful as starting point
  21. Replies
    121
    Views
    14,346

    Noted and no objections Edit: as the Teensy...

    Noted and no objections

    Edit: as the Teensy loader has all information (serial number and program name), I will see if I can modify cli loader to log the information (date, time, program, teensy...
  22. Replies
    121
    Views
    14,346

    Well, I guess one has not to use encryption. To...

    Well, I guess one has not to use encryption.
    To summarize,
    at the moment, there is no way to know which program is on Teensy. (e.g. one that has been programmed 2 years ago)
    in future, when...
  23. Replies
    121
    Views
    14,346

    Could the Loader obtain the the Teensy Serial...

    Could the Loader obtain the the Teensy Serial number and log to file together with date so, together with @defragster suggestion, one can get a log of which teensy got which key?
  24. @frostylaughlin, listening for puffins? from...

    @frostylaughlin,
    listening for puffins?
    from the programming point of view, you can use also 24 or 48 MHz. The PLL is then always 96 MHz, so I'm not sure to reduce much the current.
  25. Replies
    31
    Views
    1,501

    AFAIK, these are macros defined in some include...

    AFAIK, these are macros defined in some include files for debugging for easy redirection of debugging info.
    (different people have different programming styles)
  26. Replies
    10
    Views
    656

    AFAIK, Line-in and MIC cannot be used...

    AFAIK, Line-in and MIC cannot be used simultaneously
  27. Thread: AudioOutputI2SOct

    by WMXZ
    Replies
    8
    Views
    758

    Have a look at...

    Have a look at
    https://forum.pjrc.com/threads/58896-kxmx_kaugummi-A-CS42448-Breakout-Board

    Paul has some PCB on OSH Park https://oshpark.com/profiles/PaulStoffregen

    and...
  28. Thread: AudioOutputI2SOct

    by WMXZ
    Replies
    8
    Views
    758

    would be easier with 8channel DAC board

    would be easier with 8channel DAC board
  29. Replies
    31
    Views
    1,501

    While I cannot comment on your problem, as I...

    While I cannot comment on your problem, as I have at the moment no teensy with me, I would suggest to do the following:
    Take the USB-host examples and try to generate first a basic MTP disk...
  30. Suggest to have a look to one of the many...

    Suggest to have a look to one of the many data-logger examples discussed on this forum.
    you may find something like


    file.write(diskBuffer,ndat);

    ndat is the number of bytes to be...
  31. Replies
    31
    Views
    1,501

    @Garug Indeed MTP disk is not useful for your...

    @Garug
    Indeed MTP disk is not useful for your application.

    MTP disk is a MPT responder, that is, it makes the teensy to act as a MTP device and uses a PC as MTP initiator.
    What you have is a...
  32. Replies
    31
    Views
    1,501

    I, personally, only used MTP where Teensy is...

    I, personally, only used MTP where Teensy is Responder and not Initiator (same as PTP).
    IIRC, KurtE looked into this wit USB-Host
    So, to control a camera with Teensy, one needs to implement a...
  33. Replies
    31
    Views
    1,501

    We have the MTP implemented, mostly for file...

    We have the MTP implemented, mostly for file transfer, but I cannot see why one could not add the PTP subset to it.
    Event driven actions is a little bit more complicated, especially in absence...
  34. Would be interesting, what type of files Arduino...

    Would be interesting, what type of files Arduino IDE generates, if it is compiling and working.
  35. Replies
    9
    Views
    448

    I have the feeling that we know only a part of...

    I have the feeling that we know only a part of the story.

    As @defragster said, there is only a single program on any teensy, namely the last one you programmed.
    If the teensy after reprogramming...
  36. Replies
    4
    Views
    327

    AFAIK, you always cam use the SPI instead of the...

    AFAIK,
    you always cam use the SPI instead of the SDIO protocol.
    For this reason the T4.1 card shoes for the pin numbers and the SPI names.
    However it is spi2 and not spi1
    Should be easy to...
  37. Note, the same library SdFat is in use with...

    Note, the same library SdFat is in use with Teensyduino.
    Using DMA requires still to wait for conclusion of read. Not sure if SdFat makes it easy the do this outside Library.
    I know ELM CHaN's...
  38. Replies
    4
    Views
    322

    What I would do is to check how the timer library...

    What I would do is to check how the timer library does it.
  39. Replies
    4
    Views
    559

    I would first put some delay (500ms) after...

    I would first put some delay (500ms) after wire.begin, as T4.1 is far too fast to any I2C connected device to start up.
  40. Replies
    11
    Views
    799

    If you use makefiles (as you do with...

    If you use makefiles (as you do with VisualTeensy) you should include Arduino.h on top of the sketch
    (this is what is done with .ino files and Arduino IDE)
    My understanding is that TeensyDebug,...
  41. So, I see two strategies to ensure complete...

    So, I see two strategies to ensure complete transfer

    while ( Serial.availableForWrite() < 132 ) {
    Serial.flush();
    //delayMicroseconds(25);
    cntW++;
    }
    and
    ...
  42. @defragster, please be always clear if you talk...

    @defragster,
    please be always clear if you talk about T3 or T4, otherwise posts are difficult to follow
    AFAIK, T3,x use dynamic and T4.x use static allocation of buffers
  43. @DrM, I saw my error and removed my post, but is...

    @DrM,
    I saw my error and removed my post, but is Serial not equal to SerialUSB1 according to Serial.h?
  44. Replies
    11
    Views
    799

    I had only a T4.0 with audio card available, but...

    I had only a T4.0 with audio card available,
    but I only could get it working with #include "Arduino.h" inserted on top of sketch.
    (this is was Arduino IDE inserts also)
    I have no headphone with...
  45. Only to be more 'correct', I would use 19200 and...

    Only to be more 'correct', I would use 19200 and not 19600 as baud rate.
  46. Replies
    11
    Views
    799

    can you show your makefile?

    can you show your makefile?
  47. Thread: RAHID performance

    by WMXZ
    Replies
    40
    Views
    1,768

    I would suggest, to have the teensy also on a USB...

    I would suggest, to have the teensy also on a USB hub with a WD 1TB SSD disk that blocks the USB for >15 each time when waking up! (I have such a disk on my desk)
  48. Thread: RAHID performance

    by WMXZ
    Replies
    40
    Views
    1,768

    Does this not mean, Python is the problem? I...

    Does this not mean, Python is the problem?
    I know, Python can be VEEEERY slow.
  49. AFAIK, the "..." is a const char and not a String...

    AFAIK, the "..." is a const char and not a String type
  50. maybe try Serial.print("Detected files: ");...

    maybe try

    Serial.print("Detected files: "); Serial.println(fileNum);
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4