Forum Discussion
Altera_Forum
Honored Contributor
10 years agoProblem: DE1-SoC Audio Codec
Hello everyone. I'll start by saying that my english sure it's not the best, i apologise for that; but i'll try anyway to be as clear as possibile. I'm trying to realise a project on my DE1-SoC...
Altera_Forum
Honored Contributor
8 years agoHello, I was curious if you were ever able to to switch the I2C multiplexer.
I am currently trying using the following commands. # define HPS_I2C_CONTROL ( 0x00080000 ) alt_setbits_word( ( virtual_base + ( ( uint32_t )( ALT_GPIO1_SWPORTA_DDR_ADDR ) & ( uint32_t )( HW_REGS_MASK ) ) ), HPS_I2C_CONTROL ); //output alt_clrbits_word( ( virtual_base + ( ( uint32_t )( ALT_GPIO1_SWPORTA_DR_ADDR ) & ( uint32_t )( HW_REGS_MASK ) ) ), HPS_I2C_CONTROL ); Yet the LED I have assigned to HPS_I2C_CONTROL indicates it is still active.