3 posts / 0 new
Last post
zmakki9
Offline
Last seen:6 years 6 months ago
加入:2014-06-10 16:34
SPI, 8-bit/16-bit

Hi,

The SPI configuration in the peripheral set-up sets the bit-mode for 8-bit data, which is what I need, however when probing the GPIO pins I see on the scope that the clock is actually 16-bit. Do you know anything about this?

Also Is there any example that uses SPI other than the peripheral set-up? Preferably SPI without flash.

Zeina

JE_Dialog
Offline
Last seen:18 hours 45 min ago
Staff
加入:2013-12-05 14:02
你好Zeina,

你好Zeina,

I believe what you are seeing is correct : on page 110 of the d/sheet the SPI data word when in 8 bit mode will still be 16 bit, just bits 8-15 are not used.

For SPI examples : is there anything specific you are trying to achieve ?

Best regards JE_Dialog

asmaitha
Offline
Last seen:5 years 1 week ago
Expert
加入:2014-11-20 08:45
Hello,

Hello,
I have a slave on PSI interface whose registers are 24bit size, but DA14580 supports only 8/16/32 bit mode, so how can I transfer data in this case?
Can I use three 8-bit SPI transfers or one 16-bit transfer followed by one 8-bit transfer.

Thanks
asm