Other Parts Discussed in Thread: HALCOGEN
Hi,
we are having a problem here with the SPI. We are using it with 10 data bits to mimic a UART (output only). The data register is written but no signal is coming out of the pin (MOSI[0]). The driver function is hanging waiting for a transfer that never happens. Due to pin restrictions the MISO, CLK, CS and ENA pins are used as GPIO elsewhere. As far as I can see all SPI registers are initialised correctly (halcogen software).
My question: is it possible to use the SPI with one transmit pin only? We had the same software working on another part but there the pins were assigned but simply not connected externally. What makes me suspicious is the note in the user manual: Note: Regardless of the number of parallel pins used, the SPISOMI[0] pin will always have to be programmed as functional pins for any SPI transfers.
So in order to make a transfer, do we have to use MOSI, MISO and CLK (and possibly CS) externally? Or can we send out data to just the MOSI pin?
Regards,