SPI buffer for Mc08

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SPI buffer for Mc08

1,558 次查看
AndriesN
Contributor I
Hi. Im am wondering if i is possible to create a 12 bit buffer for spi data instead of a 2 byte buffer? If so, how do i do it?
标签 (1)
0 项奖励
回复
1 回复

608 次查看
peg
Senior Contributor IV

Hello and welcome to the fora, Andries.

 

What are you trying to achieve?

The SPI buffers are implemented in hardware, you cannot change this.

The SPI will always shift out 8 bits at a time with every load of SCID.

Most peripherals that need less than a multiple of 8 bits are aware of this and allow the unused more significant bits to be still sent but all at zero or don't care.

 

0 项奖励
回复