Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Is the Prop Shield compatible with Teensy 4.0?

  1. #1
    Junior Member
    Join Date
    Dec 2014
    Posts
    15

    Is the Prop Shield compatible with Teensy 4.0?

    I have a prop shield and both Teensy 3.2 and Teensy 4.0, but I have more of the latter, it's faster, etc. I haven't found any mention of the 4.0 used in association with the prop shield (I'm using the IMU sensors, primarily), so thought I'd inquire.

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    15,077
    Teensy 4 won't have a DAC to feed Audio Out - but other elements should work without issue.

  3. #3
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    4,090
    As defragster mentions, the Teensy 4.x does not have a DAC for doing simple audio. If you don't want to use SPI (including accessing the flash memory in the prop shield), you could use the MQSL (pin 12) or MQSR (pin 10) pins to provide audio output.

    If the primary reason you are using the prop shield is for the flash memory, note that the Teensy 4.1 has solder pads underneath the Teensy where you could attach a PSRAM and a flash ram chip directly to the Teensy 4.1.

  4. #4
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    7,548
    Quote Originally Posted by russell View Post
    I have a prop shield and both Teensy 3.2 and Teensy 4.0, but I have more of the latter, it's faster, etc. I haven't found any mention of the 4.0 used in association with the prop shield (I'm using the IMU sensors, primarily), so thought I'd inquire.
    Sorry for the delay in answering this but if you want to just use flash and the IMUs the propshield is 100% compatible with the T4 and T4.1. Using a T4.1 (thats what I had handy) I ran motion cal with out and issue and the ran the MahonyAHRS example:
    Code:
    Orientation: 214.86 23.41 101.84
    Orientation: 215.54 24.09 101.47
    Orientation: 216.09 24.82 101.02
    Orientation: 216.51 25.65 100.47
    Orientation: 216.81 26.57 99.82
    Orientation: 217.04 27.54 99.12
    Orientation: 217.22 28.47 98.42
    and yes the the angles changed when I moved the board.

    THen I ran littleFS SPI Integrity example for SPI using CS pin 6:
    Code:
    Start Big write of 2048000 Bytes.........................
    Big write /0_2MBfile.txt took  5.72 Sec for 2048000 Bytes : file3.size()=2048000
    	Big write KBytes per second 358.31 
    
    Bytes Used: 2060288, Bytes Total:8388608
    and was able to write the file shown and double check by printing the directory
    Code:
    printDirectory SPI_DISK
    --------------
    FILE	0_2MBfile.txt		2048000
    
     0 dirs with 1 files of Size 2048000 Bytes
     Total 1 files of Size 2048000 Bytes
    Bytes Used: 2060288, Bytes Total:8388608
    as other said for audio there is no DAC

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •