当前位置:网站首页>Fledgling Xiao Li's 103rd blog CC2530 resource introduction

Fledgling Xiao Li's 103rd blog CC2530 resource introduction

2022-07-06 06:25:00 Fledgling Xiao Li

CC253x Equipment introduction

CC253x Equipment series used 8051 CPU The kernel is a single cycle 8051 Compatible with kernel . It has three different memory access buses (SFR、DATA and CODE/XDATA), Access in a single cycle SFR、DATA And the Lord SRAM. It also includes a debugging interface and a 18 Input extended interrupt unit .

Have 18 Broken source , The memory arbiter is located in the center of the system. The memory arbiter has four access points , Each access can be mapped to one of three physical memories : One 8-KB SRAM、 One Flash memory and one XREG/SFR register . It is responsible for the execution of arbitration , And determine the order of memory access to the same physical memory at the same time .1.8V Low voltage differential power supply . Up to five reset sources .

Debug interface

Convenient for debugging equipment .

The flash controller handles writing and erasing embedded flash memory

Allow page erasure and 4 Byte programming .

IO controller

Input Output Controlled Pull up resistance Selection of pull-down resistance . Interrupt source selection

Five channel multifunction DMA controller

Every channel ( trigger 、 priority 、 transmission mode 、 Addressing mode 、 Source and destination pointers and transfer counts ) use DMA
Descriptors configure many hardware peripherals anywhere in memory (AES kernel 、 Flash controller 、USART、 Timer 、ADC Interface ) adopt
Use DMA The controller is in SFR or XREG Address and flash /SRAM Data transfer between , Get efficient operation .

Timer 1:

It's a 16 Bit timer , With timer / Counter /PWM function . It has a programmable frequency divider , One
16 Bit period value , And five individually programmable counters / Capture channels , Each has a 16 Bit comparison value . Each counter / The capture channel can be used as a PWM Timing of outputting or capturing the edge of the input signal . It can also be configured in IR Generation mode , Calculate timer 3 cycle , Output and timing device 3 The output of is consistent with , With minimal CPU Interaction produces modulated consumption IR The signal .

Timer 2

Also called MAC Timers are specifically designed to support IEEE 802.15.4 MAC Or the protocol design of other time slots in the software .
The timer has a configurable timer cycle and a 8 Bit overflow counter , It can be used to keep track of the number of cycles that have passed . One 16 Bit catch The get register is also used to record the receipt / The exact time to send a frame start delimiter , Or the exact time when the transmission ends , One more 16 Bit output ratio The register can generate different strobe commands at a specific time ( Start RX, Start TX, wait ) To wireless module .

Timer 3 And timers 4

yes 8 Bit timer , With timer / Counter /PWM function . They have a programmable frequency division device , One 8 Periodic value of bit , A programmable counter channel , Has a 8 Bit comparison value . Each counter channel can be used as a PWM Output .

Sleep timer

It is an ultra-low power timer , Calculation 32-kHz Crystal oscillator or 32-kHz RC Period of oscillator . Sleep timer in addition to power mode 3 It runs continuously in all working modes . The typical application of this timer is as a real-time counter , Or as a call The wake-up timer jumps out of the power supply mode 1 or 2.

ADC

Support 7 To 12 Bit resolution , Respectively in 30 kHz or 4 kHz The bandwidth of the .DC And audio conversion can use up to eight input channels ( port 0). The input can be selected as single ended or differential . The reference voltage can be an internal voltage 、AVDD Or a single ended or Differential external signal .ADC There is also a temperature sensing input channel .ADC A program that automatically performs periodic sampling or conversion of channel sequences .

Random number generator

Use one 16 position LFSR To generate pseudo-random numbers , This can be CPU Read or strobe command processor
Use it directly . For example, random numbers can be used to generate random keys , For security .

AES Coprocessor

Allow users to use with 128 Bit key AES Algorithm encrypts and decrypts data . This kernel can support IEEE 802.15.4 MAC Security 、ZigBee Required by network layer and application layer AES operation .

A built-in watchdog timer

Allow the device to reset itself when the firmware is suspended . When the watchdog timer is enabled by software , It must be cleared regularly ; otherwise , When it times out, it resets the device . Or it can be configured as a general 32-kHz Timer .

USART 0 and USART 1

Each is configured as one SPI Lord / From or a UART. They are RX and TX A pair of buffer , And hardware flow control , Therefore, it is very suitable for high-throughput full duplex applications . Each has its own high-precision baud rate generator , therefore
It can idle the ordinary timer for other purposes .
USB 2.0 Full speed controller ( only CC2531 You can use ) Yes 5 Endpoints ,1KB FIFO RAM Double buffering .

CC253x The device family provides a IEEE 802.15.4 Compatible with wireless transceiver .RF The kernel controls the analog wireless module . in addition , It provides 了 MCU An interface with a wireless device , This makes it possible to issue commands 、 Read status 、 Automatically operate and determine the sequence of wireless device events . The wireless device also includes a packet filtering and address identification module

How to develop :
Development Kit
Development software
Compile toolchain
Above the standard agreement Development RemoTI Network protocol

原网站

版权声明
本文为[Fledgling Xiao Li]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202132027545636.html