Hi,
my program for initializing SPI .
**********************************
#include <c6x.h>
#include <stdint.h>
#include <evmc66x_spi.h>
void main(void) {
// status=spi_claim(0,1000000)//
/* Enable the SPI hardware */
SPI_SPIGCR0 = CSL_SPI_SPIGCR0_RESET_IN_RESET;
spi_delay (2000);
SPI_SPIGCR0 = CSL_SPI_SPIGCR0_RESET_OUT_OF_RESET;
}
*************************
Error:
unresolved symbol Osal_platformSpiCsEnter, first referenced in ./evmc66x_spi.obj spi C/C++ Problem
unresolved symbol Osal_platformSpiCsExit, first referenced in ./evmc66x_spi.obj spi C/C++ Problem
1)what the above error indicates please help me solving the error.
2) how can I get the 10mhz frequency clock from SPI_CLK pin, please give source code or give me idea.
Please help me in getting above two problems to solve.
thanking you.
regards,
chandu.