- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am new to ModusToolbox. I have been trying to make I2c communication to esp32 to indirectly use capsense. the examples on I2c fails to provide adequate information on how to implement.
also, if i follow the HAL documentation to implement I2c do i also have to configure in Device configure, if so what are to be configured, information on this is not provided on the documentation. What is the design flow to implement i2c communication in this use case? and should i follow HAL or PDL ?
Solved! Go to Solution.
- Labels:
-
ModusToolbox PSoC 6 SDK
- Tags:
- i2c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please let us know where you are facing issues. The built-in code examples are a good starting point to understand the implementation of I2C and send dummy data. You can proceed with building your application by sending the data that you require.
In case you are using HAL, you do not have to configure anything in the device configurator. HAL implementation takes care of checking and assigning the right SCB block based on the pin assignment.
HAL is an easier implementation to get started. I would recommend starting the application with HAL only.
Please let us know if you face any issues. Attaching a project would also be helpful for us to understand the actual error you are facing.
Best regards,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please let us know where you are facing issues. The built-in code examples are a good starting point to understand the implementation of I2C and send dummy data. You can proceed with building your application by sending the data that you require.
In case you are using HAL, you do not have to configure anything in the device configurator. HAL implementation takes care of checking and assigning the right SCB block based on the pin assignment.
HAL is an easier implementation to get started. I would recommend starting the application with HAL only.
Please let us know if you face any issues. Attaching a project would also be helpful for us to understand the actual error you are facing.
Best regards,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for replying and sorry for my late reply. I am now able to run examples properly. thank you.