A single-chip microcomputer is an integrated circuit chip that contains multiple functional components such as a central processing unit CPU, random access memory RAM, read-only memory ROM, input and output I/O interfaces, interrupt control system, timer/counter and communication.
The microcontroller used in this tutorial is the CC2530 produced by Texas Instruments, and its pin distribution is as follows:
P0 and P1 have 8 pins each (1 byte = 8 bits, pin/bit. Generally defined in hexadecimal, convert to binary by yourself and combine with the parameter table to understand each setting function), and P2 has 5 pins.
【software】
1. IAR Embedded Workbench for 8051. IAR is a famous C compiler. CC2530 uses the 8051 core.
2. SmartRF Flash Programmer, burn the hex file generated by IAR into the cc2530 chip.
3. sscom3.2 serial port debugging assistant.
【Actual picture】
Previous article:About the serial port working mode
Next article:5.2 SW1 controls the on and off of LED1 (interrupt function)
- 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
- CGD and Qorvo to jointly revolutionize motor control solutions
- CGD and Qorvo to jointly revolutionize motor control solutions
- Keysight Technologies FieldFox handheld analyzer with VDI spread spectrum module to achieve millimeter wave analysis function
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- A new chapter in Great Wall Motors R&D: solid-state battery technology leads the future
- Naxin Micro provides full-scenario GaN driver IC solutions
- Interpreting Huawei’s new solid-state battery patent, will it challenge CATL in 2030?
- Are pure electric/plug-in hybrid vehicles going crazy? A Chinese company has launched the world's first -40℃ dischargeable hybrid battery that is not afraid of cold
- 【GD32L233C-START Review】7. PWM LED Driver
- A brief description of the stack structure in the ZigBee standard
- [Original] I recently heard that ST's chips have started to increase in price. So can domestic chips rise through this opportunity?
- How to configure DM368 to make the output image horizontally mirrored when using sensor image acquisition
- Chat: How does your company control technical documents?
- The Representation and Operation of Numbers in Single Chip Microcomputer
- Can the vehicle gateway be integrated into other modules?
- How to select MOS tubes for three-phase full-bridge inverter drive circuits?
- [RT-Thread Reading Notes] Part 2 (4) Events, Software Timers, Memory Management
- Apply for free | STM32F7508-DK Discovery Kit and have a chance to win a prize of 10,000 yuan!