GPIO 37 different at version 4.1 #117
Replies: 1 comment 3 replies
-
Ahh, just noticed the key piece of information: you're using a Teensy 4.1. My test assumed a Teensy 4.0. Thanks for sharing the let pins = bsp::t41::into_pins(peripherals.iomuxc); context. I can reproduce #115 issue when using the 4.1 pins. You're correct; none of pins 34, 35, or 37 on the 4.1 are usable with an LPSPI peripheral. Could you select different pins? Or is the hardware design fixed? If you must use those three pins, you could try using the FLEXIO peripheral to emulate SPI. Those three pins seem to support FLEXIO functions. See chapter 50 and section 50.4.3 from the reference manual. The introduction hints
I've not seen a Rust-based driver for the FLEXIO peripheral. |
Beta Was this translation helpful? Give feedback.
-
I'm currently trying to use SPI1 on a Teensy 4.1.
After checking the docu https://www.pjrc.com/teensy/schematic41.png and https://www.pjrc.com/store/teensy41_card11a_rev3.png , it seems that port 37 is different, and B0_00 is not the pin to go on version 4.1 (it's B1_03)
I have no Idea how to fix it :-(
Beta Was this translation helpful? Give feedback.
All reactions