This is the complementary project for AN14434, which demonstrates how implement usb to i3c demo on MCXN236. can use terminal tool to send a serial data to control I3C interface.
In the MCXN236 USB to I3C demo, the USB device uses USB CDC virtual com class to communicate with PC host.
You can use terminal tool to send a serial data to control I3C interface.
The terminal tool used in following contents is pzh-py-com tool. Customer can download it from followed link: https://github.com/JayHeng/pzh-py-com.
This demo provided some commands such as Dynamic address assign, direct write, direct read, write with register address, read with register address, IBI/Hot-join functions.
The software for this Application Note is delivered in raw source files and MCUXpresso projects. Software version:
- SDK: v2.16.0
- IDE: MCUXpresso IDE v11.9.0
- USB Type-C cable
- FRDM-MCXN236 board (https://www.nxp.com/design/design-center/development-boards-and-designs/general-purpose-mcus/frdm-development-board-for-mcx-n23x-mcus:FRDM-MCXN236)
- Personal Computer
To perform the MCXN236 USB to I3C demo, use two FRDM-MCXN236 boards one as I3C controller another was used as I3C target.
This demo uses P1_16(I3C_SDA) and P1_17(I3C_SCL) pins as i3c function.
For hardware connection, please refer below Figure. The length of connect wires should be as short as possible.
-
Open MCUXpresso IDE, in the Quick Start Panel, choose Import from Application Code Hub
-
Enter the demo name in the search bar.
-
Click Copy GitHub link, MCUXpresso IDE will automatically retrieve project attributes, then click Next>.
-
Select main branch and then click Next>, Select the MCUXpresso project, click Finish button to complete import.
-
Click Build to start compiling the project.
Please follow the Application Note (AN14434) to perform the USB to I3C bridge demo. You can use virtual com terminal tool to send I3C control command.
Below lists some commands.
-
When the terminal send List DAA command, it will receive I3C Target information feedback which contains the target vendor ID and BCR/DCR values.
-
When the terminal send write without register address command. After command finished, the terminal will receive OK(0x4F, 0x4B) characters
-
When the terminal send read without register address command. After command finished, the terminal will receive data which were sent by target.
-
When the terminal send read with register address command. After command finished, the terminal will receive data which were sent by target.
No FAQs have been identified for this project.
Please open a issue for support.
Questions regarding the content/correctness of this example can be entered as Issues within this GitHub repository.
Warning: For more general technical questions regarding NXP Microcontrollers and the difference in expected functionality, enter your questions on the NXP Community Forum
Version | Description / Update | Date |
---|---|---|
1.0 | Initial release on Application Code Hub | October 9th 2024 |
If applicable - note software licensing here with links to licenses, otherwise remove this section
if applicable - note components your application uses regarding to license terms - with authors / licenses / links to licenses, otherwise remove this section