Note: you have to order them in groups of 480
Type: Posts; User: KurtE
Note: you have to order them in groups of 480
I was wondering if we should build that capability into the mtp object?
That is do like we do in the USB Host cases or the !Serial type cases...
That is maybe add a member to MTPD:
Sort of...
Sorry not enough info to guess. What os?What version of arduino was installed. What version of teensyduino did you try to install?
I also ordered a couple of them from Sparkfun... Out of curiosity.
But I will probably not comment much here as if I do start playing with them at all, will probably look at the Pico pages up on...
Works on the T4.1 I just tried... Pin 3 and 9 are fine.
I believe the that library supports changing which SPI on the begin method...
That is if you do something like:
XPT2046_Touchscreen ts(CS_PIN, TIRQ_PIN); // Param 2 - Touch IRQ Pin - interrupt...
Yes, the T4 and T4.1 actually have a few SPI buses.
23368
They are shown on the released card as well as my excel document and photo made from it:
SPI1 has a few alternate pins for some of...
Sounds like you are making great progress!
May depend on which library you use.
But I think your commented code is wrong above: TFT_MOSI should be TFT_MISO
Note: Most of the libraries will do something like SPI.begin() and while doing...
The interesting thing is I tried the simple version that crashed after 3 plus seconds to Flash to go instead to SDIO. Again 512 bytes at a time.
CMD: 100c(SEND_OBJECT_INFO)l: 20 T:299 : 1...
XBAR - for me it was reading the manual a few times.. (sometimes more than a few)... Note: So far when playing with DMA, I have mainly needed to have some understanding of XBAR for GPIO and for...
Totally understand.... Pretty frustrating.
This morning I decided to waste some time and see if going at this completely wrong. So tried a KISS version of the code...
bool...
In many cases like this, it is often easiest to look at code that ships with the Teensyduino release, at least to get ideas, even if you may be the type who who wants to write everything from...
Nice write up - Puts a lot of the details into one place which is great.
Note: another gotcha you may run into with DMA is with caching.
That is with the example above you are using the...
Are you using the library: https://github.com/robopeak/rplidar_arduino
It looks like your code is pretty close to their example: simple_connect?
If I am looking at their documents correctly:...
Morning - Right now playing in the branch: MEM_send_object_large
@Paul - sounds great
@mjs513 - Did you have enough memory PSRAM available to be able to allocated that large of a file? Right now I try to allocate the whole thing with extmem_alloc. So if that...
I know ... talking to myself ;)
Just pushed up a WIP version of the MTP send object code, that in addition of trying to allocate a full size buffer for the file. Once the whole file has been...
Note: the Teensy boards will not show up as a USB Serial device, unless you program them to do so.
What I typically do with a new teensy, is to load up a simple sketch like the example blink,...
Hopefully someone one will be able to help you here. I personally have not tried any of the RA8875/76 custom font stuff, nor any of their ROM chips.
What we have done when we were playing with...
@mjs513 Sounds like you have been busy!
What about Teensy 2? ;) (Just kidding)
Yes it would be great if there was some tutorial or web page, that discuss DMA for the different Teensy boards. There have been several threads talking about DMA with GPIO on T4.x, that you can get...
Another quick update:
I have been playing around with my USBHost MTP code and communicating with Kindle Fire. Note: The connection with Kindle Fire (Android) is a bit touchy. Sometimes works...
Sorry I really don't know the RA887x that well to know how all of the different fonts work or not. I believe this is NOT a system font so we are simply drawing the bits.
Again I also mostly just...
The same ways as you would with a Teensy 4.
There are many ways to do so.
The Dynamixel is a half duplex serial protocol, which specification says the TTL signal is 5v, although I have never...
As for best way to uininstall a version.
First I reboot to make sure I don't have any Arduino things opened up and running.
I will often just delete the arduino (actually I rename it to some...
Internet has been up and down... Can not complain too much as it looks like lots are still without power.
I pushed up a WIP branch MEM_send_object_large which is based off of the branch I still...
Afternoon - Internet back, we are lucky, looking at the power outage map, it looks like a lot of areas are without power.
Wind was really strong overnight. It moved and flipped a trailer we pull...
Sorry internet down, so by cell...
I noticed this morning that a case statement missing
About line 844 mtp.cpp above sendobjectinfo should be case: ox100c:
Not sure if that is what you are...
Hi again @mjs513 - I have not tried with 3.5, maybe should. I did build for 3.6.
Note: I am building for MTP with using SEREMU... If you are building for MTP + Serial, did you update the...
As I think I posted above, it looks like the T3.x does real simple for USB packet it gets it does a write.
I have not tried that way yet.
I did try some code that, if the file is greater than...
@defragster - Sorry not really sure what is going on, just that when I saw stuff about configuring some pins for I2S where are not I2S pins, It made me suspicious that maybe some of the other...
Quick update to above, and with the current caching code I still get timeouts, depending more on the state of the File writes I think...
Example I did a copy of 341024 bytes long and debug output:...
Me too,
So I am starting to play again of moving over the code I have in other branch.
But also wondering about the differences in the two current versions of the sendObject code:
The one...
Good morning,
I will have to play later. Looking at larger files receive... More on other thread.
I assume you have already tested that creating a directory works in a simple case.
What...
Sorry,
I am not much of an I2C person so I normally just use Wire library when I need I2C support. It would be probably easy to get most of the Master mode support in, but would take someone who...
@WMXZ/Paul and others - As for MTP and things like Modify date, I put questions and suggestions on the beta 5 thread.
Things like does LittleFS keep any dates anywhere?
FS/FILE - We don't...
I could be wrong, but the last time I looked this library was not yet supported on a Teensy 4.x
The last post from him (@nox771) on that was back near the end of 2019 and his last changes to the...
Fixed: for some reason we had the checking for bounds in the Pixel function commented out.
We called this with a negative value that in the case of frame buffer just overwrote random memory.
Fix...
It appears to be blowing up in the 5 degree drawing...
Probably on the 2nd draw line where maybe we are not detecting the negative number in some spot:
Here is my current instrumented version of...
@Paul @WMXZ @mjs513 @defragster... and all:
As has been mentioned up in the MTP thread, it would probably be a good thing, that when possible MTP would be able to tell the Host the dates and...
@WMXZ - Sounds good.
Note: I do think it is good that one can get some of the simple events working for those who might care about it, and in other cases as you mentioned you can use the sledge...
Thanks,
I am not sure if I have that IMU here or not. I have few but not sure about that one. Also that new code is depending on two more external files... So again harder to setup and test it. ...
@defragster - Who knows? But with two different ones. I think there may be some interesting timing issue, that I am running into. Will look into it again at some point, but right now looks like we...
Good Morning,
Not sure about why different files work differently. I suspect it is more on what the writing to the chips are doing. If with yours and Defragsters changes it finds enough already...
Sorry, I have not had much of a chance to look through this code.
I did try to compile it and it fails as it is missing probably some header files or the like that define: setupIMU() and...
@wmxz and @mjs513 and ...
I pushed up the next set of changes to the branch with the Pull Request.
I am properly generating the object added events for the new files created in your 'a'...
Sounds like it or pieces of it would be a good addition to the core!
There are probably many different ways to answer this question.
can a T4.1 run 5 servos at 125hz. The answer is probably yes, not sure to what end or what means. That is I have my doubts that...
Note: I implemented some of the simple query functions I mentioned above... And pushed up.