As the author has described that to set a 250 kHz, they are driving their peripheral clock frequency by 144. Which means 36 MHz when divided by 144 gives 250 kHz. But then why are they setting the
SPI1BRG = 71;? (SPI1BRG = SPI baudrate register.)
I am using 44 MHz as a peripheral clock frequency. What value should I use?
I am really confused in setting the clock frequency for the SD card.