I tried using 1.58 beta 3 on a Mac running Sierra 10.12.6 and Arduino generated errors:
So I went back to 1.57 and it compiled and Teensy Loader worked.
I just wanted let you know what I saw with 1.58 beta 3
I stand corrected.
Although the actual acceleration is 8.7 m/s^2 . An accelerometer in free fall reads zero. NASA has measured this ( https://ntrs.nasa.gov/citations/20020066263 or https://ntrs.nasa.gov/api/citations/20120012936/downloads/20120012936.pdf ).
Thanks!
@ MarkT
little-g on the ISS is about 89% of earths surface, or about 8.7 m/s^2.
@Carlos7
The mpu-6050 accelerometer is available from many sources with libraries (use the Arduino Library Manager to find one) that will run on a teensy, and it is fairly sensitive. I have used the ADXL355 and it...
So...
I desoldered the PSRAM from the Teensy, and soldered the chip to another Teensy by itself and ran Paul's memory test and it worked.
So I desoldered it and put it back... and it works. So it must have been a soldering error.
I evidently made a poor connection or left a whisker of solder...
Thanks mjs513.
The W25N01 IS working (I am very happy about that!) with the LittleFS library using the LittleFS_QSPI_Simple_Datalogger.ino example you suggested, but I could not get the PSRAM to work with it.
Paul's memory test...
I tried using a W25N01 NAND flash memory chip (W25N01GVZEIG from Digikey) and a PSRAM chip (from PJRC) on a Teensy 4.1.
I could not get the NAND Flash to work on the narrower pads, but it worked fine on the wider pads. I used the LittleFS_QSPI_Simple_Datalogger.ino example to test it.
It is...
Just FYI,
I have two Teensy 4.1 boards with that exact setup. So I gave flashtest6.ino a try (with the #if 0 changed to 1 in spiffs_t4.cpp as noted in post #5).
Here is what I got (framed by asterisks since I don't how to frame it)...
Thanks for the schematic!
I'm trying to attach two ideal diodes (MAX40200) so either Vin or Vusb can supply power without issues.
I appreciate the information.
@KurtE and Defragster
Thanks for the very quick and thorough replies. The FRAM is only an SPI not QSPI device ( Cypress CY15B108QN 8 Mbit ). The pinout matches the WS25Q128. Because I couldn't figure out how to write to the WS25Q128 I tried the FRAM which I had used in other projects.
I failed...
Just FYI
Here is what I found for the (wider) flash memory pin pads:
function = digital pin, chip pin
/CS = 51 , 1
SO (MISO) = 49 , 2
/WP = 50 , 3
Vss = GND , 4
SI (MOSI) = 52 , 5
SCK = 53 , 6
/HOLD or...
How do you setup the SPI2 to use the pins associated with the backside pads on the T4.1? I'd like to put an FRAM chip on the pads intended for the flash memory chip. The pin assignments are identical, but I don't know how to assign SPI2 function to those pins (shown in red type on your image)...
Thanks.
Well, I guess I'll desolder it and put on a breakout board. It does not use QSPI. The pads on the back board are great, but apparently not usable as I had hoped.
Thanks again.
I was happy to see the pads on the backside of the Teensy 4.1 for a flash memory chip.
I attempted to put a Cypress 8 Mbit FRAM chip on instead of the flash and use then use the SPI2 pins... but they don't seem to be the same on a Teensy 4.1.
here is the configuration code fragment:
#include...