Closed Oliver0804 closed 9 months ago
I have also used the 'wire' from the Ameba2 mini examples, and verified with an oscilloscope that there is no output change in every GPIOs pin.
Dear @Oliver0804 , Thanks for reporting this issue. I have verified that AMB82-MINI does not support examples such as "I2C - Scan I2C devices" nor "I2C - Display Data on LCD_Screen" at this point of time, we will update you again upon deploying the bug fix.
This issue is stale because it has been open for 14 days with no activity.
keep
This issue is stale because it has been open for 14 days with no activity.
keep again...
This issue is stale because it has been open for 14 days with no activity.
Keep
Hi @Oliver0804 ,
Example will be provided on v4.0.6 early release (dev branch) V4.0.6-QC-V01, lower level including HAL and ROM code have been modified, thus we need to update the archive libraries as well.
The glance of the code can be found below: Open the example in “File” -> “Examples” -> “AmebaWire” -> “I2C_Scanner”.
When the I2C bus detect any I2C device, the serial monitor will show the address of the I2C device as shown below:
When there is no I2C device connected to the board, the Arduino IDE serial monitor will show the message below:
Thanks
It has been tested and the problem still exists. When no i2c device is mounted, a pile of addresses will still be scanned
I used amb82 for testing
Thank you. After I updated the library functions at the same time, the problem was resolved
@Tomi-ren, Glad that your issue has been solved.
@Tomi-ren, Glad that your issue has been solved.
But I tried multiple i2C devices, but the amb82mini couldn't scan their addresses and kept saying "No I2C devices found". On the contrary, using Arduino Uno to run the scan example made it easy to scan the devices, which I find difficult to understand
Reminder everyone, if using pin 12.13, please change Wire1. begin() to Wire. begin(), and you will find that it is working properly
@Tomi-ren,
Sorry that since it's the development branch, while I was doing the commit, I didn't change from Wire1
to Wire
and it might cause potential confusing.
Anyway, glad that you have solved your problem, this will be fixed in the final master branch release, and I will proceed to close this issue.
Thanks
Hi @Oliver0804 ,
Example will be provided on v4.0.6 early release (dev branch) V4.0.6-QC-V01, lower level including HAL and ROM code have been modified, thus we need to update the archive libraries as well.
The glance of the code can be found below: Open the example in “File” -> “Examples” -> “AmebaWire” -> “I2C_Scanner”.
When the I2C bus detect any I2C device, the serial monitor will show the address of the I2C device as shown below:
When there is no I2C device connected to the board, the Arduino IDE serial monitor will show the message below:
Thanks
I will wait for it to be merged into the release version before I proceed with testing. and I think the problem won't be considered resolved until the official version is released.
Hi @Oliver0804 ,
Example will be provided on v4.0.6 early release (dev branch) V4.0.6-QC-V01, lower level including HAL and ROM code have been modified, thus we need to update the archive libraries as well.
This is very good, i2c support has been a real issue with using this board for any projects.
I used Arduino IDE 2.2 to run a simple i2c scanner code, but I didn't get the correct response. Can you check the result of this code execution?