On STM32, I used ChibiOs. It supports a lot of STM32 peripherals with kernel functions, and a lot of familly members. But no port for Teensy.
On Teensy, I used Freertos with no problems. I used the port from tsandmann.
One of the problem with...
I have problems with SD and even SIM cards on railway machines. Conditions are probably worse than on a truck, but you need only one severe bump to have data corruption.
What's the pulses frequency ? Hz, kHz, MHz ???
The Teensy runs at 600MHz. If the frequency is low, you could accept the little overhead introduced by an interrupt on each pulse.
It is ok to ask for better bags for ESD protection.
But be consistant. At home, who use antistatic carpet, wear antistatic shoes, antistatic bracelet connected to antistatic mat on the desk ???? ;)
At 240Mb/s, no breadboard prototype would work. Even the prototype should be done on a real pcb.
There are some FPGA eval boards fitted with SDRAM. Connect the ADC on one side, and fill the SDRAM with the fast data. It will ensure you keep the...
Never used SD, but if I was you, I would first try to copy file1 handler in file2. Something like memcpy( file2, file1, sizeof ( put the file_handler_type here ))
But i could be totally wrong :)
On the PC side I use existing old software, which connect to devices with COMx port only.
I have found some port redirector software. I should write the Teensy side, which should not be that hard.
It could be a solution, but I need to modify some files to add serial endpoints.
Ethernet is the prefered solution. It will open future extensions. It also provide isolation to avoid ground loops.
For a project, the Teensy is conncted to 2 devices with serial ports. But the Teensy should show the 2 physical serial ports and 2 "virtual" serial ports to a PC. On the PC, 4 standard COM port should be present, to be used by existing software...
I would try the examples included with the library repo. No modifications. They should run fine. Then changing CPU and/or SPI speeds will validate your hardware, power supply,....
Is the ILI9341 fast enough, to support large DMA, fast...
Jean, have you tried very basic sketches or examples, in order to isolate the problem: is it the hardware, the 816MHz cpu speed, SPI speed, your software, the buffer declaration or the ILI9341-t3n library.
As the power supply is not part of what you sell, I would test with a battery having a typical cable lenght, about 1-1.5 meters.
The high frequencies could also come from fast switching signals. I had problems with simple TO92 FETs switching some...
You probably measured some frequencies present in your device, which are using the DC adapter cable as antennas
When I made tests, I use a battery pack. This ensure I don't measure my power supplies quality.
And when I should use a power supply...
Do you have pictures of the DUT, device under test ???
Do you have cables with length corresponding to these wavelength ???
~0.5-2 meters for the 150-600MHz range? And then half or quarter of these length.
If emissions are comming from the...
Teensy is more sensitive to "unwanted voltage" on its pins than the average AtMega328 Arduino.
Filter power supply you provide : TVS, diodes, capacitors, coil, ferrite,.....
Don't connect any external signal directly to I/O pins whithout...
Inputs pins are either digital or analog, not both at the same time. It is related to the chip pin configuration.
To solve your problem, use two separate pins connected to the same signal: one in digital mode for the interrupt, the other in...
In my application, I use a Ublox GPS at 115200 with ubx protocol, at 10Hz updates. And a ILI9341 TFT. I added 64 bytes buffer. No lost bytes from the GPS.
At 9600baud, one byte is 1.04ms. For a buffer of 255, it will overrun after 265ms. It is...