When using pic18f8722 or pic18f87k22 spi.h will be found (many of my application are using this)
and OpenSPI1(SPI_FOSC_64, MODE_11, SMPMID); works
Following the manual and procedures to set the pic
However ; pic18f6722 or pic18f67k22 fails.
I am able to find spi.h using the list but compiler/linker can't find it so OpenSPI1(SPI_FOSC_64, MODE_11, SMPMID); can't work.
But it does find SPI_FOSC_64 MODE_11 SMPMID
pic18f8722 and pic6722 (picF18 family) should be compatible and are printed on same datasheet.
I do not use mcc that's a pain and not working correctly.
I build my own SPI drivers but want to use Microchips spi.h
Does any body know how to solve this problem?
Your help will be appriciated.
Regards,
Picbuster
and OpenSPI1(SPI_FOSC_64, MODE_11, SMPMID); works
Following the manual and procedures to set the pic
However ; pic18f6722 or pic18f67k22 fails.
I am able to find spi.h using the list but compiler/linker can't find it so OpenSPI1(SPI_FOSC_64, MODE_11, SMPMID); can't work.
But it does find SPI_FOSC_64 MODE_11 SMPMID
pic18f8722 and pic6722 (picF18 family) should be compatible and are printed on same datasheet.
I do not use mcc that's a pain and not working correctly.
I build my own SPI drivers but want to use Microchips spi.h
Does any body know how to solve this problem?
Your help will be appriciated.
Regards,
Picbuster