Hello there! I´m trying get CHIP-ID using SPI MCC library and i dont know corretly how to use the following void: uint8_t SPI1_ExchangeByte(uint8_t data) { SSP1BUF = data; while(!PIR3bits.SSP1IF); PIR3bits.SSP1IF = 0; return SSP1BUF; } I tryed it like that: readDummyp = SPI1_ExchangeByte(0X00); But it recieve 0x85 and i dont know what it means. regrets.
... View more