Sorry, I did not go all the way up on the SS to those pins... I have now...
Exactly.
Pushed up current version to fork of defragsters github project and issued PR
https://github.com/Defragster/EVKB_1060/pull/1
We finally have DMA working properly on the MicroMod and presumably the SDRAM Dev Board (not tested yet). My MicroMod quit while testing the 8080 mode for the ER-TFTM101-1 display. Had to reposition the MCU board in the connector. It's working...
Note: no promises on these boards, as I am a retired software guy.... I was laying out a complete board as a modified version of the earlier board I did for the Micromod. But decided to do a quick and dirty one that I can easily solder up. So...
The sketch below shows a fixed-point sine/cosine lookup that I think is well-suited to the OP's program, which doesn't need high precision on angles or intensity. Angles are scaled 0..2PI and sines/cosines are scaled -1..1 over the 16-bit range...
Is it ok that both are using Serial.print("); ?
Generally, interrupt/multitask doing that causes grief.
Perhaps have the Transmit() use pinMode OUTPUT for LED_BUILTIN and do a digitalToggle(LED_BUILTIN), and not share USB print.
Note: that is simply a print to pdf of one of the pages in the excel document:
https://github.com/KurtE/TeensyDocuments/blob/master/Teensy4x%20Pins.xlsx
Note: @mjs513 did a modified version of this that I think is in @defragster github project...
Works for me, with the Devboard, as I created a variant that had all of the extra pins defined. Otherwise you would not have pin numbers to work with...
True, typo...
This is an alternate library to SDRAM_t4?
A bit of ReadMe to see about changing?
Just drop ref to SDRAM_t4 and perhaps make libray\SDRAM and include SDRAM.H?
Other details or changes?
The Teensy may be in a state with USB not present or not functioning when connected.
Press the Program button on the Teensy and see if that changes anything
I did not bring out any special ports. All that was done was SDCARD and USB-PD. But ofc we can keep going and make a gen5 that has more stuff. But it needs coordinating, Rezo and KurtE together could make a full pin mapping, that would be ideal...
So I decided to make a facelift, adding SDCARD and USB-PD which supports the PD protocol up to 12V. There are pads to solder if you just want to use the second port as a pass through with 5V. Meaning, it will deliver the same 5V coming into the...
Thanks @mjs513,
As you mentioned we are having some fun with several of these cameras. I see you showed my quick and dirty (v2) version of a shield for the Sparkfun Micrmod ATP board. Sure is a lot easier than having to deal with lots of...
Except for the SDRAM added connects as noted in p#926 - the majority of the pins present as a micromod since it is seen as T_MM because of the use of the 16MB Flash. Wonder if anything in the #IFDEF T_MM code might make the difference? Otherwise...
TyCommander can be used as SerMon for multiple Teensys and selectively put them in bootloader (without changing any cores file).
Very handy with more than one online - each can have SerMon display in same or new window.
This works with a Verify...
Made an interesting discovery: it's possible to initialize the SDRAM even before any code gets executed, by filling out a DCD (Device Configuration Data) struct. The ROM processes it and takes care of programming all the SEMC registers when the...
Looking at https://www.pjrc.com/store/ic_mkl02_t4.html
It notes:
10 Blinks = Serial Number Already Assigned A problem occurred with the serial number & ethernet mac address assignment.
Change in CS pin is interesting with changes in TeensyDuino version - but CS usage is normally a live pin.
As for Verbosity, the Preferences page in IDE ( Ctrl+, ) has a checkbox for Verbose compile output and all build info then appears in console.
looking at the TD 1.59 release notes: https://forum.pjrc.com/index.php?threads/teensyduino-1-59-released.74436/
The C++ build moved to #17
Lots of display libs are listed as some changes - some needed changes may have been missed?
Were any...
Running the SDRAM at 270 MHz?
For T_3.6 there was a PCB here wired with resistors to VGA - wonder if it works with the current scheme?
What SDRAM Lib is in use? The one derived from Paul's work on the @mjs513 github or the work @jmarsh did...
@jmarsh - Tested the elcdif sketches. Impressive:D Did not realize the mandelbrot sketch was animated.
Now to hook up the 10.1" LCD and test...
EDIT: By the way the T41 on the breadboard is the first T41 I got from PJRC. It has the white...
First simple experiment on SDRAM board works. Adapted my 4-bit VGA library based on @jmarsh's driver to the dev board. Just had to change two pin defines for FlexIo2 for HSYNC and VSYNC which is used in several places in the FlexIO begin method...
The solder paste used on these boards are high temp 260c, it's actually very good solder. But to get something off you need a good iron and some flux. Or add a little more solder paste from a siringe (the latter is the best and easiest option)...
Hello fellow Teensiers.
First off, this is only for custom boards!
I plan to make the Teensy work with SDRAM. Making custom Teensy boards is something I've done for a while with great success. The forum has been good help and the community we...
In the pic above it is the SPEC below the red squiggle here over the 1062
Not so small if you zoom in :) - next to organic sugar and Kosher salt.
Add flux or put solder blob on solder tip maybe and it should wipe away easily enough and then...
Awesome it arrived and works! V4.0 is the same so far as all else here.
See this post on prior page: https://forum.pjrc.com/index.php?threads/call-to-arms-teensy-sdram-true.73898/post-340933
If you get any SDRAM integrity issues that lone cap...
Just received the sdram development board today:D I ran through all of the test programs that I know about without a problem. I need to make sure I have all of the pinout info for this board. It is a version 4 board.
I thought I would start out...
In the IDE do a Ctrl+T that will do a uniform formatting showing how the compiler might be reading the code.
If all paths are expected to have a return then they should be apparent, if the formatting BREAKS in readability then a semicolon...
'byte RTC_WriteByte(int, byte)' means the function should be returning a byte value.
There is either no return statement before the end of the function, or there is only "return;" with no value, or the function definition should be changed to not...
Starting the IDE it makes a new TMP folder and will build EVERYTHING ... CLEAN.
On subsequent builds then the process will (ideally) not recompile anything that could not have changed where the build results stored in that TMP folder will be used...
Oh - and looking at that warning - do not ignore that!
Was online with @shawn the other month and made a void func() have a return and one path was not covered and got that warning that was not 'SEEN'.
Subsequent builds CRASHED for an 'unknown'...
Is the diff a clean versus a partial build/rebuild?
i.e.: Perhaps the RTC.CPP builds once with warnings and then it is not rebuilt on the next re-build as no dependency changed to cause a rebuild?
Post #7 would be an easy change having the FLUSH done before performing the SD WRITE.
If it still fails, then that is known. If there are no more failures in extended use it fixed/hid the issue. Perhaps it will just add some (measurable)...
re p#6: Rather than memcpy() after data is written to PSRAM perform an arm_dcache_flush() on that region, or pehaps arm_dcache_flush_delete()
This may cause a stall of some duration as the PSRAM data will be flushed to the physical media.
It...
DMA operations bypass the cache on WRITE and also READ. The cache needs proper invalidation.
A: > 'NEW' data values in the CACHE will not be READ/seen by DMA, but the old values on the physical PSRAM will be used.
--> for valid DMA READ the...
If there was only one or two uarts 512 bytes would be fine. But there are 8 ports, two buffers per port that's 8k of RAM which is completely wasted for most applications. That's enough memory that you don't want to just throw it away to make life...