Part Number: TM4C129XNCZAD
I am planning to use TM4C129XNCZAD for one of our project .
I have to interface few sensors and DAC 's that supports SPI interface(16 bit) and are from TI and Maxim Intergrated respectively.
The problem is that there is no direct support for SPI in the core .
There is a SSI interface that supports Freescale SPI in its Legacy Mode .
My queries are :
1) Does my sensors and DAC support the SSI interface in its Legacy Mode (SPI Mode) ?
2)Is there any specific SPO and SPH configurations that needs to be maintained ?
3) Any hardware changes needed to support my slaves ?
You may not be correct in, "Selling the MCU's (flexible) support of SPI" short!
Chandan kumarThere is a SSI interface that supports Freescale SPI in its Legacy Mode
While that appears true - your review of the MCU Manual should reveal "several" other "SPI format and/or protocol options."
Chandan kumarDoes my sensors and DAC support the SSI interface in its Legacy Mode (SPI Mode) ?
You've not identified ANY of your sensors - or DAC - have you? How then can such a question be answered? And - is not that discovery - (your) job?
Chandan kumarIs there any specific SPO and SPH configurations that needs to be maintained ?
Indeed - you must "match" the MCU's SPI format (as it is programmable - thus flexible) to that of the (more restricted) sensor/DAC. It is (expected) that you'll "Run into trouble" when the individual sensors and DAC - employ DIFFERENT SPI formats - among themselves! This will force you to, "Alter the set-up/config. of your MCU - to support that particular sensor/DAC!" Usually - but not always - this is best managed by choosing sensors & DACs which employ the "same SPI format!"
Chandan kumarAny hardware changes needed to support my slaves ?
It is likely that you'll employ separate, MCU GPIO pins, to serve as "CS" for (each) sensor & DAC. SPI works best when all such (remote/slave) devices are in close proximity to their "Master."
In reply to Charles Tsai:
Might it be that (any) statement of "legacy mode" puts the "cart in front of the horse?" Should we not note that our poster asks, "Do my sensors support (legacy) SPI mode?" (he either does not know - or has not checked - so (any) review of legacy is premature!) It is the sensors - not the MCU - which dictate which SPI format/protocol the MCU must follow! (this results as almost always - sensors do NOT provide flexible formats) Further - as stated (1st post arriving in response) the odds that ALL Sensors will share the (same) format are NOT especially high! (unless sensors & DAC were chosen to conform to a single SPI format - which was the advice offered ONLY w/in "1st response!")
In reply to cb1_mobile:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.