SPI with manual SS (MC9S12XDT512 - MC33810)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SPI with manual SS (MC9S12XDT512 - MC33810)

1,808件の閲覧回数
ernestsnaith
Contributor I
Is it possible to have manual control of the SS pin while using SPI. I would like to interface with a 16 bit SPI devise (MC33810) where the SS signal is required but it must not return to idle between transmission of the two bytes. I have seen this devise used with the same microcontroller so there is presumably a way of doing it but i dont have access to the code.
 
Cheers
 
 
 
 
ラベル(1)
0 件の賞賛
返信
1 返信

810件の閲覧回数
ernestsnaith
Contributor I
Got it working. With SS output turned off (SPICR2_MODFEN = 0) SS pin is controlled as in GPIO mode. I had a mistake in my code for original test of this.
0 件の賞賛
返信