بدون توضیح

namrota ghosh 05c86dc7ad Updated: Pi I2C Interrupts; target_interrupt 9 ماه پیش
.settings 5694b961a5 ref: change project structure and remove charge_ctrl dir; split code into separate src files 9 ماه پیش
.theia 05c86dc7ad Updated: Pi I2C Interrupts; target_interrupt 9 ماه پیش
Debug 05c86dc7ad Updated: Pi I2C Interrupts; target_interrupt 9 ماه پیش
targetConfigs 5694b961a5 ref: change project structure and remove charge_ctrl dir; split code into separate src files 9 ماه پیش
ti 5694b961a5 ref: change project structure and remove charge_ctrl dir; split code into separate src files 9 ماه پیش
.ccsproject 5694b961a5 ref: change project structure and remove charge_ctrl dir; split code into separate src files 9 ماه پیش
.clangd 5694b961a5 ref: change project structure and remove charge_ctrl dir; split code into separate src files 9 ماه پیش
.cproject 5694b961a5 ref: change project structure and remove charge_ctrl dir; split code into separate src files 9 ماه پیش
.gitignore 5694b961a5 ref: change project structure and remove charge_ctrl dir; split code into separate src files 9 ماه پیش
.project 5694b961a5 ref: change project structure and remove charge_ctrl dir; split code into separate src files 9 ماه پیش
README.html 5694b961a5 ref: change project structure and remove charge_ctrl dir; split code into separate src files 9 ماه پیش
README.md 5694b961a5 ref: change project structure and remove charge_ctrl dir; split code into separate src files 9 ماه پیش
adc.c 05c86dc7ad Updated: Pi I2C Interrupts; target_interrupt 9 ماه پیش
adc.h 5694b961a5 ref: change project structure and remove charge_ctrl dir; split code into separate src files 9 ماه پیش
battery.c 5694b961a5 ref: change project structure and remove charge_ctrl dir; split code into separate src files 9 ماه پیش
battery.h 05c86dc7ad Updated: Pi I2C Interrupts; target_interrupt 9 ماه پیش
cc_cv_charging.c 05c86dc7ad Updated: Pi I2C Interrupts; target_interrupt 9 ماه پیش
cc_cv_charging.h 05c86dc7ad Updated: Pi I2C Interrupts; target_interrupt 9 ماه پیش
dac.c 5694b961a5 ref: change project structure and remove charge_ctrl dir; split code into separate src files 9 ماه پیش
dac.h 5694b961a5 ref: change project structure and remove charge_ctrl dir; split code into separate src files 9 ماه پیش
i2c_controller.c 05c86dc7ad Updated: Pi I2C Interrupts; target_interrupt 9 ماه پیش
i2c_controller.syscfg 5694b961a5 ref: change project structure and remove charge_ctrl dir; split code into separate src files 9 ماه پیش
i2c_target.c 05c86dc7ad Updated: Pi I2C Interrupts; target_interrupt 9 ماه پیش
i2c_target.h 05c86dc7ad Updated: Pi I2C Interrupts; target_interrupt 9 ماه پیش
multiplexer.c 5694b961a5 ref: change project structure and remove charge_ctrl dir; split code into separate src files 9 ماه پیش
multiplexer.h 5694b961a5 ref: change project structure and remove charge_ctrl dir; split code into separate src files 9 ماه پیش

README.html





















Readme


Example Summary


This example implements an I2C Controller using the MSP Communication modules - I2C. This example demonstrates sending commands to an I2C Target to read from or write to its memory address and shows the response.


Peripherals & Pin Assignments










































PeripheralPinFunction
SYSCTL
I2C0PA0I2C Serial Data line (SDA)
I2C0PA1I2C Serial Clock line (SCL)
CRC
DEBUGSSPA20Debug Clock
DEBUGSSPA19Debug Data In Out

BoosterPacks, Board Resources & Jumper Settings


Visit LP_MSPM0G3507 for LaunchPad information, including user guide and hardware files.










































PinPeripheralFunctionLaunchPad PinLaunchPad Settings
PA0I2C0SDAJ19_2
  • PA0 can be connected to an on-board pull-up resistor
    • J19 1:2 ON Connect to 3.3V Pullup
PA1I2C0SCLJ20_2
  • PA1 can be connected to an on-board pull-up resistor
    • J20 1:2 ON Connect to 3.3V Pullup
PA20DEBUGSSSWCLKN/A
  • PA20 is used by SWD during debugging
    • J101 15:16 ON Connect to XDS-110 SWCLK while debugging
    • J101 15:16 OFF Disconnect from XDS-110 SWCLK if using pin in application
PA19DEBUGSSSWDION/A
  • PA19 is used by SWD during debugging
    • J101 13:14 ON Connect to XDS-110 SWDIO while debugging
    • J101 13:14 OFF Disconnect from XDS-110 SWDIO if using pin in application

Device Migration Recommendations


This project was developed for a superset device included in the LP_MSPM0G3507 LaunchPad. Please visit the CCS User’s Guide for information about migrating to other MSPM0 devices.


Low-Power Recommendations


TI recommends to terminate unused pins by setting the corresponding functions to GPIO and configure the pins to output low or input with internal pullup/pulldown resistor.


SysConfig allows developers to easily configure unused pins by selecting BoardConfigure Unused Pins.


For more information about jumper configuration to achieve low-power using the MSPM0 LaunchPad, please visit the LP-MSPM0G3507 User’s Guide.


Example Usage


Connect SDA and SCL of I2C Controller to SDA and SCL of I2C Target respectively. Compile, load and run the example.


Please refer to MSPM0 Communication Modules - I2C User Guide for more details.





TI is a global semiconductor design and manufacturing company. Innovate
with 100,000+ analog ICs and embedded processors, along with software, tools
and the industry‘s largest sales/support staff.



© Copyright 1995-2024, Texas Instruments Incorporated. All rights reserved.

Trademarks | Privacy policy | Terms of use | Terms of sale