Hi all,
I'd like to design using 2ch SPI of nRF52832(as a MCU).
So, How many SPI channels of nRF52832?
And, Inform me pins of SPI port of nRF52832.
Best Regards,
Inho Jeon.
Hi all,
I'd like to design using 2ch SPI of nRF52832(as a MCU).
So, How many SPI channels of nRF52832?
And, Inform me pins of SPI port of nRF52832.
Best Regards,
Inho Jeon.
Hi Inho Jeon,
nRF52832 has 3 SPI masters.
but you have to know that SPI and TWI is sharing same register.
i.e, if you use SPI0 , TWI0 is not available.
You can find out more details from here (SPI registers), (TWI registers)
Thanks,
Eugene
Hi Eugene,
Thank you for your reply.
I'd like to use 2 SPI of nRF52832(as a MCU) at the same time. Is that possible?
And, Inform me SPI0, TWI0 pins of nRF52832 for designed schematics.
p.s. You linked 'SPI registers' is wrong. Inform me right webcite of 'SPI register'.
Best Regards,
Inho Jeon
I have changed the SPI link above.
For your question,
The nRF5 series has no dedicated pin for SPI and TWI. Means that you can use any GPIO pins with software configuration. (Pin assignment)
There is SPI example in SDK to control one SPIM. you can add more SPIM with additional instance.
To enable another SPI, you should configure the SPI instance in sdk_config.h
Thanks,
Eugene
I have changed the SPI link above.
For your question,
The nRF5 series has no dedicated pin for SPI and TWI. Means that you can use any GPIO pins with software configuration. (Pin assignment)
There is SPI example in SDK to control one SPIM. you can add more SPIM with additional instance.
To enable another SPI, you should configure the SPI instance in sdk_config.h
Thanks,
Eugene