Hello.
I'm in the process of selecting a new processor for a project solving a simpe task (assumably). The main task for the MCU to be solved is simply:
1) It receives some data (it requests information, in I2C MASTER mode) from a peripheral device over I2C. 2) It converts that info to another datalayer-protocol, and sends it to another (requesting) MCU (now, I guess we must be in I2C SLAVE mode on another I2C port...).
We are currently using Keil uV4 IDE and do not want to switch IDE.
I will very much apreciate your answers to (some of) the following questions: Q-1: Can you recomment Cortex-M3 to this application (we prefer M3 over M0+) ? Q-2: Will it be problems (software-wise) using Cortex-M3 with two I2C ports/busses for solving this task? Q-3: I assume the one I2C must run in SLAVE mode, and the other I2C must run in MASTER mode ?
I couldn't find any C-code I2C drivers for Cortex-M5 "out there". Q-4: Does anybody know if there are (C-code) drivers or sample-code for I2C drivers for Cortex-M3 available (freeware or "paywere") ?
I'll appreciate assistance with these issues.
Best regards Terje Bøhler
Apart from using two I2Cs, you've given no information at all about the application. So we have no real basis for any recommendation - other than just ensuring that the number of simultaneously-usable I2C interfaces is >2.
I should imagine that the (vast) majority of Cortex-Mx devices have >2 I2Cs...
But the I2C has nothing to do with Cortex-M3 - or any other core - so there's no use asking for "I2C drivers for Cortex-M3"
The I2C will be specific to the particular chip or family or manufacturer; so the real question is, "What manufacturers provide drivers for their I2C implementation(s)" - and the answer would be, "just about all of them!"