Part Number: AM5728
Tool/software: TI-RTOS
Hi Support team,
I'm writing a driver for a device sitting over SPI on AM5728. I'm writing the driver in Sys/BIOS. I've configured the SPI controller for single channel operation and data size of 32 bits. Also the interrupts are enabled as well. The device expects CS to be active low and toggle from high to low after each word transfer. Thus if I'm doing an SPI write of 2 words (each word is 32 bit), the device expects CS to go high after each word transfer and come back to active low to start the next transfer...
However when I probe the CS signal through an oscilloscope, I see that the CS remains active low till on the modes are transferred. My question is whether there is a way to ensure that CS line toggles from high to active low after every word transfer before the next word starts? The data sheet says that for single channel transfer, the CS will always remain active till all the words are transferred. Is there a way to change this default behavior. I want CS to toggle from high to low after every word transfer. Is there any register programming that I should be doing?
thanks
Pratik