Bluetrum Technology AB53 Series User Manual

Audio player microcontroller

Advertisement

Quick Links

Audio Player Microcontroller User Manual
Declaration
Copyright © 2018, www. bluetrum.com.
All Rights Reserved. No Unauthorized Distribution.
Bluetrum reserves the right to make changes without further notice to any products herein
to improve reliability, function or design.
For further information on the technology, product and business term, please contact
Bluetrum Company.
For sales or technical support, please send email to the address:
Sales:
sales@bluetrum.com
Technical:
project@bluetrum.com
Bluetrum Technology
AB53XX
Bluetooth Speaker
ARG-SP-3016BK
Versions: 0.0.7
2018/09/27

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AB53 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Bluetrum Technology AB53 Series

  • Page 1 Bluetrum Technology AB53XX Audio Player Microcontroller User Manual Bluetooth Speaker Versions: 0.0.7 ARG-SP-3016BK 2018/09/27 Declaration Copyright © 2018, www. bluetrum.com. All Rights Reserved. No Unauthorized Distribution. Bluetrum reserves the right to make changes without further notice to any products herein to improve reliability, function or design.
  • Page 2 Bluetrum Technology Appendix I Revision History Date Version Comments Revised by 2018-07-03 0.0.1 First draft 2018-07-12 0.0.2 Add PWM Hugo 2018-08-13 0.0.3 Add RTC Hugo 2018-08-24 0.0.5 Add QDID Hugo 2018-09-11 0.0.6 Update uart0baud description 2018-09-27 0.0.7 Remove package...
  • Page 3: Table Of Contents

    Table of content Table of Contents TABLE OF CONTENTS ............................. 3 PRODUCT OVERVIEW............................ 5 ................................5 NTRODUCE ................................6 EATURES INTERRUPTS ..............................7 ..........................8 NTERRUPTS PECIAL EGISTERS GPIO MANAGEMENT ..........................10 ................................10 EATURES GPIO ........................10 GENERAL CONTROL REGISTER GPIO ...........................
  • Page 4 Table of content IO P ..............................31 ARAMETERS DAC P ............................ 32 UDIO ARAMETERS ADC P ............................ 32 UDIO ARAMETERS BT P ..............................32 ARAMETERS ............................33 URRENT ARAMETERS Copyright © 2018, www. bluetrum.com. All Rights Reserved...
  • Page 5: Product Overview

    1Product Overview 1 Product Overview 1.1 Introduce AB53XX is a 32 bits RISC microcontroller. It integrates advanced digital and analog peripherals to audio player applications. DAC/PA FM RX FM TX CODEC SPDIF RX DSP ENGINE SD/MMC Memory USB2.0 PMU(Charger Bluetooth /Buck) GPIO/PWM UART...
  • Page 6: Features

    1Product Overview 1.2 Features SNR, with headphone amplifier output; CPU and Flexible IO Peripheral and Interfaces 32bit High performance with instruction Three 32-bit timers; Flexible GPIO pins with Programmable pull-up and Three multi-function 32-bit timers, support pull-down resistors; Capture and PWM mode; Support GPIO wakeup or interrupt;...
  • Page 7: Interrupts

    2Interrupts 2 Interrupts Support vectorized interrupts, exceptions on illegal instructions and exceptions on load and store instructions to invalid addresses. Exception vectors Interrupt Address Description number 0x00 Reset 0x10 0x20 0x30 0x40 Low priority interrupt 0x50 0x60 0x70 0x80~0x280 High priority interrupt(see the following table) High priority interrupt vectors Interrupt Address...
  • Page 8: Interrupts Special Registers

    2Interrupts Interrupt Address Description number 0x260 0x270 2.1 Interrupts Special Registers Register 2-1PICCON: Peripheral interrupt control Register Name Mode Default Description 31:17 Unused Global interrupt enable mask bit GIEM 0: disable interrupt 1: enable interrupt 15:8 Unused Unused High priority interrupt enable bit HPINTEN 0: disable 1: enable...
  • Page 9 Name Mode Default Description 31:0 IntDIS Write 1 disable Interrupt 31 to 0 Register 2-7PICPR: Peripheral high priority interrupt selection Register Name Mode Default Description Interrupt 31 to 0 priority selection bit 31:0 IntPR 0: low priority interrupt 1: high priority interrupt Register 2-8PICADR: Peripheral interrupt address Register Name Mode...
  • Page 10: Gpio Management

    3GPIO Management 3 GPIO Management 3.1 Features Control GPIO input/output direction by using direction register; Internal pull-up/pull-down resistor by using pull-up/pull-down resistor control register; Select suitable output driving current capability; 3.2 GPIO general control register Register 3-1GPIOA: Port A data Register Name Mode Default...
  • Page 11: Gpio Function Mapping

    3GPIO Management Name Mode Default Description 31:8 Unused PAx 200KΩ pull-up resister control. Valid when PAx is used as input GPIOAPU 0: disable 1: enable Register 3-8GPIOAPD200K: Port A pull-down resister Register Name Mode Default Description 31:8 Unused PAx 200KΩ pull-down resister control. Valid when PAx is used as input GPIOAPD 0: disable 1: enable...
  • Page 12 3GPIO Management Name Mode Default Description 0011: map to TX pin by UT1TXMAP select 1111: Clear these bits Others is reserved UART1 TX mapping 0000: no affect 0001: map to G1 27:24 UT1TXMAP 0010: map to G2 1111: Clear these bits Others is reserved 23:20 19:16...
  • Page 13: External Port Interrupt Wake Up

    3GPIO Management Name Mode Default Description 0001: map to G1 0010: map to G2 0011: map to TX pin by UT2TXMAP select 1111: Clear these bits Others is reserved UART2 TX mapping 0000: no affect 0001: map to G1 UT2TXMAP 0010: map to G2 1111: Clear these bits Others is reserved...
  • Page 14 3GPIO Management Register 3-17WKUPCON: Wake up control Register Name Mode Default Description 31:17 Unused Wake up interrupt enable WKIE 0: disable 1: enable 15:8 Unused Wake up input 7~0 enable WKEN 0: disable 1: enable Register 3-18WKUPEDG: Wake up edge select Register Name Mode Default...
  • Page 15: Timer

    4Timer 4 Timer 4.1 Features Timer0/1/2, only support 32bit timer function Timer3/4/5, can be configured to Timer-mode, Counter-mode, Capture-mode and PWM-mode 4.2 Timer0/1/2 Special Function Registers Register 4-1TMR0CON/TMR1CON/TMR2CON: Timer0/1/2 Control Register Name Mode Default Description 31:10 Unused Timer overflow pending TPND 0: not overflow 1: overflow...
  • Page 16: Timer3/4/5 Special Function Registers

    4Timer 4.3 Timer3/4/5 Special Function Registers Register 4-5TMR3CON/TMR4CON/TMR5CON: Timer3/4/5 Control Register Name Mode Default Description 31:18 Unused Timer capture pending CPND 0: not capture 1: capture Timer overflow pending TPND 0: not overflow 1: overflow 15:12 Unused Timer pwm2 enable bit PWM2EN 0: disable 1: enable...
  • Page 17 4Timer Name Mode Default Description Timer counter. TMRCNT will increase when timer is enabled. It overflows when TMRCNT = 31:0 TMRCNT TMRPR, TMRCNT will be clear to 0x0000 when overflow, and the interrupt flag will be set ‘1’. Register 4-8TMR3PR/TMR4PR/TMR5PR: Timer3/4/5 period Register Name Mode Default...
  • Page 18: Pwm

    5PWM 5 PWM 5.1 Features Four channel PWM for Breathing-lamp 5.2 Special Function Registers Register 5-1 PWMCON: PMW Configure Register Name Mode Default Description 31:5 PWM invert enable PWMIVN 0: duty is high level 1: duty is low level PWM Auto Adjust enable AUTOADJUST 0: disable 1: enable PWM3 enable...
  • Page 19 5PWM Name Mode Default Description (PWM0STEP/ PWMPR) Register 5-6 PWMSTEP: PWM Step register Name Mode Default Description 31:24 PWM3STEP PWM3 Duty adjust step 23:16 PWM2STEP PWM2 Duty adjust step 15:8 PWM1STEP PWM1 Duty adjust step PWM0STEP PWM0 Duty adjust step Copyright ©...
  • Page 20: Rtc

    6RTC 6 RTC 6.1 Features Support 32bit Independent power supply real time counter Support alarm interrupt and second interrupt 6.2 Special Function Registers Register 6-1RTCCON: RTC Control Register Name Mode Default Description 31:13 Unused VUSB online state VUSBONLINE 0: not online 1: online RTC WK pin state RTCWKP...
  • Page 21: Independent Power Rtc Registers

    6RTC Name Mode Default Description 1:enable Register 6-2RTCDAT: RTC data Register Name Mode Default Description 31:10 Unused RTC cmd 00: data RTCMD 01: read command 10: write command 11: reserve RTCDAT RTC data Register 6-3RTCCPND: RTC clear pending Register Name Mode Default Description...
  • Page 22 6RTC Name Mode Default Description WK pin pull up enable bit WKPPUEN 0: disable 1: enable WK pin pull up select bit 00: 80K WKPPUS 01: 90K 10: 100K 11: 400K WK pin pull down 10K enable bit WKPPD 0: disable 1: enable WK pin input enable bit WKPIE...
  • Page 23 6RTC Name Mode Default Description 0: disable 1: enable BUCK LDO mode select bit LDOM 0: buck mode 1: LDO mode Register 6-11 RTCCON7: RTC control Register 7 Name Mode Default Description Unused WKOPRT WKO protect bit LVD detect enable after power up by wake up LVDDETEN 0: disable 1:enable...
  • Page 24 6RTC Name Mode Default Description 0xa: disable Others: enable After enable, can’t disable. Copyright © 2018, www. bluetrum.com. All Rights Reserved...
  • Page 25: Uart0

    7UART0 7 UART0 7.1 Features UART is a serial port capable of asynchronous transmission. The UART can function in full duplex mode. 7.2 UART0 Special Function Registers Register 7-1UART0CON: UART Control Register Name Mode Default Description 31:10 Unused RX pending RXPND 0: RX one byte not finish 1: RX one byte finish...
  • Page 26: User Guide

    7UART0 Name Mode Default Description 15:10 Unused RX pending clear CRXPND 0: N/A 1: Clear RX Pending TX pending clear CTXPND 0: N/A 1: Clear TX Pending. Writing data to UTBUF will clear TXPND Unused Register 7-3UART0BAUD: UART Baud Rate Register Name Mode Default...
  • Page 27: Spi1

    8SPI1 8 SPI1 8.1 Features SPI1 can support different mode general 3 wire mode, 1-bit clock in/out, 1-bit data output, 1-bit data input 2 wire mode, 1-bit clock in/out, 1-bit data output or input; 2 data bus mode, 1-bit clock in/out, 2-bit data output or input; 8.2 SPI1 Special Function Registers Register 8-1SPI1CON: SPI1 Control Register Name...
  • Page 28 8SPI1 Name Mode Default Description 0: transmit 1: receive Data bus width select bit 00:3-wire mode; 1bit data in, 1bit data out BUSMODE 01:2-wire mode; 1bit data in/out 10: 2bit bidirectional data bus 11: reserved Slave mode select bit SPISM 0:master mode 1:slave mode SPI Enable Bit...
  • Page 29: User Guide

    8SPI1 Name Mode Default Description 15:0 Unused Register 8-4 SPI1BUF: SPI1 receive/send Data Register Name Mode Default Description 31:8 Unused SPI Data Write this register will load the data to transmitter buffer. SPI1BUF Read this register will read the data from the receiver buffer.. Register 8-5 SPI1DMACNT: SPI1 DMA counter Register Name Mode...
  • Page 30 8SPI1 Set SPIIE ‘1’ if needed Write data to SPIBUF to kick-start the process Wait for SPIPND to change to ‘1’, or wait for interrupt Read received data from SPIBUF if needed 10. Go to Step 8 to start another process if needed or turn off SPI1by clearing SPIIE and SPIEN SPI Normal multi-bit-Mode Operation Flow: Set data bus width(bus 2) and select the pin map Select RXSEL for Transmit or receive...
  • Page 31: Characteristics

    9Characteristics 9 Characteristics 9.1 PMU Parameters Table 9-1 PMU voltage input Parameters Characteristics Unit Conditions VUSB Charger Voltage input VBAT Voltage input Table 9-2 3.3V LDO Parameters Characteristics Unit Conditions VDDIO 3.3V LDO voltage output Light Loading condition △VVDDIO Output Mismatch 1-sigma VDDIO=3.3v ILOAD Maximum output current...
  • Page 32: Audio Dac Parameters

    9Characteristics 9.3 Audio DAC Parameters Table 9-6 Audio DAC Parameters Characteristics Unit Conditions VCM cap=1uF VDDDAC cap=1uF with A-wt filter Output -3dBV Fin=1KHz VCM cap=1uF VDDDAC cap=1uF THD+N with A-wt filter Output -3dBV with 10K loading Fin=1KHz Output Range Maximum output voltage 32ohm Loading peak-peak 9.4 Audio ADC Parameters...
  • Page 33: Current Parameters

    9Characteristics 9.6 Current Parameters Table 9-9 Current Parameters Characteristics Unit Conditions IRTC RTC mode current 4.2V input, room temp. Sleep Sleep current 2000 3.3V input, room temp FCC WARNING STATEMENT Changes or modifications not expressly approved by the party responsible for compliance could void the user’s authority to operate the equipment.

Table of Contents