How to initialize BGA3131 using 16 bit SPI

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

How to initialize BGA3131 using 16 bit SPI

159 次查看
obroad
Contributor II

So the designers thoughtfully included a 16 bit mode but it defaults to 12 bit mode.

If the BGA3131 is in 12 bit mode and I attempt to send 16 bits will the first 4 bits just "fall off" or will it fail outright?

Do I have to bit-bang a 12 bit write just to force the device into a compatible state?

Come to think of it why bother with the different modes, if it was designed to always use the last 12 bits then it would be compatible with both by default. Also supporting both bit orders is clever but shouldn't the register number be a palindrome so it wouldn't be nessecery to know beforehand what state the chip is in?

Also is there anything I can read to verify communication? I know there's no data out but is there a test pin? The best I can come up with is looking for changes in supply current.

 

 

0 项奖励
回复
0 回复数