Hi,
I have small doubt about the output of this program(spi programming of TMDXEVM6678), please help me.
/-----------------------------------------------------/
#include <c6x.h>
#include <stdint.h>
#include <evmc66x_spi.h>
#include <platform_internal.h>
#include <cslr_spi.h>
#include <platform.h>
SPI_STATUS status;
void main(void) {
status=spi_claim(0,2000000);
while(1){
printf("data \n");
SPI_SPIDAT0 = 0x00005555;
spi_delay(10000);
}
// spi_release();
}
/----------------------------------------------------/
For this source code, I am not getting the clock output of spi_clk pin (69 pin of 80 pin test header). and I am not getting data output at spi_SIMO pin.
Please help me and if correction for my code please inform me.
Thank you, waiting for reply.
regards,
chandu.