I'm sorry to bother you again,but this question is important to me.Does MKW22D can enable two I2C bus at the same time?(I google it,but nothing...)
I picked up I2C0 and I2C1 options when I generated the project.But I found this.As the picture shows,it seems like I2C registers are either I2C0 or I2C1.Also,I checked out the IIC_Interface.h file(it describes some interfaces which is used to communicate with I2C devices),I didn't find any functions to select i2c bus.So,what's wrong?
赵吕晨
From: AngelC
Date: 2015-03-26 23:54
To: 吕晨 赵
Subject: Re: - Some questions about application frame generated by Beekit
Some questions about application frame generated by Beekit
reply from AngelC in Wireless Connectivity - View the full discussion
Hello,
The BeeStack applications contain several drivers that could be used by the user in order to ease his development process. You could check the functions available and call them whenever necessary. Nevertheless, that does not mean all drivers are used by every application at all, so they are not necessarily executed.
In this specific case, you may see the UART functions are used in the WirelessUART application indeed. However, I2C is not used at all, but functions are still there. Feel free to check the source code and use it as needed.
If you are new to ZigBee, you may want to try first a simpler codebase such as SMAC or MAC to get familiar with the MKW2x and the software. You could try the SMAC wireless UART located in C:\Program Files (x86)\Freescale\SMAC\MKW2x\Demo Apps\Wireless UART.
Anyway, I strongly recommend you to check the documentation folder included in BeeKit’s installation for further details about the application templates available and the corresponding software stacks.
Regards,
AngelC
Did your question get answered?
If so, say thanks by clicking Correct Answer in the community thread!
Reply to this message by replying to this email, or go to the message on Freescale Community
Start a new discussion in Wireless Connectivity by email or at Freescale Community
Following Some questions about application frame generated by Beekit in these streams: Inbox