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. Thread: Arduino 1.8.11

    by WMXZ
    Replies
    7
    Views
    142

    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...
  2. You may start...

    You may start withhttps://github.com/WMXZ-EU/record_sgtl5000 and add/merge the functionality (e.g. from microSoundRecorder)
  3. 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.
  4. Replies
    115
    Views
    30,642

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

    could use 0x9804 SetObjPropValue (it is used by Viveris)
  5. 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...
  6. Replies
    115
    Views
    30,642

    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...
  7. Not sure if this is related, but if your code is...

    Not sure if this is related, but if your code is in a .ino file, then the Arduino pre-processor shifts a lot of definitions around before passing the code to C++ compiler. You can check the generated...
  8. Replies
    2
    Views
    121

    designed by PJRC and assembled in USA

    designed by PJRC and assembled in USA
  9. Replies
    115
    Views
    30,642

    Warnings are OK, I have them too. IDE issues...

    Warnings are OK, I have them too.

    IDE issues are complicated as MTP is officially not yet supported for T4. So expect button press for download. Killing SerialMonitor before download may help.
    ...
  10. Thread: Sampling 44.1kHz

    by WMXZ
    Replies
    4
    Views
    125

    You could do it as Paul does it with usb_audio....

    You could do it as Paul does it with usb_audio.
    There every ms is an usb-interrupt. So usb_audio sends 9 x 44 samples and 1 x 45 samples resulting in 44.1 samples/ms on average. There is a phase...
  11. Sorry Pete, from usb_serial.h void...

    Sorry Pete,
    from usb_serial.h

    void begin(long) {
    //uint32_t millis_begin = systick_millis_count;
    //disabled for now - causes more trouble than it solves?
    //while (!(*this)) {
    // wait...
  12. Replies
    3
    Views
    92

    Maybe issue found?

    To understand the blocking behaviour of SerialMonitor I simply changed the product id to a MidiDevice

    #elif defined(USB_MTPDISK)
    #define VENDOR_ID 0x16C0
    #define PRODUCT_ID ...
  13. The PMod I2S2 uses a Cirrus chip, which easily...

    The PMod I2S2 uses a Cirrus chip, which easily can be connected to Teensy I2S.
    At least if you are willing to create your own audio module.
    Chances are good that you can use Pmod I2S2 with minimal...
  14. Replies
    115
    Views
    30,642

    OK, will try

    OK, will try
  15. Replies
    115
    Views
    30,642

    which functionalities?

    which functionalities?
  16. Replies
    3
    Views
    92

    Further info this burst behaviour does not occur...

    Further info
    this burst behaviour does not occur with Serial+Midi, so it is related with MTP_DISK descriptor and Serial_Monitor.

    If I send 65 bytes in loop (Compiled with native serial MTP Disk)...
  17. Replies
    115
    Views
    30,642

    That what I have and addressed in other thread

    That what I have and addressed in other thread
  18. Replies
    115
    Views
    30,642

    Chip Im still struggling to get on T4 Serial +...

    Chip Im still struggling to get on T4 Serial + MTP. MTP works but Serial does not behave on Arduino SerialMonitor but only on Putty.
    I may try tomorrow on T3 (similar to Chris) and then working...
  19. Replies
    3
    Views
    92

    some debugging info: (to be clear I use the...

    some debugging info:
    (to be clear I use the example program of MTP_t4)
    flush callback is called (with 10 or 6 bytes ) as it should according to setup/loop
    But data do not "arrive" on SerialMonitor...
  20. Replies
    3
    Views
    92

    Weird behavior of SerialMonitor

    I face the following issue:
    Trying to use MTP-Disk with USB-Serial the TD-SerialMonitor is only showing data in blocks (every 10 seconds data are printed)
    using Putty, data are printed very quickly...
  21. Replies
    115
    Views
    30,642

    For Teensy3 you can use the descriptor file made...

    For Teensy3 you can use the descriptor file made by yoonghm on his GitHub site.
    Im more interested in Teeny4
  22. Replies
    115
    Views
    30,642

    both Teensy3 and Teensy4 use Seremu. For an USB...

    both Teensy3 and Teensy4 use Seremu.
    For an USB agnostic, like myself, it was easier to port MTP from Teensy3 to Teensy4 when using Seremu and not true Serial.
    After having it working, maybe one...
  23. Replies
    115
    Views
    30,642

    No, I only kept the original defines and added...

    No,
    I only kept the original defines and added the underscore so they will never be activated.
  24. Replies
    115
    Views
    30,642

    Sorry, copy-to-core only for teensy 4.0 (will add...

    Sorry, copy-to-core only for teensy 4.0 (will add that to Instruction) cores/teensy3 remains as is.
  25. Replies
    115
    Views
    30,642

    Latest version is on GitHub...

    Latest version is on GitHub https://github.com/WMXZ-EU/MTP_t4
    despite name I tested it also on T3.6
    it can be configured to use SdFat instead of SdFat-beta, and using SDIO or SPI (src/MTP_config.h)
  26. But you only instruct the pre-processor. The...

    But you only instruct the pre-processor. The compiles does what it wants (except when it debug mode), right? It may shift the lines to optimize register usage.
  27. You always can SNVS_LPCR |=(1

    You always can
    SNVS_LPCR |=(1<<6) ; // turn off power
    it works immediately (may need some preparation)

    I use it im my hibernate code to duty-cycle data acquisition (wake-up with RTC alarm)...
  28. Replies
    115
    Views
    30,642

    updated GitHub. Note: code is only tested with...

    updated GitHub.
    Note: code is only tested with Teensy4.0 and Windows 10.
    Code for T3.x is included but not tested (code has worked in the past with Bill Greiman`s SdFs, which he is not supporting...
  29. I use this arrangement all the time.

    I use this arrangement all the time.
  30. Replies
    115
    Views
    30,642

    This is a consequence of using SdFat-Beta...

    This is a consequence of using SdFat-Beta together with SdFat.
    Please open SdFat-Beta and rename SdFat.h into SdFat-Beta.h

    You can use also SdFat (as you do) but then there is no ExFat support...
  31. Replies
    8
    Views
    110

    you can also use the RTC to restart after so many...

    you can also use the RTC to restart after so many seconds (i.e. fixed duty cycle)
    if interested search forum for microSoundRecorder
  32. Replies
    115
    Views
    30,642

    Until then, you can uncomment the relative lines...

    Until then, you can uncomment the relative lines in boards.txt
  33. Replies
    17
    Views
    132

    yes, Rev B works with all T3.x Rev D ONLY works...

    yes, Rev B works with all T3.x
    Rev D ONLY works with T4.0
  34. Replies
    17
    Views
    132

    Led (pin13) does not work when using Audioboard....

    Led (pin13) does not work when using Audioboard.
    Audioboard does not work when using pinMode(13,OUTPUT) in setup.
  35. Replies
    5
    Views
    149

    AFAIK, this is nor really a fuse but a polyfused....

    AFAIK, this is nor really a fuse but a polyfused.
    But you should be able to test the different test-pads.
  36. Thread: SDIO Power drain

    by WMXZ
    Replies
    13
    Views
    207

    I know, it is not _required_ if transfer is not...

    I know, it is not _required_ if transfer is not aborted, but here in transfer stop, CMD12 is related to multblock transfers.
  37. input or output?

    input or output?
  38. Replies
    23
    Views
    274

    it seems that the implementations different...

    it seems that the implementations different approaches with gyro bias compensation http://www.olliw.eu/2013/imu-data-fusing/
    but, it may be that cheep IMUs are more sensitive to this type of error.
  39. Only to be sure, I would put the SEL pin to GND...

    Only to be sure, I would put the SEL pin to GND AND to 3.3V respectively, so that all Mics have well defined SEL.
    at the moment you have only connection to 3.3V
  40. could not find any issue yet, but for clarity...

    could not find any issue yet, but for clarity (AFAIK) the channel sequence is L1,L2, R1,R2 and not L1,R1,L2,R2.
    So your data say mic 1 is -32768 on both channels and mic2 is zero on both channels.
  41. Thread: SDIO Power drain

    by WMXZ
    Replies
    13
    Views
    207

    Resetting the Dat lines, may indeed be useful to...

    Resetting the Dat lines, may indeed be useful to reset the uSD, but not calling transferStop, as this first calls CMD12.
  42. Thread: SDIO Power drain

    by WMXZ
    Replies
    13
    Views
    207

    I still do not know what the issue is....

    I still do not know what the issue is.
    transferStop is part of the transfer protocol of multi-block transfers : (transferStart --- write consecutive blocks --- transferStop)
    You cannot use it to...
  43. This triggered some thoughts Whenever I hear the...

    This triggered some thoughts
    Whenever I hear the name "Lady Ada" I always must think about Ada Lovelace ((18151852), the first "compute" programmer) and the programming language ADA that was...
  44. Thread: SDIO Power drain

    by WMXZ
    Replies
    13
    Views
    207

    readStart, writeStart are the beginning of a...

    readStart, writeStart are the beginning of a multisector read/write operation and are terminated with readStop,writeStop.
    between Start and Stop the uSD card increments automatically the buffer...
  45. Replies
    115
    Views
    30,642

    Got MTP Responder working on T4 code may be...

    Got MTP Responder working on T4
    code may be found on GitHub/WMXZ/MTP_t4

    directory "copy-of-core" contains modification of core library
    until they are merged and distributed with TD these file...
  46. Thread: USB for T4.0

    by WMXZ
    Replies
    6
    Views
    253

    A heads-up: Got USB_MTPDISK working on T4. As...

    A heads-up:
    Got USB_MTPDISK working on T4.
    As soon I have cleaned up SW and generated I library and further tests, I will post on MTP-Responder thread.
    I also will suggest to Paul (via PR) mods to...
  47. Thread: USB for T4.0

    by WMXZ
    Replies
    6
    Views
    253

    As I run out of ideas, I post the test program as...

    As I run out of ideas, I post the test program as zip file.

    Instructions are in Read_me.txt. If in doubt ask.

    Maybe someone has more luck and finds the solution to the puzzle.
    It should be...
  48. Thread: USB for T4.0

    by WMXZ
    Replies
    6
    Views
    253

    update, by turning on Pauls debug printf in...

    update,
    by turning on Pauls debug printf in usb.c I note that usb isr is called about 1/s with status bits USB_USBSTS_SRI and USB_USBSTS_TI0, which seems to be normal behaviour.

    USB is keep...
  49. Thread: USB for T4.0

    by WMXZ
    Replies
    6
    Views
    253

    Im now one step further. I cloned usb_rawhid...

    Im now one step further.
    I cloned usb_rawhid into usb_mtp
    I configured usb_mtp with interrupt context callbacks.
    Not sure how to configure MTP_EVENTS (receive ore transmit, bulk or interrupt?)...
  50. Thread: USB for T4.0

    by WMXZ
    Replies
    6
    Views
    253

    Thanks Paul. OK, so it is my work now to...

    Thanks Paul.
    OK, so it is my work now to understand why I cannot get MTP to work.
    (I only run into timeout, but after 1 week playing, I may have something screwed up.)
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4