W
Reaction score
1

Latest activity Postings About

    • W
      WMXZ replied to the thread Teensy 4.1 INMP441 Input.
      The INMP441 must be connected in place of the audio shield. However, the connection used by the audio shield may guide how the INMP441 may be connected. Have a look at https://www.micropam.com/microPAM-T4_hardware.html to see how T4.1 is...
    • W
      You have a lowpass filter with a corner frequency of 500Hz, so all frequencies <500 Hz will pass and due to not sufficient steep roll-off also some frequencies above 500 Hz. In order to remove 400 Hz and above, you must reduce the corner...
    • W
      OK, but there must be a place where Arduino copies the one provided by TD. Someone knows where this is?
    • W
      WMXZ replied to the thread Writing Data to Teensy 4.1 microSD.
      Not sure if connection is correct. Teensy4.1 does not tollerate 5V (Vin is 5V). I would connect to 3.3V to avoid any problems. OK, I hardly use UART, so I'm not sure if +V is required and GND is sufficient.
    • W
      WMXZ replied to the thread Set amplitude in decibels?.
      What is the reference amplitude? decibels are relative measurements. Also decibel of amplitude(0) does not exist. It is minus infinity! now to your question: Assume reference amplitude is 1.0, then the amplitude(0.9) =...
    • W
      WMXZ replied to the thread CSAC + Teensy.
      Did not continue that work, as the CSAC I had on loan did not keep vacuum for temperature > 30° C. Also, I was not sure if the required PLL would be sufficient phase jitter free.
    • W
      I only used Windows, and know that it works on Ubuntu. I recall that Mac's were always an issue. Old story: Apple-Microsoft
    • W
      The method by Paul in #6 works also for MTP responder to reset MTP after writing files to disk! Only drawback is that open Teensy Filexplorer will disappear and has to be opened again. If that is accepted behavior no more sendEvent is needed
    • W
      using the device manager, is de- and re-install the comport not an option?
    • W
      That is not correct, except you are using a very old TD installation. New SD is a wrapper to SdFat which supports long filenames etc.
    • W
      WMXZ replied to the thread Teensy 3.2 End Of Life.
      @hlide; maybe this one https://forum.pjrc.com/index.php?threads/future-teensy-features-pinout.57842/ , but go to the end of discussion
    • W
      WMXZ replied to the thread Non blocking writes to sd card.
      @joepasquariello: SD access ONLY blocks other actions in loop(). If ALL other functions run at interrupt level these are NOT blocked. In acquisition systems it is anyway preferable to have acquisition and RT processing at interrupt level (as...
    • W
      WMXZ replied to the thread Non blocking writes to sd card.
      If you have acquisition running at interrupt level and sd card access in loop(), then SD card access is not blocking acquisition. See the different logger examples. SdFat could be set to DMA if SPI access (i.e NOT T4.1 built in SDcard) but Bill...
    • W
      WMXZ replied to the thread Teensy 4.0 + ADS1220.
      Well, as you use SPI to an external ADC (according to OP) this is not an Teensy ADC problem. Also, if data are corrupt after ADC, as it seems, there is no way to reconstruct. In other words, this is no Teensy SW issue, but a ADC HW/SW issue. Of...
    • W
      I'm using https://www.adafruit.com/product/2124 and had no issues so far. For this - I cut VUSB/VIN on Teensy - connect VUSB to 5V - connect GND to GND - connect VIN to VBAT - I enable 500 mA loading current I use an Adafruit 4400 mA Lipo...
    • W
      Intellisense on VSCode is doing that more frequently. Make sure that the libraries are in the search path. If it compiles, I tend to ignore that.
    • W
      After looking to the setup picture, I would conclude that you cannot get ever with a flying setup (pins connected breadboard style) any low noise result. To see what is goung on, plot say the 10 or 100 ms of data. I'm certain you will see the 50...
    • W
      The simpest way to have hight throuput to SD card is - to have all processing at interrupt level - handly SD card operation in loop() - use of large (e.g. 16 MByte extmem) ring buffer This is equivalent to non-blocking operation. Works for me for...
    • W
      Well, as I could overcome the issue, I did not enquire further. As the OP asked for similar experience, I gave my own one. Maybe I can try to reproduce the problem as I have still earlier versions of the code.
    • W
      I had this start - crash - start - crash sequence recently, when I compiled older programs with new TD 1.59.4. In all cases, the use of Wire was the culprit. Changing the way Wire was initialized and used resolved the problem. I guess this has...
    • W
      WMXZ replied to the thread MTP Close function.
      Nothing if your acquisition runs on interrupt level and mtp.loop is called from main loop. In order to see the file on the PC, MTP must be unmounted and remounted. For this operation, the PC expects some response from Teensy. If Teensy is busy...
    • W
      WMXZ replied to the thread MTP Close function.
      My mode of operation is to call mtp.loop only when not acquiring data, that is when acquisition is stopped. Yes, there is no need to call mtp.loop continuously.
    • W
      WMXZ replied to the thread MTP Close function.
      MTP can only be closed by the PC by unmounting the MTP device. Remember within MTP PC is the host/master and Teensy is the device/slave. ONLY the PC can give instructions that are to be executed by Teensy. In theory, PC could listen to requests...
    • W
      WMXZ replied to the thread 3D file for teensy 4.0/3.2 ?.
      Have a look here https://forum.pjrc.com/index.php?threads/3d-model-for-teensy-4-1.61169/post-241932 IIRC, there are not only T4.1 but also the others
    • W
      Stimulated by the OP I spent some time to script the uploading of a hex file to multiple teensies. The uplad is sequentially and uses standard CLI uploader. I tested it in all three modes program-button pressed, seremu and serial. Maybe it may...
    • W
      One after the other. Essentially, it first gets a list of all teensies on the PC (com ports), then loops through the list and puts each teensy into programming mode and uses the standard cli program to upload the program. The idea was to use the...
    • W
      As I mentioned a python script, I just did a quick and dirty one and tested it on two teensies hooked up to a USB hub import subprocess import time import serial from serial.tools.list_ports import comports sx=comports(True) for s in sx: #...
    • W
      OK, 8 years ago I modified the PJRC CLI code (not used is for years now), but nowadays I would write a python script that first scans all com-ports and hid-devices for a teensy. I would then identify the teensy type (only needed if mixed models...
    • W
      Using CLI this is possible, as the first step is to find one or more Teensies. You can determine in which state it is: Bootmode has an own PID code. Standard CLI code must, however, be extended to loop through all Teensies on PC.
    • W
      WMXZ replied to the thread Teensy 4.1 SD card CS pin.
      Well, I had alos to do frequently the decision: TD or not. Unfortunately, SDFat from TD is diverged from Bill's version in more than one point. You can use SDFat functionality by using SD.sdfat.xxx, but most funtionality is also accessible vit SD...
    • W
      WMXZ replied to the thread Teensy 4.1 SD card CS pin.
      @SteveFX, remove the SDFat library from your local library. latest TD (don't recall which version) integrated SDFat and made SD an interface to SDFat. Use only SD calls.
    • W
      WMXZ replied to the thread SD card initialization.
      no, I use 1TB card reguralily. the card must be formated as Fat (Fat32 or exFat). Use the latest Teensyduino, as it enables exFAT by default
    • W
      WMXZ reacted to defragster's post in the thread IDE for Teensy 4.1 with Like Like.
      The makefile requires 'the user' to enumerate the SOURCES needed to build the resulting executable file. Under Arduino this is part of the build process where - given the 'sketch' - with an extra step in the building, it proceeds to locate any...
    • W
      WMXZ replied to the thread IDE for Teensy 4.1.
      and here VisualStudioCode (uses VSCode + makefile that you easily can modify for your preference)
    • W
      what happened to the 24 kHz line?
    • W
      The proper operation with MTP is to do either generating files or using mtp-loop. Well, at least that is the mode that works. Also, after writing to uSD, the PC must be told (e.g. by user) to remount/reset the MTP responder (on the Teensy). when...
    • W
      Add to @MarkT, obviously previous_timestamp needs to declared as unsigned (e.g. uint32_t)
    • W
      WMXZ replied to the thread Teensy 4.1 MEMS INMP441.
      The I2S MEMS microphone (especially the one from Adafruit ( SPH0645LM4H)) can have significant negative offset resulting in always negative values (MSB always set). I use ICS-43434 microphones, that have nearly no offset. You can get them e.g...
  • Loading…
  • Loading…
Back
Top