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

Thread: teensy 4.0 flexSPI slave

  1. #1
    Junior Member
    Join Date
    Sep 2020
    Posts
    4

    teensy 4.0 flexSPI slave

    Hi,

    I am trying to designed a product using the RT1062. I am using the teensy 4.0 for a EVBs. In my product I need two uC to communicate with one another in a speed of 400 MHz, an I want to use the flexSPI peripheral. I am using NXP SDK and MCUXpresso for writing the code.

    I am having difficulty using the flexSPI and configuring one of the Teensy 4.0 as slave.
    Has anybody done this before? If so how?
    Does anyone have a suggestion to how I can achieve the communication speed I am seeking?

    TIA,
    Bezalel

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,039
    I'm pretty sure FlexSPI only supports master mode. On Teensy 4.0, those pins only connect to the W25Q16 flash chip, so you can't access the FlexSPI peripheral.

    Teensy 4.1 does make FlexSPI2 available for adding QSPI memory chips. But I do not believe there is any way to make direct Teensy-to-Teensy communication work by directly connecting those pins between the boards. The clock and CS pins are always outputs.

    USB is probably your fastest board-to-board way to communicate. The raw speed is 480 Mbit/sec. But USB protocol overhead and software speed play a large factor in the actual sustained data rates you can achieve over USB. You won't ever get the full 480 Mbit/sec rate from application to application.

  3. #3
    Junior Member
    Join Date
    Sep 2020
    Posts
    4
    Thanks,
    So for the speeds I am looking for, USB is my best path, and even that is not perfect solution?

Posting Permissions

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