Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 21942

CCS/MSP430FR2533: I2C slave example using the CapTIvate APP library

$
0
0

Part Number:MSP430FR2533

Tool/software: Code Composer Studio

Hello,

I am trying to get up and running using the MSP430FR2533. I have it connected to a JTAG interface for the MSP-FET, as well as 1 wheel, 2 sliders, 1 button, and 1 proximity sensor. Also, the B-interface I2C pins are routed to the 'Host' micro-controller. I used the Captivate Design center to create the starter code, and have imported that into CCS. The board is custom, and does not have the 20 pin interface to the development kit. I am trying to follow the Design center guide, but I have not found a good example of how to setup the MSP for Slave I2C as well as how to do some basic reads and writes(if the host is requesting data). One of the example boards did have a Master I2C setup to control a haptic driver. In the Captivate Technology guide, I have seen the I2C setup example:  "software-dl.ti.com/.../ch_lib.html

 but i did not see example code for the Interface layer. I read the Guide to mean the the Interface layer should be the primary means to send and receive communication, but I don't see the CAPT_initCommInterface() initialization command in the I2C example code. Is the I2C example code functional without using the Interface layer? 

I also see two options for I2C in the design center, 'bulk I2C' and 'registered I2C'. How are they different, and how are they meant to be used? The 'Host' IC in my case is an Arduino controller. 

Any pointers to some examples on a basic setup and usage(handling incoming I2C communication from the Host) using the Captivate library would be very helpful.

Thanks for your help,

Andy


Viewing all articles
Browse latest Browse all 21942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>