Hi everyone,
I am having certain doubts in TIVA C Series TM4c123gh6pm
1. When I am doing board to board communication, I should go with interrupt method or polling method. Which is better and why is it so.
2. When doing board to board in I2C protocol, I designed a function as below.
void I2C1_Write_byte(int slave_address, unsigned char slave_memory_address, unsigned char data);
int I2C1_read_byte(int slave_address, unsigned char slave_memory_address);
when doing board to board, I am clueless what argument to use in place of slave_memory_address. The code works perfectly with a slave but board to board, I don't know. What are the things to be taken care when I am trying to communicate between 2 TIVA C series boards.
3. Regarding the image I attached. Both read and write register is in same location with the same memory offset. How it is working internally. How the processor comes to know the register I used is read/write register.
Forgive me in advance if there is something trivial I asked about! Anyhow I am curious to know the answers.
Thanks and Regards