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. Custom USB build option for Teensy Arduino IDE

    For some advanced or special use of Teensy it may be interesting to have custom USB stacks (e.g. one or two USB devices, MSC device etc)
    With Teensy3 it is possible to use No USB. Not sure what...
  2. at which frequency? How many tones? there are...

    at which frequency?
    How many tones?
    there are different signal processing options that allow you to do that.
  3. Replies
    30
    Views
    307

    For the PCM1802, the relevant text is I...

    For the PCM1802, the relevant text is

    I understand you hate this info, but the figures are only examples, in case you wanted to use 48BCK, but 64 bit is easier both for device driver and DMA.
  4. Replies
    30
    Views
    307

    So, you read the manual and therefore you saw...

    So, you read the manual and therefore you saw this


    while one can easily write a device driver to have 48 BCK/frame for limited MCLK (needs only to read another manual and learn how to do DMA),...
  5. Replies
    1
    Views
    41

    MTP responder us now updated to allow for Teensy...

    MTP responder us now updated to allow for Teensy 3.6 the use of USBHS (2nd USB port on T3.6) as MTP-responder.

    There are two examples
    - mtp-test that used primary usb port for MTP Responder, as...
  6. Replies
    12
    Views
    177

    I decided, instead of full-blown multithreading,...

    I decided, instead of full-blown multithreading, to exploit the Arm multi-priority interrupt system.
    As my sensor systems lead to a data driven interrupt based processing chain, a lot of work is...
  7. you can mount audioboard below or above Teensy....

    you can mount audioboard below or above Teensy.
    Only thing to pay attention to is that the pin-labels Gnd 0,1..12, etc correspond exactly. That is why they are printed on the pcbs

    I myself prefer...
  8. Replies
    31
    Views
    2,248

    I plan to use the same Opamp, but have not tested...

    I plan to use the same Opamp, but have not tested them yet. I`m only concerned about the 18 MHz Gain-Bandwidth product that limits the achievable gain somewhat. But for a Pre-amp it may be OK.
  9. Replies
    25
    Views
    379

    Only to be sure, you are using a Teensy 3.2,...

    Only to be sure, you are using a Teensy 3.2, right?
    The AudioCard Rev C does not work with Teensy4.0 as wired.
  10. Replies
    7
    Views
    108

    Very interesting figures. Im indeed interested...

    Very interesting figures.
    Im indeed interested in minimizing the impact of uSD write on overall power stability to control power stability of downstream ADC.
    What I mean, proper dimensioned...
  11. Duplicate thread

    Duplicate thread
  12. Replies
    7
    Views
    108

    Maybe it is simply that the frequent sync() are...

    Maybe it is simply that the frequent sync() are too short to be measurable for time constant of an integrating mA meter?
    IMO,
    definitely frequent sync() is required to avoid uSD blocking when uSD...
  13. Replies
    1
    Views
    41

    MTP responder on Teensy USB2

    After, porting MTP responder to Teensy 4.0, I needed it to port it to USBHS of Teensy3.6.
    So Teensy3.6 could now have MTP responder on slow primary USB or on USBHS (used for USBHost).

    As I work...
  14. what is this "CUT" in picture 1090725 ?

    what is this "CUT" in picture 1090725 ?
  15. All depends on your ambitions. But there are...

    All depends on your ambitions.

    But there are really only three parameters to consider

    bandwidth: do you need audio or also ultrasonics or even infrasonics?
    sensitivity: the higher the better...
  16. Replies
    3
    Views
    93

    -6dB or half the voltage.

    -6dB or half the voltage.
  17. Replies
    52
    Views
    1,895

    As long as it is NOT done in HW but only in SW....

    As long as it is NOT done in HW but only in SW.
    I really look forward to a Dual processor architecture and I have a need for it and it does not need to be symmetric.
  18. Replies
    178
    Views
    32,006

    @nectar You did not give us the information we...

    @nectar
    You did not give us the information we need to help you.

    can you check if uSD is FAT32, or EXFAT?
    No Linux FS or NTFS is supported.
    where do you have your uSD Card?
    if build-in uSD...
  19. Replies
    4
    Views
    83

    The canonical way is to download programs via USB.

    The canonical way is to download programs via USB.
  20. If you wanted to have USB-Audio in your system,...

    If you wanted to have USB-Audio in your system, then You may have to wait until Paul finds time to implement it on T4.0 (It seems to require different implementation than done for Teensy3)
  21. Not sure if Teensy integration into Matlab is...

    Not sure if Teensy integration into Matlab is already so smooth and robust to follow that road now. But as you have Simulink model working, maybe it is a worthwhile exercise to see if it can be...
  22. you have to select Teensy4.0 your error message...

    you have to select Teensy4.0
    your error message indicates that you compile for standard Arduino and not Teensy
  23. Replies
    178
    Views
    32,006

    Updated GitHub https://github.com/WMXZ-EU/MTP_t4...

    Updated GitHub https://github.com/WMXZ-EU/MTP_t4 so that mounting/enabling MTP device on PC resets the object list.
    This allows to refresh the MTP disk content by unmount/mount (Linux) or...
  24. Replies
    24
    Views
    267

    That is the nice thing on Teensy, nearly...

    That is the nice thing on Teensy, nearly everything is possible.
    e.g.: you can easily write an audio object that controls the update rate, or modify the sampling rate of I2S chips.
    The question...
  25. Replies
    3
    Views
    90

    From Reference (figure23 and 25) you can see that...

    From Reference (figure23 and 25) you can see that for PCM1802 FSYNC controls the start of data transmission (data are only send when FSYNC is high) Consider it some sort of chip-select. You can use...
  26. Replies
    24
    Views
    267

    OK, Im with you concerning using the...

    OK, Im with you concerning using the accelerometer as acoustic Sensor (in fact it is an old concept: keyword vector-sensor)

    Assume you tell the LIS3DH to sample at 5.376 kHz then you should...
  27. Replies
    178
    Views
    32,006

    I tried today SW as is on Ubuntu with Nautilus...

    I tried today SW as is on Ubuntu with Nautilus and no other "mtp" installation and standard udev rules.
    No problems occurred. So I may not be of further help.

    I confirm, however, that on T4...
  28. As long you are not using Tympan, I would simply...

    As long you are not using Tympan, I would simply delete the src directory.
    BTW are you using Arduino IDE or makefile based compilation?

    Edit: sometimes forcing recompilation helps (change...
  29. Yes, the AudioStream way of handling data is... a...

    Yes, the AudioStream way of handling data is... a little bit restrictive...
    I ended up to use my own version "mAudioStream" only to have integer32 or even float data or keeping multiplexed data,...
  30. Replies
    178
    Views
    32,006

    I updated GitHub to include also new files for...

    I updated GitHub to include also new files for Teensy3 and boards.txt.
    I have it working on T4.0 and T3.6
    As soon as Paul decides what to do (using Seremu, Serial, or both with proper product-id)...
  31. Thread: piezo cable

    by WMXZ
    Replies
    8
    Views
    152

    All piezos generate only little voltage. You need...

    All piezos generate only little voltage. You need always a very good pre-amplifier (very low noise and very high input impedance). In past design was special FET followed by bipolar opamp.
    The...
  32. Replies
    178
    Views
    32,006

    The "???" is from the original code and send by...

    The "???" is from the original code and send by Teensy. Not sure with what to replace. must read more on MTP document.
    Note what is not yet implemented is Date and Time (was also not in original...
  33. Replies
    178
    Views
    32,006

    Yes, faking a usb everything is working and...

    Yes, faking a usb everything is working and similar to the fake midi I was using in other thread.
    For smooth download we need from Paul a new product-id that teensyduino recognizes.
    BTW, latest...
  34. Replies
    178
    Views
    32,006

    T4 version uses Pauls debug printf to Serial4....

    T4 version uses Pauls debug printf to Serial4. For this you have to uncomment core/teensy4/debug/printf.h " #define PRINT_DEBUG_STUFF"
    (Im fortuned to have a Breakoutboard that exposes Serial4-
  35. Replies
    178
    Views
    32,006

    What Teensy you are using? If T3, you can...

    What Teensy you are using?
    If T3, you can activate Serial1 and get some log of packets. (uncomment Serial1.begin)
    I do not use Linux myself, but I seen it running on Ubuntu/Nautilus.
  36. Replies
    178
    Views
    32,006

    At the actual GitHub, there is only a single ino...

    At the actual GitHub, there is only a single ino file (removed cpp file) I only had to trick Gcc to compile ino file as it ware c++ file. So I can use and compile from VSCode for development
  37. Replies
    178
    Views
    32,006

    On my test, it seems the PC knows about the files...

    On my test, it seems the PC knows about the files it creates and shows them on Explorer.
  38. Replies
    178
    Views
    32,006

    I really do not want to embark in a fundamental...

    I really do not want to embark in a fundamental discussion.
    For small programs code in ino is file (as long you are not using typedefs) No problem for examples to eliminate main.cpp and place code...
  39. Replies
    178
    Views
    32,006

    @KurtE I compiled the whole tests with Arduino...

    @KurtE
    I compiled the whole tests with Arduino IDE (that is the reason why I have an empty ino file, to be able to open sketch from Arduino IDE)
  40. Replies
    178
    Views
    32,006

    Sure, have also a look into cpp_properties.

    Sure, have also a look into cpp_properties.
  41. Replies
    178
    Views
    32,006

    OK, until Paul activates MTP Disk it must be...

    OK, until Paul activates MTP Disk it must be uncommented in boards.txt
    Will update Readme (done)
    (there should be no MTP Disk(experimental) + Serial; it does not work properly, even if Serial is...
  42. Replies
    178
    Views
    32,006

    Make sense, not sure what I did. Created now...

    Make sense, not sure what I did. Created now link include file SdFat-beta.h

    #include "SdFat.h"
    to be side-by-side with SdFat.h

    Obviously, this SdFat-beta is only necessary if SdFat-beta is...
  43. Replies
    178
    Views
    32,006

    Updated GitHub with lastest version. can now -...

    Updated GitHub with lastest version.
    can now
    - copy files from/to PC (folders not yet tested)
    - delete files (folders not yet tested)
    - move files (folders not yet tested)
    - rename files...
  44. Replies
    178
    Views
    32,006

    In order to use SDIO or SPI-SD you can edit...

    In order to use SDIO or SPI-SD you can edit MTP_config.h, which allows you to switch from SDIO (#define USE_SDIO 1) to SPI (#define USE_SDIO 0)
    At the moment Im using T4 with an audio_card, no...
  45. Thread: Arduino 1.8.11

    by WMXZ
    Replies
    11
    Views
    556

    Concerning USB device MTP, I would appreciate a...

    Concerning USB device MTP, I would appreciate a design decision (i.e.usb_desc.c/h and usb.c) on MTP_DISK with Seremu or Serial, or both.

    Concerning issues with download and TeensyMonitor...
  46. You may start...

    You may start withhttps://github.com/WMXZ-EU/record_sgtl5000 and add/merge the functionality (e.g. from microSoundRecorder)
  47. testing it for all inputs (ADC, I2S, TDM etc)...

    testing it for all inputs (ADC, I2S, TDM etc) testing will most likely be lengthy, but if you have a particular input in mind, may it is possible.
  48. Replies
    178
    Views
    32,006

    could use 0x9804 SetObjPropValue (it is used by...

    could use 0x9804 SetObjPropValue (it is used by Viveris)
  49. If you activate verbose you will find the...

    If you activate verbose you will find the directory path to a temporary folder.

    Arduino compiles all files in the sketch directory and links then together.
    In addition, Arduino pre-processor...
  50. Replies
    178
    Views
    32,006

    Seems more complicated (need to hack more the...

    Seems more complicated (need to hack more the MTP_storage code), also, while I understand to move file or directory it is not clear how to rename a file or directory.
    This is as the move object does...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4