Please stick with title of thread (comments on, issues with TD1.54b7) and create different thread for detailed discussion on your program implementation
Type: Posts; User: WMXZ
Please stick with title of thread (comments on, issues with TD1.54b7) and create different thread for detailed discussion on your program implementation
After Paul integrated SdFat-V2 I updated code to include directly TD SdFat.h (no -beta anymore)
No need to download Bill's beta version.
Best to remove SdFat-beta from local Arduino Libs and only...
Anyhow, this is a question to TeensyThread (ftrias)
maybe you cannot have TeensyTread AND loop together?
I would first try another thread that only does delay(1000);
The error is in the code you do not show
I though granularity is 16?
It's already included in latest Teensyduino (1.54-beta7) (don't worry about beta)
Good,
Do you have a particular application, microphone, sensor?
If you are using a Windows PC you may try to use VisualCode to open directory.
Normally I would say:
- download code
- edit config.h to reflect your adc situation
open microSoundRecorder.ino with Arduino IDE and compile (Verify)
Don't get worried about include files....
You will be surprised, how much you can do with a lower CPU speed.
Did changing the CPU clock change anything on RF interference?
It seems that the example was using a very transient implementation of SdFat as indicated by
SdioCardEX card;
maybe you try first the SDFormatter examples provided with SdFat library.
or ask...
would it be easy to colour code histogram legend?
@defragster, he said
not sure if the wipe+reload test is already implemented last summer?
Did pressing the program mode button help?
Is there another connection to Teensy running as zombie and locking USB port?
I did some correction and updated https://github.com/WMXZ-EU/MTP_t4/
For @KurtE et al that have WIP forks, this is the new code
void MTPStorage_SD::removeFile(uint32_t store, char *file)
{
...
@sw_hunt
I hooked up a T3.6 and run mtp_test, deleted test1.txt using MTP, removed uSD and checked on PC. File is still there. I will investigate.
Does the same operation work on T4? (Have not used T3.6 for a while)
what exactly do you mean by copy: PC to T3.6, T3.6 to PC, T3.6 to T3.6 same directory level, different directory level?
file...
For the record, uSDFS is ELM-CHaN's FatFs file system that together with MSC from @wwatson can be used with USBHost.
Let's ignore that DFT formula is
y_k = Σ 0,...,N-1 (x_n * e^-i2πkn/N )
i.e. no left-hand side sum
FFT is called Fast because it does not implement this formula, which has O(N^2) complex...
@mala96,
As far as I can see you did not ask any question in this thread
but your post is full of insults, so I urge superusers to take note.
agree completely.
Fun with Teensy is as it is now
All compiled from source code with full control of features
On castellation.
I understand while it could useful, but it would not be useful in presence of bottom mounted components, as done on T4.1.
Also inboard pin soldering would not be possible.
On the...
IMHO, If it is not there it should not be used!
the fact that Arduino/Makefiles are not adapting to changing gcc is not the problem of gcc
maybe there is an equivalent library, or installation of...
Another way to look into this is
For a 1Hz resolution you need an analysis window of 1 second or so and the signal must be stable for all this time.
If the signal is only 0.1 s long, then the...
While I have no idea what RT101X/RT102X is, I would be very surprised if PJRC licenses the bootloader chip code, which, however, is not a question to the forum.
All what I wanted to say is that, at...
a side question
in arm_dcache* functions we find
asm volatile("": : :"memory");
asm("dsb");
if I take disable_irq() we have
#define __disable_irq() __asm__ volatile("CPSID i":::"memory");...
or something like this?
in cmsis_gcc.h
\brief Enable IRQ Interrupts
\details Enables IRQ interrupts by clearing the I-bit in the CPSR.
Can only be executed in Privileged modes....
You do not need RTOS for IPC.
But USA definitions of week are different (not only when week starts)
IMHO, using the audio datapath is better than RawHID, if you can live with the predefined sampling rate.
IIRC, with RawHID you have up to 64 byte/ms.
Obviously, with some low-level programming data...
the reply #2 still holds.
the best way to transfer two queues to the is to use USB-Output and connect it to the two queues. This will take the data and transfer to PC.
what you do with data on PC...
You can easily avoid Arduino pre-processing but continue to use Arduino IDE
Put all your code into a local .cpp file (main.cpp is fine, but can be anything.cpp) and let the sketch.ino file empty....
Please give the exact code to reproduce this observation.
"Aliasing" the signal does indeed work (sampling a 40 kHz signal with 38kHz), but you still have to make sure that no unwanted signal passes through.
In this case you must make sure that no signal...
Kurt, Frank,
thanks for answer.
Yes, in my DMA isr I'm using the arm_cache functions.
I was only confused by the psram_memtest program that uses arm_dcache functions between write and read....
I wanted to know what the proper use of PSRAM is in relation to data cache
I use PSRAM as huge databuffer in my recorder
for this I plan to use the following (simple) Queue object where buffer...
Question now is, is 1.7s freeze related with use of PSRAM or with doubling (or 'wrong'/huge size) in startup.c ?
IOW, do all freeze code use PSRAM?
Is access to PSRAM cached?, does this cache then...
out of curiosity, what is FlexSPI2 used for? only psram?
Yes, I use EXTMEM in my code.
what is the required data rate?
It therefore seems that the overrun counter is 2^28. i.e. freeze is 2^28 IPG cycles
Yes, I have a arm_dcache_flush_delete in my DMA ISR
Serial.begin does not do anything (I even do not use one)
USB_serial is always used if usb_type is set to Serial. you could test using Seremu to see if it is the Serial implementation that freezes....
I2S port also works.
done that years ago with a 1 MHz ADS SAR chip.
However, as it needs good AA filter, I dropped it.
I try since yesterday to generate stand-alone freeze example, but no success. All too deterministic.
Unfortunately my freeze application, which does not freeze anymore (fortunately)
uses as HW ...
as indicated on adafruit web page use only 3.3V and no level shifters as 5V will kill T4.1
In may case it happens middle in the program
24040
while trying to improve my code I got on Serial line the following message
"(NS Blank RT Family (SE Blank RT Family (SP Blank RT Family (FR Blank RT Family"
and
":NXP SemiConductors Inc :" ...
while I completely understand German, would you please add a link to the schematic you are referencing to?
Edit: OK, I'm Bavarian
Yes, that is correct, even micros() gives the correct answer (i.e. consistent with freeze duration)
To be completely honest,
I had always issues with USB after T3.2 times.
In my freeze case I thought it maybe PC, so I run program from battery, disconnecting PC but wrote log to uSD. 1.7s freeze...