Jose Gustavo Abreu Murta

Results 74 comments of Jose Gustavo Abreu Murta

My suggestion: If you use a logic analyzer on the I2C bus you will have a clear perception why with TnyGo it is slower. And fix the possible problem. **Cheap...

DrMagPie, I was unable to test your Tinygo program on my Arduino Nano, as I had already updated the boot loader (new version). ``` PS C:\Users\jgust\tinygo\programas\arduino\tiny_experiment\tinygo_code> tinygo flash -target=arduino-nano main.go...

Today I tested your program with Raspberry Pico and it worked OK! For compatibility of voltage levels I connected resistors of 10K to ground in both lines SDA and SCL...

I think i found why I2C clock frequency is wrong using Arduino TinyGo! Studying source code at: _https://github.com/tinygo-org/tinygo/blob/release/src/machine/machine_atmega.go#L35_ I think it is wrong - not SetBits, but ClearBits of the...

> DrMagPie, I was unable to test your Tinygo program on my Arduino Nano, as I had already updated the boot loader (new version). > II discovered that there is...

On the Slack Forum, I received guidance from Kenneth Bell: (Thanks Kenneth) to fix the bug on Github: "You can simply modify the local copy of the 'machine' package to...

But, I did a test with success! Clearing TWSR_TWPS bits 0 and 1. `avr.TWSR.ClearBits((avr.TWSR_TWPS0 | avr.TWSR_TWPS1))` Test code: _https://github.com/Gustavomurta/tinyGo_my_experiments/blob/main/I2C_clock_test/Arduino_I2C_clock.go_ The I2C clock frequency was changed to 100 KHz, using Arduino...

The only way to discover the pins on the Raspberry Pico dedicated to the I2S interface in this project was using an oscilloscope. * I2S DIN = GPIO28 (audio data)...

![image](https://github.com/raspberrypi/pico-playground/assets/4587366/42831b73-90c0-4843-9869-5c4475b91adb)

Finally, i found: _src/rp2_common/pico_audio_i2s/include/pico/audio_i2s.h_ ``` #ifndef PICO_AUDIO_I2S_DATA_PIN //#warning PICO_AUDIO_I2S_DATA_PIN should be defined when using AUDIO_I2S #define PICO_AUDIO_I2S_DATA_PIN 28 #endif #ifndef PICO_AUDIO_I2S_CLOCK_PIN_BASE //#warning PICO_AUDIO_I2S_CLOCK_PIN_BASE should be defined when using AUDIO_I2S #define...