2010-02-08 12:20 AM
Does anyone interface the STM32 µp withe a nxp SC16IS72 uart bridge in SPI??
2011-05-17 04:39 AM
I've written code for the NXP SC16IS750 I2C/SPI UART which is probably similar but that was on a different uP not a STM32. I found the SC16IS750 easy to get working with both SPI and I2C so I'm betting the issue is on the STM32 end. I have written SPI code on the STM32 but not I2C although I'm about to...
2011-05-17 04:39 AM
Hello thanks for the reply,
Which kind of µp did you use with the SC16IS750
You said a the end of your message that you write SPI code on STM32 can you post it that could help me ! which peripheral did you interface in SPI?
From: StuartMWPosted: Monday, February 08, 2010 2:35 PMSubject: Does anyone interface the STM32 µp withe a nxp SC16IS72 uart bridge in SPI??I've written code for the NXP SC16IS750 I2C/SPI UART which is probably similar but that was on a different uP not a STM32. I found the SC16IS750 easy to get working with both SPI and I2C so I'm betting the issue is on the STM32 end. I have written SPI code on the STM32 but not I2C although I'm about to...
2011-05-17 04:39 AM
I just recently had trouble with doing SPI over the USART on the STM32. My trouble was that the SPI bus is a MSB first bus and the USART is a LSB first bus. You have to reverse the order of your data bits before putting them in the transmit register. Why they didn't provide a MSB/LSB first bit in the control register is beyond me.