-
Older Activity
-
Today, 05:09 PM
More testing - PART 1
I enabled debugging output in the USBHost_t36 library.
With all my output debugging turned off, and only the USBHost debugging, this is what you see for a normal press:
KeyboardController...
1 replies | 58 view(s)
-
Today, 04:48 PM
Morning Kurt
May be a good idea and to see what happens. I have been posting over on the T4 thread about my trials and tribulations with the debug_BT and verbose. May want to take a look.
EDIT:
Bluetooth...
48 replies | 2749 view(s)
-
Today, 04:36 PM
Hi guys,
Yep - the majority of the time, I have issues connecting as well some of the time it does connect, but most of the time not.
Note: to see that joystick has connected as part of Bluetooth, the current...
48 replies | 2749 view(s)
-
Today, 04:02 PM
@defragster/@KurtE
Ok - posting back over here because this may be a T4 only issue. I incorporated Tim's debug code into the Bluetooth.cpp file where the #debug_bt statements are and some strange things. So take a...
1801 replies | 45548 view(s)
-
Today, 03:50 PM
T3.6 and Bluetooth
@KurtE/@defragster
I soldered up the USB header to the T3.6 and used the USB Cable from PRJC to connect a dongle. I uncommented verbose and it compiled and ran no issues - no hanging...
48 replies | 2749 view(s)
-
Today, 03:49 PM
No one is telepathic and can't guess you problem. souce code is a MUST if you want help.
1 replies | 24 view(s)
-
Today, 03:35 PM
I think I understood the MAC Instructions. The Problem is more how the MACinstructions together yield the IIR filter.
One detailed question: You sometimes and sum with 0x3FFF. I dont understand why.
b0 = *state++;...
2 replies | 18 view(s)
-
Today, 02:15 PM
Thanks for the quick reply, you code is exactly what I was looking for.
All that is required is video clip playback from DMX trigger. No blending or masking etc.
As soon as we get the parts, Teesy 3.6 etc we'll...
2 replies | 41 view(s)
-
Today, 02:09 PM
Hi @defragster - With that joystick, hard to say what the mode button does? Maybe it changes the configuration of messages to something specific for some driver or????
As for Mouse - using the USBHOST_PRINT_DEBUG...
1801 replies | 45548 view(s)
-
Today, 01:58 PM
For the multiply & accumulate instructions, read pages 107-108 in this document
https://static.docs.arm.com/ddi0403/eb/DDI0403E_B_armv7m_arm.pdf
2 replies | 18 view(s)
-
Today, 01:46 PM
Thanks a lot, I now found the files.
2 replies | 42 view(s)
-
Today, 01:38 PM
I am trying to figure out how the IIR filters are implemented in the audioLibrary: filter_biquad.cpp. But I really struggle at that code. Perhaps someone could give me some hints. As far as I understand the CPU can only...
2 replies | 18 view(s)
-
Today, 01:02 PM
Okay I can sleep now - updated T4_demo/... debug_tt compiles at least for T_3.6.
Works up to a point where Serial goes bonkers? Had to remove the T$ specific FAULT with GPT1_CNT in sketch as shown. The attempt to...
48 replies | 2749 view(s)
-
Today, 11:50 AM
I'm still waiting on the Arduino developers to merge this, before I can support Teensy on arduino-cli
https://github.com/arduino/arduino-cli/pull/109
25 replies | 1514 view(s)
-
Today, 11:26 AM
I did see that which is what gave me some inspiration to do this stuff in honesty! I went with a 3.5 as it seemed to fit the bill and not be over specced for what was needed. I'm assuming the SD isn't being read fast...
2 replies | 60 view(s)
-
Today, 11:04 AM
Hello Paul,
It seems platformio had it all figured out already, so I went with that.
Thanks for the teensies. :)
25 replies | 1514 view(s)
-
Today, 10:06 AM
Hello Paul,
I see that the Teensy 3.2 is detected by arduino-cli as
FQBN Port ID Board Name
/dev/ttyACM0 16c0:0483 unknown
Is there a way to make...
25 replies | 1514 view(s)
-
Today, 09:50 AM
Kurt - ordered the Bt Dongle you are working with. You posted this last year - hopefully working? - this is an updated version Rii FMKBTL1-IV1 i8+ BT Mini Wireless Bluetooth . Got that and a Bt Logitech mouse and a...
48 replies | 2749 view(s)
-
Today, 08:18 AM
These are not functions/objects of the audio library, but of the Teensyduino core files: AudioStream.cpp and AudioStream.h
2 replies | 42 view(s)
-
Today, 08:13 AM
Man... Read the reference manual... By default and to save energy, many of the internal peripherals like the DAC are disabled by default and trying to access the corresponding registers leads to a hard fault.
While the...
1 replies | 30 view(s)
-
Today, 08:00 AM
I posted on T4 thread - USB T4 Joytstick and Mouse code worked.
Just plugged in the same mouse to T_3.6 and it works the same - recognized and worked except for the wheel:
Both my Bt dongles seem to act the same....
48 replies | 2749 view(s)
-
Today, 07:59 AM
I am very new to the tensy36 board. I am trying to access CPU-registers directly.
Some code really works well. For example:
// show data direction including PIN13=LED pin
reg=GPIOC_PDDR ; Serial.printf("GPIOC_PDDR...
1 replies | 30 view(s)
-
Today, 07:07 AM
There are some devices that can't share a SPI bus. I've seen posts that for problematical devices you need an external tri-state buffer for the devices.
Next step is to look at the drivers for both the RFM and your...
1 replies | 21 view(s)
-
Today, 05:51 AM
Quick note - just pulled KurtE's WIP2-Bluetooth branch of USBHost_T36 on T4 w/Breakout and it recognized this many years old Joystick:
9 buttons, slider, 2 joys and 4 way direction all came through.
It has a 'mode'...
1801 replies | 45548 view(s)
-
Today, 05:24 AM
The diagram does not represent the cables length, 5v and GND is connected from the power source, the reference, the receiver and the strip at the same spot. I was also told to feed the transmitters directly from source...
15 replies | 424 view(s)
-
Today, 05:06 AM
I am trying to display data from an RFM95 module onto a 1.8 tft display.
I have no problem operating either device using SPI.h.
However, when trying to operate them together, the display quits after the first...
1 replies | 21 view(s)
-
Today, 05:06 AM
Good to see that came out usably.
I'll look at that and see what I see. As an Assert interrupts are running - this is just a normal code break. If the key entry like 'd' doesn't work I suspect your 'Terminal unit' is...
48 replies | 2749 view(s)
-
Today, 04:42 AM
I dunno. Using twisted pair for your rs485 wiring? Gnd connected at the first led and not at power supply. I think I was told this matters. I don’t see 1 strip of lights pulling gnd too high unless your power wiring is...
15 replies | 424 view(s)
-
Today, 03:56 AM
Ok. Couldn't sleep thinking about this so I put in just the baud rate change and reran the trace_tt.ino example sketch. This time it worked fine, just like advertised.
j ___ ASSERT FAILED ___ FILE >>...
48 replies | 2749 view(s)
-
Today, 03:28 AM
I should get it set up here shortly after dinner and can see what I findAnd make sure the _tt helpers are working right and not adding trouble ...
48 replies | 2749 view(s)
-
Today, 03:26 AM
Tim - My eyes are closing right now but I can't resist trouble shooting, that's the fun part. I will give it a try again.
48 replies | 2749 view(s)
-
Today, 02:59 AM
I think I'm awake enough to get it to work on T_3.6 and test USB at least with debug_tt.
<edit> Mike - unless the T4 faults the Serial#.prints should work without trouble and don't use the .flush() code?
48 replies | 2749 view(s)
-
Today, 02:39 AM
We recently built a Bumblebee Transformer Magic Wheelchair using Teensy 3.6 and the Audio Shield, and now we are sharing our knowledge with another Magic Wheelchair build. We have a problem that arose during the...
1 replies | 58 view(s)
-
Today, 02:38 AM
Tim
Not sure - will solder up a header to the T3.6 in the morning and give the sketch a try. Will also go back and give it another go to try and duplicate. I will post my steps as I go so you can see what I am doing...
48 replies | 2749 view(s)
-
Today, 02:27 AM
Sorry, I missed the Teensy to MAX485 5v wire in the last diagram, this one is corrected:
15 replies | 424 view(s)
-
Today, 12:55 AM
Are we on a T4 issue? Does the Bt code run/fail the same on T_3.6 as T4? If T_3.6 is as good a test bed I could set that up and make sure the debug_tt stuff is good to go there. On T_3's I only ever got as far as...
48 replies | 2749 view(s)
-
Today, 12:51 AM
Very Odd - using TyComm as only SerMon and uploader/ I've seen my share of oddities - but that doesn't sound right. And your serial port device ( Teensy running EchoBoth in my case ) was given the same baud rate? And...
48 replies | 2749 view(s)
-
Today, 12:18 AM
Ok. I think faster than my fingers can follow. Yes it should be "undid the changes". The answer is yes it was- higher baud rate on Serial4 and new "flush" code. Just in case I messed up I tried one of the examples...
48 replies | 2749 view(s)
-
Today, 12:18 AM
Yes, it is, it always was, but it's not accessible for me right now. :(
Here it is:
15 replies | 424 view(s)
-
Today, 12:07 AM
Odd - should that be 'undid the changes'? Is that for higher baud on Serial#4 and the 'flush' code?
48 replies | 2749 view(s)
-
Today, 12:06 AM
Good point you have there. I didn't thought of that because I have only one device on the bus. That should be the reason why SPI.begin() does not take care of the configurations.
6 replies | 63 view(s)
-
Today, 12:03 AM
Just observing … SPI is a multi device bus. Until beginTransaction() the device specific params to define 'put the bus in its operating state' are not known, that is part of the value of beginTransaction().
6 replies | 63 view(s)
-
Today, 12:03 AM
Ok Tim. The bad news is with your changes the T4 got really bricked - I under the changes I made to debugprint.c and HardwareSerial and then it started working again. Thought followed them - I uncommented and inserted...
48 replies | 2749 view(s)
-
Yesterday, 11:53 PM
I didn't though of that. I will give it a try when I'm near the board. Afterwards I will post the result.
Nonetheless I think this should be considered as a bug. SPI.begin() should put the bus in its operating state...
6 replies | 63 view(s)
-
Yesterday, 11:49 PM
Yes setDataMode is depreciated... Why not just start off like:
SPI.begin();
SPI.beginTransaction((SPISettings(500000, MSBFIRST, SPI_MODE3));
SPI.endTransaction();
6 replies | 63 view(s)
-
Yesterday, 11:40 PM
I got video running on a 3.6, but never on a 3.5 - there was a DMA problem I never solved (I must confess, I not tried it very intensively, because at that time T3.5 had less RAM than a 3.6 :)...
2 replies | 60 view(s)
-
Yesterday, 11:31 PM
Ok, since you have that many i'll take 36 - thank you - you all are the best.
Got it - guess I will go with the TPS2055A for the next revision of the board - and until then - no hot swapping :)
1801 replies | 45548 view(s)
-
Yesterday, 11:30 PM
Got it - WEB fork and Desktop Clone of that - then WIP2-Bt branch and ' OPEN IN SUBLIME TEXT' - and it opens that folder with the indicated Bt examples.
If I'm parsing the intent perhaps this?
debTrace_tt(...
48 replies | 2749 view(s)
-
Yesterday, 11:22 PM
Yep. You should see a couple of BT examples (joystickBT and mouseBT)
48 replies | 2749 view(s)
-
Yesterday, 11:16 PM
Looking at github KurtE is this the right branch:: USBHost_t36/tree/WIP2-Bluetooth - 3 days since update?
48 replies | 2749 view(s)
-
Yesterday, 11:12 PM
Mike - looking at the post. First note - maybe it helps:
The macro :: #define debTrace_tt( a, b, c ) { debTrace_ttf( (uint32_t) a, (uint32_t) b, (const char *) c, __LINE__, __func__); lastF_tt=(char*)__func__;...
48 replies | 2749 view(s)
-
Yesterday, 11:10 PM
Before I start soldering I thought to ask if this makes sense?
6 replies | 187 view(s)
-
Yesterday, 10:53 PM
Why am I writing this post? Perhaps it’s because I have had some difficulty in getting the performance I would like from the ADC. My needs are simple: 12-bits of resolution, moderate noise, a moderate impedance input...
0 replies | 20 view(s)
-
Yesterday, 10:51 PM
Tim
Use Kurt's repository version - he merged my changes in so both should match unless Kurt pushed something today.
BTW: I just finished updating core, hope I did it correctly, but I get a compile error when I try...
48 replies | 2749 view(s)
-
Yesterday, 10:42 PM
Paul, Yes - I did. Used it to confirm KurtE's Serial #1-#8 work and also minimal USB Host samples run - looking to setup USB_HOST(Bt) to test debug_tt for logging USB_Host events. OH - and I ran some examples on...
1801 replies | 45548 view(s)
-
Yesterday, 10:40 PM
The problem is that SPI.setDataMode is deprecated by Arduino see https://www.arduino.cc/en/Reference/SPISetDataMode and this behaviour causes the slave (LTC 68111) to ignore the first message because the clock is not...
6 replies | 63 view(s)
-
Yesterday, 10:39 PM
I connected one of the PJRC USB cable plugs I just got on a T_3.6 so I can test on that and 'other T$' unit. If I went through swapping the _usbH_debug for debug_tt as trace it would let me confirm the 'new' code still...
48 replies | 2749 view(s)
-
Yesterday, 10:39 PM
I have at least 150 left here, so might as well wish for what you want!
Trouble with putting a 120 uF cap on the 5V line is that's 12X over the limit the USB spec says for a USB device.
On the breakout...
1801 replies | 45548 view(s)
-
Yesterday, 10:36 PM
I believe that the system will only take it into effect if you ask it to... That is when you do the SPI.beginTransaction(), with a configuration that sets it to that state.
Alternatively you can I believe still do...
6 replies | 63 view(s)
-
Yesterday, 10:30 PM
I'm trying to make the keypad library to work with more than 11 rows, and it doesn't seem to work.
Everything works fine if I configure only 10 rows.
As soon as I put 11 rows, it starts acting weird, multiple...
1 replies | 24 view(s)
-
Yesterday, 10:25 PM
Thanks for the clarification!
2 replies | 56 view(s)
-
Yesterday, 09:12 PM
Wow. Thanks for the offer. I am only testing USB right now, no underside pins, so maybe about 8 or so. Don't want to push my luck :)
I do have a question, if I may. I was reading that a minimum I should have a...
1801 replies | 45548 view(s)
-
Yesterday, 09:04 PM
I am using a different dongle so this is what I get and then it just hangs after that:
USB Host Testing
960
*** Device Bluet a12:1 - connected ***
BluetoothController::find_driver driver 200040d8...
48 replies | 2749 view(s)
-
Yesterday, 09:03 PM
Greetings,
I've been searching these forums for weeks for a similar issue, but must not be asking the right questions.
Here's the TLDR:
After upgrading my Teensy 3.2 to 3.6, I started having issues once I...
0 replies | 20 view(s)
-
Yesterday, 08:50 PM
If SPI settings are set to SPI_MODE3 clock signal should idle at HIGH but before doing:
SPI.beginTransaction(LTC6811_SPI_config);
and after doing SPI.begin(); being
LTC6811_SPI_config = SPISettings...
6 replies | 63 view(s)
-
Yesterday, 08:38 PM
I believe they were this one, 12.5 mm height.
https://www.aliexpress.com/item/100pcs-Spring-Loaded-Pogo-Pin-Connector-9-5-10-0-11-0-11-5-12-0/32910364279.html
How many do you need? I have plenty left over. We...
1801 replies | 45548 view(s)
-
Yesterday, 08:21 PM
I must confess, I haven't used WM8731 in slave mode (Teensy as I2S master) since the very earliest days of the audio library. Before we had the STGL5000, I did some of the earliest development using a MicroE-506 hacked...
9 replies | 550 view(s)
-
Yesterday, 08:21 PM
@Paul and JBeale
Thanks for clarifying this for me.
1801 replies | 45548 view(s)
-
Yesterday, 08:06 PM
One thing I was noticing when using the Mouse.ino sketch. And the other one as well. When I have the code in to the bind...
I notice: the debug output:
USB Host Testing
960
*** Device Bluet a12:1 - connected...
48 replies | 2749 view(s)
-
Yesterday, 07:46 PM
You can use a built-in pullup or pulldown to keep an input from floating near Vdd/2 where MOS gates have excess power dissipation. A "keeper" automatically switches between pullup or pulldown depending if the pin is...
1801 replies | 45548 view(s)
-
Yesterday, 07:42 PM
It's like a pullup or pulldown resistor. Unlike a fixed resistor which always pulls towards a particular logic level, it weakly pulls the pin in whatever direction it already happens to be. This is a nice advantage if...
1801 replies | 45548 view(s)
-
Yesterday, 06:55 PM
May I ask the question, what means keeper? what is the equivale circuit? I never saw that in electronics, I was checking equivalent text for the T3.x and I could not find this term.
1801 replies | 45548 view(s)
-
Yesterday, 06:38 PM
Yeah, that was what I was thinking but today is one of those days that I keep getting sidetracked with other projects around the house that I have to get done. Or it could be a power problem since I am coming off a...
48 replies | 2749 view(s)
-
Yesterday, 06:34 PM
@JBeale,
Not sure the best way to handle this. There are a couple of options, maybe put it into the initialization function for ADC, but not sure what that would impact. Don't think it would.
Anyone reading this -...
1801 replies | 45548 view(s)
-
Yesterday, 06:27 PM
Yes! Thank you, I can confirm that adding this line to my setup removed the glitch around count 2078 that I found earlier. Now when you look at the standard deviation along the curve you see only the typical...
1801 replies | 45548 view(s)
-
Yesterday, 06:12 PM
Thanks Frank. I fetched your copy of Audio lib and tested MQS with 100 uf cap from pin 12 to speaker and generated 440 hz sine wave
// teensy4 mqs frank's audiolib pins 10/12 rt/left
// start monitor to hear...
1801 replies | 45548 view(s)
-
Yesterday, 06:11 PM
Hey Paul, I'm waiting for a new soldering iron tip and haven't had a chance to hack the board yet. I did, however move things around a little bit for the next revision board. I moved one of the .1uf caps right next to...
6 replies | 110 view(s)
-
Yesterday, 05:54 PM
Ah yeah, thanks very much, Paul! I hadn't even considered that. I've fixed this now, and it solves the issue with Serial.print(). Still no sine wave though. :( Do my connections look correct in the schematic? I'm seeing...
9 replies | 550 view(s)
-
Yesterday, 05:18 PM
When profiling performance, always make sure your calculations have side effects (with minimal overhead) to prevent compiler optimizing out your profiling code. For example keep accumulating the results and print out...
4 replies | 58 view(s)
-
Yesterday, 05:07 PM
That does sound very frustrating :( I glanced at the Bt debug code - it seemed the trace_tt could go in place of those prints for logging in real time and then printing after the event
48 replies | 2749 view(s)
-
Yesterday, 04:13 PM
Ok. This is getting frustrating. Went off and ran a few other sketches then came back to Bluetooth. Now its hanging again when I do the debug prints and if I comment them out it gets to the point of connecting to...
48 replies | 2749 view(s)
-
Yesterday, 03:53 PM
@paul
I picked up the wrong pogo pins for my breakout board - can you tell which ones you used for you breakout board?
Thanks
Mike
1801 replies | 45548 view(s)
-
Yesterday, 03:51 PM
I checked this morning and it looks like keeper is enabled by default. But whats interesting is that you only see it once. To disable in setup is relatively easy: IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_02 = 0xb0; This of...
1801 replies | 45548 view(s)
-
Yesterday, 03:18 PM
Thanks a lot for your helpful comments. I just got my Teensy 36 this morning. I am now learning a lot. I am very glad to have a board with floating-point capability without an operating system. Expect further questions...
4 replies | 58 view(s)
-
Yesterday, 03:14 PM
CMSIS-NN IMAGE RECOGNITION EXAMPLE
A while ago I ported over one of the CMSIS Neural Network examples to run on a T3.x using the DSP v5. So I decided to do a little benchmark between the T3.6 and T4 for a CIFAR10...
1801 replies | 45548 view(s)
-
Yesterday, 02:51 PM
Definitely use OctoWS2811. You'll need the non-blocking feature to be able to reliably receive DMX message which arrive while the LEDs are updating.
There's an example which plays uncompressed raw data from the SD...
2 replies | 41 view(s)
-
Yesterday, 02:39 PM
AudioInputI2S uses pin 13 to receive data, so this is a conflict:
constexpr const int IN_BUILT_LED_PIN(13);
9 replies | 550 view(s)
-
Yesterday, 02:22 PM
Yes, the compiler is amazingly good at optimizing away math when all the inputs are constants known at compile time.
Also consider using cosf(). The normal cos() function, without the "f", uses 64 bit double which...
4 replies | 58 view(s)
-
Yesterday, 02:20 PM
Having experimented with this a bit more, it seems that 600uF (2x 1000uF in series plus 100uF in parallel) fails to start, with a rise time (10% to 90%) of around 2.6ms works about 10% of the time. 500uf (above but with...
2 replies | 56 view(s)
-
Yesterday, 02:15 PM
You could try with d=random(min, max) instead of 0 (I let you decide which min and max are best), so that the MCU has to do the math every single time in your infinite loop.
4 replies | 58 view(s)