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.03 seconds.

  1. 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...
  2. Replies
    3
    Views
    78

    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 ...
  3. 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...
  4. Replies
    110
    Views
    30,449

    OK, will try

    OK, will try
  5. Replies
    110
    Views
    30,449

    which functionalities?

    which functionalities?
  6. Replies
    3
    Views
    78

    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)...
  7. Replies
    110
    Views
    30,449

    That what I have and addressed in other thread

    That what I have and addressed in other thread
  8. Replies
    110
    Views
    30,449

    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...
  9. Replies
    3
    Views
    78

    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...
  10. Replies
    3
    Views
    78

    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...
  11. Replies
    110
    Views
    30,449

    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
  12. Replies
    110
    Views
    30,449

    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...
  13. Replies
    110
    Views
    30,449

    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.
  14. Replies
    110
    Views
    30,449

    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.
  15. Replies
    110
    Views
    30,449

    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)
  16. 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.
  17. 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)...
  18. Replies
    110
    Views
    30,449

    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...
  19. I use this arrangement all the time.

    I use this arrangement all the time.
  20. Replies
    110
    Views
    30,449

    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...
  21. Replies
    8
    Views
    101

    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
  22. Replies
    110
    Views
    30,449

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

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

    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
  24. Replies
    17
    Views
    119

    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.
  25. Replies
    5
    Views
    142

    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.
  26. Thread: SDIO Power drain

    by WMXZ
    Replies
    13
    Views
    199

    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.
  27. input or output?

    input or output?
  28. Replies
    23
    Views
    265

    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.
  29. 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
  30. 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.
  31. Thread: SDIO Power drain

    by WMXZ
    Replies
    13
    Views
    199

    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.
  32. Thread: SDIO Power drain

    by WMXZ
    Replies
    13
    Views
    199

    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...
  33. 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...
  34. Thread: SDIO Power drain

    by WMXZ
    Replies
    13
    Views
    199

    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...
  35. Replies
    110
    Views
    30,449

    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...
  36. Thread: USB for T4.0

    by WMXZ
    Replies
    6
    Views
    248

    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...
  37. Thread: USB for T4.0

    by WMXZ
    Replies
    6
    Views
    248

    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...
  38. Thread: USB for T4.0

    by WMXZ
    Replies
    6
    Views
    248

    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...
  39. Thread: USB for T4.0

    by WMXZ
    Replies
    6
    Views
    248

    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?)...
  40. Thread: USB for T4.0

    by WMXZ
    Replies
    6
    Views
    248

    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.)
  41. Thread: USB for T4.0

    by WMXZ
    Replies
    6
    Views
    248

    USB for T4.0

    Im struggling with the T4.0 USB implementation. I try to implement the MTPDISK feature, which I urgently need on T4.0.
    So, I try to learn from existing implementation.
    At the moment I fail to...
  42. try with very long timeouts, say 30000. most...

    try with very long timeouts, say 30000.
    most likely, your terminal program or PC may be unreliable with connecting to Serial.

    Alternatively, does FIFO_Class uses Serial?
  43. Yes, Both USB ports are 480 Mbs and use the same...

    Yes, Both USB ports are 480 Mbs and use the same underlaying design. In how far cloning USB1 to USB2 is easy or not, depends on your programming skills (and the reading of the IMXRT documentation)...
  44. Yes, the D+ and D- are for the second USB on...

    Yes, the D+ and D- are for the second USB on T4.0. However, there is no reason why you cannot use the 2nd USB (USB2) in device mode. You only need to duplicate the usb stack to work on the 2nd port.
  45. As I usually use most ram for data queue, I...

    As I usually use most ram for data queue, I modified recordQueue to use Template arguments and include class implementation in an include file.
  46. Yes, TeensyLC is NOT 5V tolerant. To know if...

    Yes, TeensyLC is NOT 5V tolerant.
    To know if only port is fried, try TLC to TLC communication (write from one port and read from another port)
  47. I was indeed looking at tinyusb while waiting for...

    I was indeed looking at tinyusb while waiting for Paul to find time to complete teensy core usb stack. Did not see this particular GitHub site. So will try again, but uses CMSIS philosophy.
    in fact...
  48. Replies
    2
    Views
    107

    all audio objects are updated (processed) in the...

    all audio objects are updated (processed) in the sequence they are declared with AudioConnection. So, queues should be synchron. What I do, is to check the availability of the last declared queue...
  49. Replies
    48
    Views
    1,000

    You mean, you downloaded 1.49-beta3, as...

    You mean, you downloaded 1.49-beta3, as suggested by Paul, and installed it completely over old version?
  50. Suggest to print out the sensor data gx to mz to...

    Suggest to print out the sensor data gx to mz to see which component is changing over time.
    It may be that one sensor (magnetometer?) may change its value as function of temperature, resulting in...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4