GithubHelp home page GithubHelp logo

Support for FlexSpi about imxrt-hal HOT 6 OPEN

imxrt-rs avatar imxrt-rs commented on August 22, 2024
Support for FlexSpi

from imxrt-hal.

Comments (6)

Sandvoxel avatar Sandvoxel commented on August 22, 2024 1

That was a mistake on my part i meant FlexSpi in chapter 27. I have updated my wording on the matter.

from imxrt-hal.

Sandvoxel avatar Sandvoxel commented on August 22, 2024

I have some knowledge of the hardware registers for the imxrt FlexSpi registers as I am using them in a library in C++ to access a flash chip that use QSpi. I would be happy to help out with writing the library to access FlexIo but I'm quite new to rust and don't really know to start on direct memory access to set up registers. I saw this issue on the matter but it seems to have gone cold. My current project is a teensy 4.1 custom board that is planed to be used as a flight computer in the future but is in the early stages (Just completed the first dev board). I would like to use rust over C++ but I would need more access to the hardware such as FlexSpi for the onboard flash chip for data logging.

from imxrt-hal.

Sandvoxel avatar Sandvoxel commented on August 22, 2024

I see that is this may have been done with the imxrt-ral library. I would still like to hear input on the matter.

With the course of working on this project I will be writing a SDCard library that should be compatible with the teensy 4.1 sdcard slot I would be happy to make it open source. I did see the post on the teensy-rs repo about adding SD card support.

from imxrt-hal.

mciantyre avatar mciantyre commented on August 22, 2024

I'm personally not planning FlexSPI support right now. I'm happy to support you or anyone who wants to tackle it.

This could eventually use imxrt-iomuxc support, but I think we could prototype without this feature. Add a marker trait for FlexSPI-compatible pins, and implement it for the Teensy 4.1 pins that you need. A few contributors have gone through the process of adding new traits and pins, so check out the merged PRs to see the process.

I see that is this may have been done with the imxrt-ral library.

Yup, I recommend using imxrt-ral to access the FlexSPI registers.

I will be writing a SDCard library [...]

Awesome. See #119, which we can use to track any HAL developments.

from imxrt-hal.

mciantyre avatar mciantyre commented on August 22, 2024

We've talked in other issues, and I want to double-check my understanding of this issue.

We're discussing a driver for the FlexIO peripheral (chapter 50 in the 1060 reference manual). We're not discussing the FlexSPI controller (chapter 27 in the 1060 reference manual). The goal is to produce a FlexIO driver capable of QuadSPI. Is that the gist?

from imxrt-hal.

mciantyre avatar mciantyre commented on August 22, 2024

See also mciantyre/teensy4-rs#100, which asks about EEPROM emulation using FlexSPI.

from imxrt-hal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.