Can you achieve a 9bit SPI on MC9S08QG8

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

Can you achieve a 9bit SPI on MC9S08QG8

1,783件の閲覧回数
Gordon_Padkin
NXP Apps Support
NXP Apps Support

We have some folks here in Europe playing with an accelerometer project based on MC9S08QG8 and want to add an lcd. Have a nokia 6100 type display from www.sparkfun.com but looking through all the published code from nd sparkfuns displays i see they tend to use an alternate MCU device which can do 9 bit SPI.

 

Would like to use the SPI bus for the device, as it would leave it open to add an MMC card as well, ala lcd slide show badge in April.

 

Anybody now if 9bit SPI can be done using the MC9S08 ?

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

809件の閲覧回数
tonyp
Senior Contributor II
The hardware SPI of 9S08QG8 is limited to 8-bit transfers.

But given that SPI is such an easy protocol to implement in software I don't see where implementing any variation of it (such as the 9-bit one) would be too much trouble.
0 件の賞賛
返信

809件の閲覧回数
Alban
Senior Contributor II
Hello,

I see two Application Notes on 8-Bit:
AN1954 p°5-6 (ASM code inside) and AN1951 p°11.
Just need to change 8 to 9.

Cheers,
Alban.
0 件の賞賛
返信