Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 11 months ago.
Is the SPI configured MSBit first or LSBit first?
I'm having trouble using the SPI with a device which expects the transfer with the most significant bit first. When SPI is configured in a microprocessor, one can normally chose the bit order. I'd like to know what the bit order is for the SPI as configured for the KL25Z. Thanks.
Question relating to:
2 Answers
8 years, 11 months ago.
Should be MSB first.
Hmmm ... I would have thought so too. But, I'm still having problems interfacing to the AD9951 DDS chip. It may also be time to examine the hardware. It is always difficult when one is debugging a new design; you never know whether there is a hardware error or just software errors.
posted by 24 Apr 20158 years, 11 months ago.
considering this post...
may help you
http://developer.mbed.org/questions/4946/Bit-order/