This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Where is the best place to change pin settings for devices?

I am using an SPI device (SPI3) that has a number of shared pins. Where is the best location to configure the pin mux settings?

 

I ask because I have changed this in the bootloader (XLDR), but by the time that it gets to the driver, the MUX_MODE setting has been set to 7 (safe mode)

Where's the best location for these pin settings?

 

Cheers

 

J