The motors that i bought, it uses can 2.0, for my application I need the feedback, the feedback from the motor doesn't contain the sender ID only the recipient ID, so I am limited to one motor per bus. Hence looking ways to expand busses on the...
You HAVE to purchase the bootloader chips from PJRC.
This is their business model and the core to the Teensy product - if he open sources the bootloader code they will have no reason to exist as anyone could copy the Teensy and sell it as their...
Could you share the codebase for this test?
I have 7” 800*480px display with the same driver and will be hooking it up to my Devboard V5 when the adapter PCBs arrive, and have been considering use of the PXP to write rectangle clips to the main...
Continued follow-up, it works! I foolishly also flipped the collector and emitter on MOSFET Q1 in the schematic, but was able to whitewire a fix. In hopes of contributing back to the community, below are images of the project and some lessons...
Thanks Kris!
I can understand the fear plugging in some wires and homemade PCBs into an expensive car.
But with the CAN transceiver in place and using the universal OBD CANH/CANL signals, there is not much place to go wrong, and the possibility...
What a great project. The UI is a work of art and the idea is stellar.
I was about to do the same for my car--capture performance parameter and GPS and log to an SD card so driving/racing can be played back. I was going to build and sell...
This sounds like a problem with your USB port/traces rather than anything to do with the bootloader.
You say USB1 is the host usb, so USB2 is the port you're trying to connect to the PC? That looks backwards: USB1 has pulldowns on the CC pins so...
Note: There is a webpage that shows some of the information about the Teensy boards on zephyr:
https://docs.zephyrproject.org/latest/boards/pjrc/teensy4/doc/index.html
Yes and No... That is for example with the MicroMod Teensy... I had to add...
Sorry, seems Mike answered that for me
Appreciate the offer! For now I will just have a go with the interrupt on pin #2 with the signal from Phase A
When doing this bridge between pin 0 and pin 2, should I add in any passive components, such as...
There are two ways to measure speed using an encoder. One is to count pulses over a known time period (pulse counting). The other is to measure the time for a known amount of rotation (period measurement). The choice of which to use can depend on...
@joepasquariello thats for the detailed response!
I specifically need the time delta above, so I will use the quad encoder HW to detect if there is rotation, and what the direction of rotation is, and I’ll use an interrupt on pin 2 to count time...
Coming back to this now that I know exactly how to count the "speed" of the encoder; I need to count the time passed between each pulse on Phase A
Now, I've done this using a simple IRQ method as the standard encoder lib would use
I store the...
Thought it was time to share this project-turned-product with the community
A small, personal gauge project of mine that started in 2019 when I had begun engine modifications on my Golf GTI brought me to realize that there was no plug and play...
Happy to see that you were successful in making your own SDRAM board after me and @Rezo started the endevour to make it happen, and managed to get a full list of people (you know who you are) to join in and make it reality. This is what a...
I've designed a DIY Teensy 4.1 based board with Sdram with the idea of being able to solder it yourself. (It requires a stencil and solder paste as well). I don't have a hot plate, so i have been heating them with hot air from underneath. It...
Now I'm confused. Is Teensy supposed to be the SPI master (transmits SCLK and CS) or the SPI slave (receives SCLK and CS)?
I'm pretty sure FlexSPI (chapter 27 in the reference manual) can only work in master mode.
GPIO_EMC_11 isn't routed...
I just noticed my error in the title
MCUs FLEXSPI not FLEXIOSPI with DQS.
Im using FLEXIOSPI Master now as a way to learn the PlatformIO IDE. If FLEXIOSPI also supports slave mode that is another was to do it as shown on the figure above
Don’t confuse FlexSPI with FlexIO, which the latter is a module that can emulate several protocols and has an SPI emulation library available by @KurtE
You might be able to emulate some form of 4-bit SPI with the FlexIO module, but it won’t...
The only “new” developments to the hardware have has been the SDRAM DevBoard - But thats an open source members project sponsored by @Dogbone06 and not an official PJRC development.
Some of us have done some cool things with the added SDRAM and...
U’s are for Unsigned, its a suffix to tell the compiler that the value is a constant unsigned int.
I still urge to use the lv memory monitor.
I used it to identify a memory leak a few years back that happened each time I navigated between screens.
Rezo WINS!!! I changed LV_MEM_SIZE from (32U * 1024U) ... to ... (128U * 1024U) -- (why the "U"s?) and everything works and is solid as a rock!! (I see the simulator uses (256 * 1024U) -- (no first U?) (I'm clueless about lv mem monitor...)...
Have you tried to increase LV_MEM_SIZE from the default 64k, to say 128k in lv_conf?
Can you confirm as well that you don’t have a memory leak in your lvgl app? Is lv mem monitor enabled in the simulator? Is it enabled on your T4 build?
In that case you'd have to borrow the code from AudioFilterBiquad class to do the work off-line. (Second-order digital filter sections aren't that complicated really!)
Thinking about it retrospectively it might have been more flexible to define...
Yes, the AudioPlaySdWav is only in there because you said you were starting from a WAV file, so it seemed the easiest and most relevant way to put the demo together. If you're starting from an existing buffer of samples, you'd probably replace...
Thanks for the response!
Is there any way to run this without the direct patch to the playSdWave()? So I can just directly feed it from a small buffer with several hundred or thousand of samples at a time?
Im planning on analyzing at 48khz...
I have a need to do some analysis on a PCM data stream from a WAV file, to create a 3-band waveform of an audio track.
I'm reading the data directly from the SD card, and looping though samples.
I am not playing the audio back during this...
You’re opening and closing the file each time you call readFile - not best practice, and possibly the root cause of your app’s slowdown as it progresses
Open the file once and read/write to it in your loop. When you are finally done, close it.
It doesn't result in an overflow. That line you get the compiler warning on is guarded by:
else if((DRAM_FREQ>=32)&&(DRAM_FREQ<=39))
so that code will not be executed unless DRAM_FREQ is between 32 and 39 inclusive, so the overflow situation...
Reviving this thread on some new findings that I’ve made recently while trying to integrate flexio8080 with an RA8889 display controller.
Testing a block transfer of 480*320px (307200 bytes), one byte at a time
At 20Mhz bus speed the polling...
My biggest issue with the RA8889 (and previous versions) is they have this wait/busy pin and register indicator, and if you write too fast, the RA/SDRAM can’t handle the speed and it will assert the wait pin until it’s ready.
With polling...
if this is true or not is something I have to stay out of. But I’ll tell you this:
SparkFun founder Nathan Seidle is a great dude. I’ve had a lot of direct contact with him. Trust me when I say that he’s invested directly in electronic design...
Just for development speed. I used PSRAM before and had more information about it. So just to get this working asap (product release is behind schedule) I chose the PSRAM.
As soon as the production is set I'll surely start the road to the SDRAM
I made it work!. Changed the startup.c to pass the check of the first chip and go directly to the second one and adjusting the memory size to 8 all the time. Then on the Linker script changed the memory origin to 0x70800000 (not 0x78000000...
This looks awesome, I'd like to try it soon on the T41, if you're willing to share once you've got all the gremlins out! eLCDIF has been working on a custom Teensy made by @Dogbone06 with 32MB SDRAM, and @Rezo made a library for this, I believe...
A. This is very cool - well done! If you need some structure for a lib (which only compiles for a Teensy Micromod, but with changes will support the T4.1) then have a peek here
B. Regarding RAM - if you use the PXP, with some tricks you could get...