To change Pin tasks
Posted: Wed Oct 06, 2021 8:56 pm
Maybe the following question looks like a very basic hardware issue but I would need your comments to ensure:
Question:
Is it possible to swap pin a task for instance from MISO to MOSI in STM32 via the relevant variant (.cpp file)?
As I see in Cube MX IDE, every pin can only be designated for a few specific tasks. For example, PA6 in STM32L433 can be SPI1_MISO and some other tasks where PA7 can be SPI1_MOSI. Is it possible to change these tasks? I mean PA6 to be SPI1_MOSI and PA7 to be SPI1_MISO via the library?
Is it possible to change what Cube MX IDE represents for each pin or it is the hardware that dictates the possible task selections for each Pin?
Thanks in advance,
Question:
Is it possible to swap pin a task for instance from MISO to MOSI in STM32 via the relevant variant (.cpp file)?
As I see in Cube MX IDE, every pin can only be designated for a few specific tasks. For example, PA6 in STM32L433 can be SPI1_MISO and some other tasks where PA7 can be SPI1_MOSI. Is it possible to change these tasks? I mean PA6 to be SPI1_MOSI and PA7 to be SPI1_MISO via the library?
Is it possible to change what Cube MX IDE represents for each pin or it is the hardware that dictates the possible task selections for each Pin?
Thanks in advance,