We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I want to set up an SPI connection with a sensor who has a SPI interface. But I cannot find anywhere what I need to define.
I saw in some examples S0SPCCR, VICVectCntl0 etc. etc. But I cannot find what these mean.
I have S0SPCR = 0xA8; because I saw it in an example and it defines the SPI interface as Master, CPHA = 1 and SPOL = 0.. but which bit defines if he is master or not, which defines if CPOL = 0? Which CPHA = 1? where can I find these things.. they are not documented in the datasheet.
Hopefully someone has a list of it.. or a link to the datasheet which offers this information.
NXP has a bit funny naming of their manuals.