Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

FlexIO as SPI Master #117

Open
shumpohl opened this issue Jan 26, 2022 · 1 comment
Open

FlexIO as SPI Master #117

shumpohl opened this issue Jan 26, 2022 · 1 comment

Comments

@shumpohl
Copy link

I am currently working on a project that will use a teensy 4.1 to control about 100 SPI devices and plan to use the FlexIO periphial to minimize daisy-chaining by driving up to 16 devices in parallel (only one channel select though). I have already hacked together a version that basically writes the constants from the SPI Master example into the registers with a bit of extra configuration.

Does it make sense to include a FlexIOasSPI periphial here? I think I lack the experience to write a useful general FlexIO abstraction as this is my first embedded project.

@mciantyre
Copy link
Member

Sorry for the delayed response! Hope your project is making progress.

I'd be interested in studying your SPI-specialized FlexIO driver. It could give us the chance to use an otherwise unused peripheral for something, even if it's not generalized. I'm particularly interested if it

  • supports the embedded HAL SPI I/O traits, clock phase / polarity configs
  • has some kind of imxrt-iomuxc FlexIO pin support

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants