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

printing of SPIDATA register

Program consist of intialising of port setup, SPI initialise, then calling test_spi function containing while (1) loop.
void test_spi ()
{ SPIDATA = 55; while (1);

}

is it possible to print SPIDATA content?