Hey guys, hopefully someone can help me out with this because i'm pretty stuck.
I've scoured the E2E forum and can't find a direct answer to my questions, so I figured that I would just make my own post.
I need to use the Tiva C microcontroller to send SPI commands to a PLL. There are two major issues with this: the first is that the Tiva C SPI is 16-bit and I need to send 32-bit words over SPI. My initial plan is to try and use DMA with the Tx FIFO half empty interrupt. I'd ideally split the 32 bit word into a 16-bit and two 8-bit pieces to send over SPI. Do you think this could work?
Another major issue though, is that the chip select pin on the SPI interface is active low, and I need it to be active high to match the PLL timing diagram. I've seen people say you can use a different GPIO pin, but I never see any example code on how to actually do this. Is there a way to map the chip select to an separate GPIO pin?
Any help would be extremely appreciated, thank you!