SDA SCL
Each device has a unique address and there is a master/slave relationship between them
Start signal End signal Response signal (sent by the receiver)
The RTC chip M41t11 used in this development board is connected to the processor using the IIC bus.
@**********************************************************************************
@ File: head.S
@ Function: Set up SDRAM, copy the program to SDRAM, and then jump to SDRAM to continue execution
@**************************************************************************
.extern
.text
.global _start
_start:
@**********************************************************************************
@ Interrupt vector. In this program, except Reset and HandleIRQ, other exceptions are not used
@******************************************************************************
@ 0x04: The vector address of the undefined instruction abort mode
HandleUndef:
@ 0x08: The vector address of the management mode, which is entered by the SWI instruction
HandleSWI:
@ 0x0c: vector address of the exception caused by instruction prefetch termination
HandlePrefetchAbort:
@ 0x10: The vector address of the exception caused by data access termination
HandleDataAbort:
@ 0x14: Reserved
HandleNotUsed:
@ 0x18: interrupt mode vector address
@ 0x1c: Vector address of fast interrupt mode
HandleFIQ:
Reset:
ret_initirq:
halt_loop:
HandleIRQ:
int_return:
#include
#include "serial.h"
#include "i2c.h"
#include "m41t11.h"
int main()
{
Previous article:SQLite transplantation
Next article:UART Operation
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Detailed explanation of intelligent car body perception system
- How to solve the problem that the servo drive is not enabled
- Why does the servo drive not power on?
- What point should I connect to when the servo is turned on?
- How to turn on the internal enable of Panasonic servo drive?
- What is the rigidity setting of Panasonic servo drive?
- How to change the inertia ratio of Panasonic servo drive
- What is the inertia ratio of the servo motor?
- Is it better for the motor to have a large or small moment of inertia?
- What is the difference between low inertia and high inertia of servo motors?
- TI eSports training video recommendation
- Good information on clock division
- I thought there was something wrong with IAR, but it turns out that I can input in multiple locations at the same time.
- Permanent magnet brushless motor and its driving technology
- Using cartridges and the ESP8266 microcontroller, a master gave Game Boy the ability to surf the Internet
- A way to significantly improve the distortion of audio playback systems
- MSP430F149
- It is time to accumulate some knowledge on GaN power device design when developing switching power supplies
- Brief Introduction to the Principle and Design of Flyback Converter
- WIFI development software tool sharing