polarfire-soc / polarfire-soc-bare-metal-examples

Bare metal example software projects for PolarFire SoC
25 stars 14 forks source link

IOMUX details #1

Closed kowalski100 closed 3 years ago

kowalski100 commented 3 years ago

In every driver the following statement is given:

For more information on IOMUX, refer to the IOMUX section of the PolarFire SoC Microprocessor Subsystem (MSS) User's Guide.

I cannot find any document containing Pin multiplexing details such as register settings etc. Please pin point me to the relevant information.

nitindeshpande commented 3 years ago

Hello, Please refer to the PolarFire Device Register Map for the register details.

Look for IOMUX in PFSOC_MSS_TOP_SYSREG section.

We will have the name of the document corrected in the .h files.

kowalski100 commented 3 years ago

I couldn't find IOMUX /PFSOC_MSS_TOP_SYSREG section in your mentioned Excel sheet (PolarFire Device Register Map), please.

nitindeshpande commented 3 years ago

Apologies, Please refer to the PolarFire SoC Register Map

kowalski100 commented 3 years ago

I guess these setting contains settings like:

=> 0: Connect Peripheral to MSS => 1: Connect Peripheral to Fabric Please correct me if I am wrong?

The thing I was looking for is: How to configure/connect a physical pin to a certain peripheral? i.e PIN multiplexing.

Capture

nitindeshpande commented 3 years ago

Hi, Please refer to the [MSS Configurator User Guide] (https://www.microsemi.com/document-portal/doc_download/1245690-polarfire-soc-standalone-mss-configurator-user-guide-for-v2021-1) to know how the mapping is done using configurator.

You may also refer to section 6.9 in the PolarFire® SoC MSS Technical Reference Manual

nitindeshpande commented 3 years ago

Hi kowalski100, Did you find the info you were looking for?

kowalski100 commented 3 years ago

Yes. Thank you.