This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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

spi Config register

Hello !

When i was trying to configur my SPI, I observed that there is a difference between the position field announced in the nrf51 reference manual v2.1 and the nRF51_bitfields :

nRF51_bitfields says : /* Register: SPI_CONFIG / / Description: Configuration register. */

/* Bit 2 : Serial clock (SCK) polarity. */ .......

/* Bit 1 : Serial clock (SCK) phase. */ .........

but the nrf51 reference manual v2.1 says the opposite :

B RW CPOL Serial clock (SCK) polarity // B => 1

C RW CPHA Serial clock (SCK) phase // C=> 2

can you please verify this and tell me whitch is correct ?

Thank you

Parents Reply Children
No Data
Related