-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Host interface change from UART to I2C/SPI #13
Comments
I’m not quite sure I understand your question. The default firmware provides serial ports (USB serial and hardware serial) and I2C as protocol entry points. You can use the following serial port library to retrieve results: Seeed Arduino SSCMA. Let me know if you need further clarification! |
Yes I'm using same library. This Arduino SSCMA library have option of changing communication interface between we2 and ESP32S3. By default we2 send data on serial port. What changes are required on we2 SDK side to change this interface type from serial to I2C/SPI? |
The I2C commands will return results via the I2C bus, and serial commands will return results through the serial port. You can refer to this example: proxy_i2c.ino. Also, Grove Vision AI v2 doesn’t support SPI communication since it’s used for the SD card. |
Does Grove Vision AI v2 support I2C? If yes where in SDK i need to change? |
Supported. It supports I2C as well as uart, and you don't need to chagne anything. |
It' is a program that forwards AT commands received via the ESP32's serial port, sends them through I2C to the Vision AI, and then returns the results via the serial port. Please note that when entering AT commands, you still need to include the carriage return and newline ( The program works as follows:
|
How to change interface protocol between we2 and host MCU?
Example: sscma
The text was updated successfully, but these errors were encountered: