Hi
I am Karthikeyan,
how to connect the external SPI throught the Layout pins or GPIO pins of OM13098 board.
there are MISO,MOSI,SCK,SSEL pins too present in the GPIO pins how should i utilize it for the transfering data in SPI.
gpio_pin_config_t led_config = {
kGPIO_DigitalOutput,
1,
};
GPIO_PortInit(GPIO, 3U);
GPIO_PinInit(GPIO, 3U, 20U, &led_config);//SCK
GPIO_PinInit(GPIO, 3U, 21U, &led_config);//MOSI
GPIO_PinInit(GPIO, 3U, 30U, &led_config);//SSELn0
GPIO_PinWrite(GPIO, 3U, 20U, 1);
GPIO_PinWrite(GPIO, 3U, 21U, 1);
GPIO_PinWrite(GPIO, 3U, 30U, 0);
this is the method i tryed,
When i checked the output for this, i did'n t get the Clock signal(SCK) in the oscilloscope,instead of that i am getting only High signal. and for MOSI i am getting High signal, for SSEL i am getting LOW signal.
what should i want to do to get a clock signal that a clock pulse?
Thanking you,
Karthikeyan.