1280 SPI CS
1280 SPI CS
There are no dedicated CS pins for SPI on the 1280 as there were on the 1281ae, right? It's not clear whether the 1280/1 requires them fixed in hardware, or if on the 1281ae the pin was just a designation for convenience.
EDIT: clarification: there is support for 4 HW ports, but only one defined CS is included. This actually is exactly the same, then, as the 1281. The (new) question is whether there's a difference between using user-defined CS pins, and the explicitly reserved CS.
EDIT: clarification: there is support for 4 HW ports, but only one defined CS is included. This actually is exactly the same, then, as the 1281. The (new) question is whether there's a difference between using user-defined CS pins, and the explicitly reserved CS.
Paul
I believe there is no difference. Here is the relevant text from the datasheet:
This means the VM must explicitly control the SS line (PB0) and could just as well do this for a user configured chip select pin.When configured as a Master, the SPI interface has no automatic control of the SS line. This must be handled by user software before communication can start.
Mike Perks
Re: 1280 SPI CS
The pin that with the SS designation is defined for use as an input when the device is an SPI slave. Any output pin can be used for SS when the device is an SPI master.pjc30943 wrote:the explicitly reserved CS.
Currently, the ZBasic System Library functions do not support slave mode. One could write code for that mode for a native mode device.
- Don Kinzer