This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrf5340 SPIM4

Hi Team

If I use the SPIM4 only in 8M bps mode. Can I use the PSEL register to select the IO instead of using the dedicated pins P0.08-P0.12? Thank you.

Regards

Victor

Parents
  • Hi Victor, 

    According to Pin assignments:

    • SPIM4 - For the 32 Mbps SPI mode, the special purpose GPIO pins are enabled using the Peripheral option of the PIN_CNF[p].MCUSEL register. When activated, the SPIM PSEL settings are ignored, and the dedicated pins are used. The GPIO must use the high drive H0H1 configuration in the DRIVE field of the PIN_CNF GPIO register.

    So, the answer is Yes, that should be fine as long as it is not set to 32M. 

    Regards,
    Amanda

Reply
  • Hi Victor, 

    According to Pin assignments:

    • SPIM4 - For the 32 Mbps SPI mode, the special purpose GPIO pins are enabled using the Peripheral option of the PIN_CNF[p].MCUSEL register. When activated, the SPIM PSEL settings are ignored, and the dedicated pins are used. The GPIO must use the high drive H0H1 configuration in the DRIVE field of the PIN_CNF GPIO register.

    So, the answer is Yes, that should be fine as long as it is not set to 32M. 

    Regards,
    Amanda

Children
No Data
Related