Skip to content
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

setting I2C pins leads to unworking hex file #1

Open
fabianhugo opened this issue Aug 7, 2023 · 0 comments
Open

setting I2C pins leads to unworking hex file #1

fabianhugo opened this issue Aug 7, 2023 · 0 comments

Comments

@fabianhugo
Copy link

fabianhugo commented Aug 7, 2023

In the branch minidal setting the I2C pins according to the calliope mini pinout [1.X-2.X] results in a hex file that does not run the REPL terminal.
From line 179 of yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/PinNames.h the updated code would be:

    //SDA (SERIAL DATA LINE)
    I2C_SDA0 = p20,

    //SCL (SERIAL CLOCK LINE)
    I2C_SCL0 = p19

The hex file can be compiled, but the REPL console does not react.
The target reset pin of the microbit happens to be at p19 but also uncommenting the following line does not resolve the issue.

    //TARGET RESET
    TGT_NRESET = p19,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant