So your path is i2s -> abs ->biquad -> etc.
The abs is a non-linear operation (all negatitv values are flipped to positive) and therefore is generating an infinite amount of distortions.
'byte RTC_WriteByte(int, byte)' means the function should be returning a byte value.
There is either no return statement before the end of the function, or there is only "return;" with no value, or the function definition should be changed to not...
Sorry for reactivating this old thread, BUT tried the program again on a T4.1, but Teensy does not hibernate anymore (A2.3.2, TD1.59 ) Teensy shuts down and restarts immediately (no 15s hibernation)
Edit: It turned out to be a bad RTC battery...
Years ago I did some tests and a recorder for sgtl5000 that you could use as a starting point.
tests (T3.x): https://github.com/WMXZ-EU/test_sgtl5000
recorder(T3,T4): https://github.com/WMXZ-EU/record_sgtl5000
programs have not been updated in...
The warning is due to the use of FS.h by TD which conflicts with the native SdFat implementation.
It always shows up if you use Bill's nativ SdFat with TD.
The correct way is to only use the SdFat provided by TD and not other installations (e.g...
SdFat is now integrated into TD and SD is a wrapper to SdFat.
Best to check Bill Greimans SdFat repository for changes to beta version.
You have two options: Use SD wrapper to SdFat
or use SdFat directly, but this needs to be adapted to the...
Edge on Windows11 Home,
Version 10.0.22631 Build 22631
AV: McAfee
Make sure you trust hello2.exe before you open it
Microsoft Defender SmartScreen couldn't verify if this file is safe because it isn't commonly downloaded. Make sure you trust...
If you really wanted to use a PDM microphone (e,g. using the elecrow breakout board) you should first understand what PDM really is. Next, I would check how the board is interfaced to the STM32L4 board. Further, I would implement the CIC filter...
similar to what you figured out, my applications make sure that at the beginning that MTP is initiated by host but during data acquisition mtp.loop() is NOT called inhibiting responses to PC requests. After acquisition, MTP is reset (either by...
T4.1 should be able to sample at 768 kHz as acording to Table 7.6, Teensy must only provide 24.576 kHz Bitclock.
IMO, you have two options:
16 bit I2S (2channel according to I2S protocol, where frame-sync is 16 bit high-16 bit low, resulting in...
You can use RAW HID and Mouse together, if you are using a RAW-HID + Mouse USB_mode. As this is not in the Teensyduino list, you can /must compose your own. Or, you encode Mouse operations into RAW-HId operations in PC and decode them in Teensy...
You can only use the the USB mode you selected.
Raw HID for raw hid only
Keyboard+Mouse+Joistick for Keyboard and/or Mouse and/or Joystick
etc.
The different modes provide the needed USB description
BTW, do you really still have a Teensy 2.0 ???
I guess, part of the task is to demonstrate how these interfaces work. What I would do is to take your STM32 implementation as API template and study/use the Teensy implementations together with the IMRXT datasheet and fill your API. It can be...
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...
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...
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.
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) =...
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.
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
@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...
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...
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...
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...