Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hi,
I need help with SPI (Motorola 3-wire with separate CS lines to 2 peripherals) on custom board. I'm sending data to my slave device but the received data on MISO is always 0xff. Am I setting the ChipSelect pin as GPIO output correct? I want to use PA9 and PA3 as GPIO output pins and assign them as SPI Chip Selects for my 2 slave devices.
Please see my sample code. Thanks for the help.
DL_GPIO_initDigitalOutput(GPIO_PORTA_PA9_IOMUX);
DL_GPIO_initDigitalOutput(GPIO_PORTA_PA3_IOMUX);
DL_GPIO_setPins(GPIO_PORTA_PORT, GPIO_PORTA_PA9_PIN | GPIO_PORTA_PA3_PIN );
DL_GPIO_enableOutput(GPIO_PORTA_PORT, GPIO_PORTA_PA9_PIN | GPIO_PORTA_PA3_PIN);


