AnsweredAssumed Answered

One SPI module and two UARTs ...

Question asked by Peter Furey on Dec 14, 2015
Latest reply on Dec 17, 2015 by Peter Furey

Hi,

I'm using a FRDM-K64F board with a few custom extension boards for my development platform. Currently, I'm trying to configure one DSPI module (master only configuration) to interface with two serial devices using Processor Expert. I have two chip select configurations, PCS0 and PCS1, both of which have "active low" polarity. The DSPI module is initially configured to use PCS0, which goes high after the DSPI_DRV_MasterInit() call. However, I don't see a mechanism to initialize the PCS1 pin to go high as well within the PE interface, or by any of the DSPI_DRV_xxx() or DSPI_HAL_xxx() functions. The only workaround I see is to temporarily change the PCS1 pin to a GPIO pin and pull it high. Since PCS0 and PCS1 are both "active low" they both need to be high in the inactive state for this interface to work. What am I missing? I strongly suspect there is a better way to do this.

Thanks for any suggestions.

Peter

Outcomes