Power & Source of Big Ideas

Try here: http://linux-sunxi.org/Main_Page https://forum.armbian.com/forum/4-development/ The above is mostly Linux, it does not give the details for baremetal programming. I’ve found the following: https://github.com/dwelch67/allwinner_samples/tree/master/H3 https://github.com/trebisky/orangepi {A...
I had the Gating wrong :o void h3_i2c_begin(void) { h3_gpio_fsel(EXT_I2C_SCL, ALT_FUNCTION_SCK); h3_gpio_fsel(EXT_I2C_SDA, ALT_FUNCTION_SDA); #if (EXT_I2C_NUMBER == 0) H3_CCU->BUS_SOFT_RESET4 |= RESET_TWI0; H3_CCU->BUS_CLK_GATING3 |= GATE_TWI0; #elif (EXT_I2C_NUMBER == 1) H3_CCU->BUS_SOFT_RESET4 |= ...
Dear Forum, I have the UART (other then the debug uart) and SPI working on bare metal. However, I have an challenge with the TWI. Whatever I write to the TWI0 register, but it reads always 0 back. The TWI_STAT register should read 0xF8. I have set the proper GATING4 and RESET4 bit. Any idea what I c...
Try here: http://linux-sunxi.org/Main_Page https://forum.armbian.com/forum/4-development/ The above is mostly Linux, it does not give the details for baremetal programming. I’ve found the following: https://github.com/dwelch67/allwinner_samples/tree/master/H3 https://github.com/trebisky/orangepi {A...
The "bare metal" section in the Raspberry Pi forum can give you some ideas on how-to program an ARM CPU. But for programming the Allwinner SoC we need to have details on how to create a startup.S (or similar). The ideal option is not using the U-Boot loader and have our own 'bare metal' lo...
Hi Alimash,

How is this project going? Have you made the source code public on GitHub?

Greets, Arjan