Out of curiosity, I went back to the original problem statement from when Defragster first detected this issue with the Audio Tutorial 3-3. I put everything back to original except I increased SPI clock to 80MHz and that also resolved that...
I built this and also verified that it works OK as well. Out of curiosity, I increased the SPICLOCK from 16MHz to 40MHz and still works OK.
The speed improvement tracks almost exactly with the increase in SPI speed. SPI is definitely the...
@h4yn0nnym0u5e I downloaded your library and compiled your example. It works as expected. Also confirmed that changing to setMaxTransaction(100000) does break it as expected.
I then compiled the Defragster version of the sketch and it works...
Good work on that. I just tried your fix on the 2 test examples we have been using and it looks good to me on first pass. I will try to spend some time this afternoon on some other test cases.
Drefragster has to limit his typing, so I will try to answer your question.
The Mini Platform that Defragster is referring to is this one: https://protosupplies.com/product/mini-platform-teensy41/
The demo code is simply the example software...
@PaulStoffregen I am wondering if there is still any plan to address this bug in the 1.60 release.
The ILI9341 library patches this by breaking potentially large SPI transactions like fillRect up into smaller chunks.
Basically looking for...
A fix in the Audio library would be ideal, but from what I have read it is unclear if that is even possible and probably not something that would be done in the near-term, if at all.
Most drawing functions like unfilled rectangles, circles and...
The fillRect function in the library has the note below.
// TODO: this can result in a very long transaction time
// should break this into multiple transactions, even though
// it'll cost more overhead, so we don't stall other SPI...
Came across something interesting based on Defragster's comments above.
Using his code that illustrates the issue with the ST7796, I first changed the bar height down to 120 to reduce the amount of pixels being drawn by 50% to see if it had any...
There are no significant differences in the basic display wiring between the two. Both are on SPI0. CS moved from pin 40 on ILI9341 to pin 10 on the ST7796.
The display is the only thing on the SPI0 bus on either version, except that the...
The hash marks are the same between PJRC and Sparkfun boards. If it is morse code, it would be RU and could stand for the material being UL listed perhaps, though that seems like a bit of a stretch.
Parts I have received from Sparkfun do have newer 2503 date codes, not to say there aren't some older parts out there.
The boards appear identical including fab and overall build quality under a microscope. Also the bit hashes by the USB...
I have a limited quantity of the double-insulator version available: https://protosupplies.com/product/header-male-1x14-double-insulator/
I personally tend to use these more commonly available extended tail headers to build assemblies and just...
Not totally sure if this will work, so just brainstorming here.
The CAN bus transceiver receive pin going to the Teensy is always being driven either HIGH or LOW. If there is no CAN bus activity or it is disconnected, the output is driven LOW...
@PaulStoffregen can you confirm whether Sparkfun will be using your production fixtures for their own production line so that the testing level should remain consistent?
intermittent SPI operation, especially when it is affected by putting a scope probe or finger on it (adding a small capacitance), usually indicates a signal quality issue related to wiring layout from my experience. Either ringing on the lines...
Grounding the MCLK pin by shorting the solder pads next to that pin to force internal clock generation is how MIcroDexed uses this module in their system which works quite well, so I don't think that would be a factor in why it stopped working...
I think your circuit basically looks OK. It is important that the 5V to Teensy never exceed 5.5V or it will damage the Teensy. The silicon diode drop of approximately 0.7V should be enough if your battery never exceeds about 6V or you could put...
That is correct. As long as both the Teensy and external 3.3V regulator are being powered from the same source, everything will power up and down together with no issues. All of my systems are setup this way. I never use the Teensy on-board...
@PaulStoffregen I am not sure what the release status is of 1.60, but I would like to request 2 seemingly low-risk inclusions. These both affect a new Teensy 4.1 based product that is user programmable.
First is a fix for a bug in SerialFlash...
Yes, you can bring USB power in and run a 3.3V regulator off the 5V pin. Just keep in mind that the total current load can't exceed the 500mA or so of the USB port, but it sounds like you should be fine if you are just drawing 150mA from the...
I run the 7" RA8875 over fairly long lines of 5+ inches at full speed on a couple of different Teensy 4.1 boards. I do use series 56 ohm resistors on the CLK and MOSI near the Teensy 4.1 and have found them necessary to use. Anything in the...