Starting to have some success with the match :D
I changed:
_pflexio->SHIFTCFG[_fshifter_jpeg] = FLEXIO_SHIFTCFG_PWIDTH(31) | FLEXIO_SHIFTCFG_INSRC;
To PMOD to transfer 32 bits instead of 16 and things started to work.
Although it...
You would normally want to be able to pass the preset value in both directions (if increasing the knob, where the preset value is higher than currently; and if decreasing the knob, where the preset value is lower than currently).
Starting to have some success with the match :D
I changed:
_pflexio->SHIFTCFG[_fshifter_jpeg] = FLEXIO_SHIFTCFG_PWIDTH(31) | FLEXIO_SHIFTCFG_INSRC;
To PMOD to transfer 32 bits instead of 16 and things started to work.
Although it...
I made an interesting discovery this morning: If I put a powered USB 3.0 hub between the Lepton T3.2 and the Host Serial port of the T4.1, the data upload speed increases dramatically! Without the hub, the upload of a 38400-byte frame takes...
I'm having other issues with the HostSerial receive that are puzzling. The T3.2 device sends good frames to my PC, but when I try to read with HostSerial, I get lots of garbage data or no data at all in the destination buffer. I think I may...
While RS-232 has higher voltage, on the Teensy 4.0/4.1/micromod (and on the legacy Teensy 3.0,3.6, and LC), the voltage on the TX and RX pins must be 3.3 volts. If you use higher voltage, you risk burning out the Teensy. Only on the legacy...
Since you are doing a c# application you might be interested in TeensySharp.
https://github.com/luni64/TeensySharp
Getting a list of currently connected Teensies is a simple as this:
var Watcher = new TeensyWatcher();
foreach (var Teensy in...
It works! Thanks for the help.
For anyone else with the same problem as I had. Just add this:
time_t getTeensy3Time()
{
return Teensy3Clock.get();
}
In setup or your custom init function place do:
setSyncProvider(getTeensy3Time);
Ignore the...
It works! Thanks for the help.
For anyone else with the same problem as I had. Just add this:
time_t getTeensy3Time()
{
return Teensy3Clock.get();
}
In setup or your custom init function place do:
setSyncProvider(getTeensy3Time);
Ignore the...
First again thanks for the input.
So far I am not having much luck. probably something stupid I am doing and even more likely probably in some of the things I don't understand properly.
When I setup the initial FlexIO, the main shifter is...
First again thanks for the input.
So far I am not having much luck. probably something stupid I am doing and even more likely probably in some of the things I don't understand properly.
When I setup the initial FlexIO, the main shifter is...
First again thanks for the input.
So far I am not having much luck. probably something stupid I am doing and even more likely probably in some of the things I don't understand properly.
When I setup the initial FlexIO, the main shifter is...
I know that most of the time RS-232 has a voltage > 3.3v but I do have a device that has a RS232 "like" interface which has a maximum 3.3V output (Vcc).
As a consequence, would it be possible to interact with it from Serial1 pins for example ...
Ok all been at it some more with trying out scaling and rotation took most of yesterday to figure out.
Did find that just using a macro to set the corners never changed the actual registers so initially things were screwy, so added a function to...
To smoothly draw the FFT spectrum on your TFT screen without blinking and quickly, you can use a technique called full spectrum extraction. Instead of redrawing each line individually, you can calculate the changes in the spectrum and update the...
Thank you Paul. No external PSU. Power is being taken directly from the VIN pin to the regulator, which is onboard the PCB; it's 2A as I recall.
Only reason for the regulator is the unit has 4 RGB buttons with 3 LEDs each, so 12 LEDs, which...
Could you explain how the power supply works? Is all the board's power coming from the USB cable connected to Teensy? Or is external power connected (maybe not shown on this schematic)?
I have another question: the string contains the USB port details i.e -port=usb:0/140000/0/1. However this port can change and I don't know how to find it under windows. As an example when downloading the firmware onto ES32 the string contains...
Could you explain how the power supply works? Is all the board's power coming from the USB cable connected to Teensy? Or is external power connected (maybe not shown on this schematic)?
Ok all been at it some more with trying out scaling and rotation took most of yesterday to figure out.
Did find that just using a macro to set the corners never changed the actual registers so initially things were screwy, so added a function to...
In the interest of discovery, I am posting the schematic for the unit in question. I won't keep it up too long, but hopefully it can help figure this out.
Thanks,
Mike
Ok all been at it some more with trying out scaling and rotation took most of yesterday to figure out.
Did find that just using a macro to set the corners never changed the actual registers so initially things were screwy, so added a function to...
Ok all been at it some more with trying out scaling and rotation took most of yesterday to figure out.
Did find that just using a macro to set the corners never changed the actual registers so initially things were screwy, so added a function to...
Just FYI I'm now at 5 "defunct" Teensys and main boards...wish I wouldn't have already soldered them into the main boards.
Obviously there's something going on here.
Per Paul's suggestion I tried a different USB cable, and port, but no joy...
So I checked out that thread that @PaulS shared; it seems there is something similar happening for me, but with the Teensy 4.0s. And not all of them. At least the older ones didn't have an issue.
I've posted a question there and linked to this...
Could any of this apply to a Teensy 4.0? Doesn't have pins 24-25 but I'm getting similar issues on some - not all - lockable Teensy 4s bought in the last few months.
I share about it in this thread.
Thanks; I'm getting a bit desperate with...
Good insight.
Yes, all the hardware is lockable Teensys.
However, some failed prior to even going past first of 3 locking procedures. In other words they weren’t even yet locked.
Thank you.
Are all the failures happening with locked Teensys?
Given nobody here has seen any code, schematics, etc. of anything you're using, the chances of anyone having any insight into the problem is very low.
Are all the failures happening with locked Teensys?
Given nobody here has seen any code, schematics, etc. of anything you're using, the chances of anyone having any insight into the problem is very low.
Guys, I am tasked to prove that the ADC sampling rate of Teensy4.1 is 1MSPS or something close. Part of the project is about when the ADC, say A0 is connected to the signal generator and I supply frequencies between 5kHz and 10kHz to the teensy ...
Thank you. The design works. I have units running on this PCB no problem.
The PCB is also an nth generation derivative from previously working designs.
So I have perfectly working units on this same run of PCBs.
I’ve never had a teensy just...
Given it's a non-production board I think it would be fine to skip the current limiter / ESD protection. The 4.0 devboard works fine in host mode but I always either use a hub or make sure not to hotplug anything directly to the board, just to be...
Thanks for the answer, it seems adding that line solved that issue. But now it can not find the libudev.so.1
AVAILABLE: jlink, teensy-cli, teensy-gui
CURRENT: upload_protocol = teensy-cli
Rebooting...
teensy_reboot: error while loading shared...
Hello,
I'm building a small 2 in 2 out midi interface with a teensy 3.6.
2 questions: is it possible to power the teensy by the midi in cable?
Is it possible to automatically switch between USB power supply and midi power supply?
I would like to...
Given it's a non-production board I think it would be fine to skip the current limiter / ESD protection. The 4.0 devboard works fine in host mode but I always either use a hub or make sure not to hotplug anything directly to the board, just to be...
A good IMU+GPS integration could be found on the Ardupilot project. It is mainly based on STM32 hardware.
In the Plane sub-project, centripetal forces are taken in account. Depending on your application, you should use it.
Angelo
Any modern GNSS will include SBAS however that is only for GPS so you often have the choice of GPS+SBAS or GPS+GLONASS+Galileo+Beidou.
If you have a good clear view of the sky GPS+SBAS will be best, if your view of the sky will be partly obscured...
Note: I edited the previous post to show the SerialX objects that the DB4.5 plus the 6 pins suggested to be added
(all of the missing AD_B1_xx pins).
For Arduino SPI objects:
SPI is setup to use the LPSPI4 object: With the pins as mentioned...
Hoping that sketch worked? Indeed it provides the 'link' from RTC hardware to the usable MCU time keeper.
Assuming this is a new connect added after the DevBd 4.0 and not present on that board? the one label copied from T_MM design isn't the RTC...
Any modern GNSS will include SBAS however that is only for GPS so you often have the choice of GPS+SBAS or GPS+GLONASS+Galileo+Beidou.
If you have a good clear view of the sky GPS+SBAS will be best, if your view of the sky will be partly obscured...
The Responsive Analog library can help with this. It has an knob.hasChanged() method (taking knob as the object) and in there you can check if you have a preset loaded and if the value of the knob has reached the value of the preset, only then...