I wish to read the EUI64 address from an AT24MAC602 memory chip interfaced to an Atmega128rfa1 MCU over the Two wire interface. I tried to modify the I2C master drivers which are available for other platforms to suit my need. However, I wasn't able to carry out these modifications successfully as the program stopped responding as soon as the slave address was written to the twi bus with Write flag set. I failed to uncover the underlying reasons for the same. As Contiki OS is quite popular, i thought someone might have already come up with contiki specific libraries for reading writing over TWI interface for Atmega128rfa1 MCU. If so, please provide pointers to the twi drivers or documentation for the same, or suggest factors that should be considered for developing such drivers. Thank you.
Is there a suitable Two wire interface / I2C reading writing library in Contiki OS for Atmega128 platform?
379 Views Asked by Maneesh18187 At
1
There are 1 best solutions below
Related Questions in C
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in INTERRUPT
- the end of the I/O operation is notified to the system by an interrupt.how much system time do the mentioned operations occupy?
- Unable to set an interrupt affinity in linux?
- fastLED degrades PWM outputs Arduino
- Difficulty understanding virtual LPIs in GICv3
- IRQ interrupt obtaining abnormal possibilities
- MKL02Z32xxx4 (FRDM-KL02Z Board) Timer overflow interrupt not firing
- Interrupt handling with push buttons in ARMv7
- Ultrasonic range finder HC-SR04 using one timer
- Does the Direct Memory Access (DMA) interfere with the execution of user program execution?
- How to write the external interrupt callback function of Linux kernel v3.10?
- Interaction with a thread from ISR using C++ Standard Library on ESP32
- Global variable value doesn't change in ISR in C
- The module first installed the alarm when it started
- ATTiny1606 Timer TCA0 interrupt not triggering
- RT linux isr routine
Related Questions in INTERRUPT-HANDLING
- How to write strictly conforming interrupt service routines (on AVR)
- Is it legal to use `volatile uint8_t` instead of `volatile sig_atomic_t`?
- Why does memory-barrier prohibit optimization on static global variable?
- Timer interrupt using ESP32 IDF
- ATTiny 1626 pullup input does not trigger falling edge ISR, is there something wrong with my setup?
- Optimization, global variables and memory-barriers
- what is the 1 of N model implementation for GIC600
- Sleeping or blocking in interrupt handler
- XINU OS - How can I count number of interrupts handlers that occured?
- How to exit waitPress() fuction of the Keypad library?
- Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in…”
- Clearing interrupt necessary inside an ISR? (for Atmega644p uC)
- Implementing ISR in C++ for AVR Mega
- General memory-barrier versus special volatile access (on AVR)
- What is the machinery behind stack unwinding?
Related Questions in CONTIKI
- How to run Zephyr Echo Client-Server sample using nrf52840dk & nrf52840dongle?
- Are there any resources or documentation that provide power consumption characteristics of Cooja motes, similar to real hardware
- Renode's terminal and node's window not opening in Contiki-ng
- How to resolve these JAVA_HOME path error in contiki-ng cooja
- Data packet format and routing tables in RPL
- In MQTT PUBLICATION
- How to make motes move in cooja
- How to display information in collect view using exemple/udp-ipv6/udp_client?
- Is is possible to switch between radios in Contiki NG during runtime (change NETSTACK_RADIO struct)?
- When simulating RPL Attack in Cooja, modifications made to core files affect normal motes behavior during experiment?
- Using an Openmote-B ADC
- How to modified sky mote or wake change wake up time periodically in contiki 2.7?
- dht11 sensor timed out with cc2650 launchpad
- How to write a C program which contains swtich case that decides which progam to compile amoung two other c programs
- Why a variable would not be allocated as local in stack
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you don't have any luck finding/creating a driver for the TWI peripheral, you might consider emulating it by configuring the SDA/SCL pins as general I/O and then implementing the TWI protocol yourself. If you're just doing a one-time read of a chip ID then speed probably isn't a big concern, so this could work if you get desperate. Google should throw up a few examples of emulated TWI.