Hi,
I just got back to my pic microcontrollers and I got this new device: pic24fj128gb202. I'm using it for a basic read from a "thermocouple reader" through SPI and displaying it on UART. I tried the same code on a pic24fj64ga002 and it works. However, I wanted to migrate to this new device. I've made all the necessary changes to the configuration bits and the different registers for the new device for spi, uart, analog/digital and so on.
But, when I build it, it says SPI1BUF undeclared which has really stumped me because SPI1BUF exists on the datasheet and I've checked to see that I've selected the right device on MPLabX. I'm using the XC16 C compiler version 1.26. Does anyone have any idea what the problem might be?
Thanks!