Newer
Older
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
.. _detailed-hardware-design:
Detailed Hardware Design
#########################
This section provides a detailed description of the Hardware design.
This can be useful for interfacing, writing drivers, or using it to help
modify specifics of your own design.
:ref:`bbai-64-block-diagram-ch06` below is the high level block diagram of the board. For those who may be concerned, It is the same figure as shown in :ref:`beaglebone-ai-64-high-level-specification`. It is placed here again for convenience so it is closer to the topics to follow.
.. _bbai-64-block-diagram-ch06:
.. figure:: images/ch05/board-block-diagram.svg
:width: 400px
:align: center
:alt: Fig: BeagleBone AI-64 Key Components
Fig: BeagleBone AI-64 Key Components
.. _power-section:
Power Section
-----------------------------------
:ref:`power-flow-diagram` shows the high level block diagram of the power section of the board.
.. _power-flow-diagram,High level power block diagram:
.. figure:: images/ch06/power.svg
:width: 400px
:align: center
:alt: Fig: High level power block diagram
Fig: High level power block diagram
This section describes the power section of the design and all the
functions performed by the *TPS65941213 and TPS65941111*.
.. _TPS65941213-and-TPS65941111-pmic:
TPS65941213 and TPS65941111 PMIC
*********************************************
The main Power Management IC (PMIC) in the system is the *TPS65941213 and TPS65941111*
which is a single chip power management IC consisting of a linear
dual-input power path, three step-down converters, and four LDOs. LDO
stands for Low Drop Out. If you want to know more about an LDO, you can
go to `http://en.wikipedia.org/wiki/Low-dropout_regulator <http://en.wikipedia.org/wiki/Low-dropout_regulator>`_ .
If you want to learn more about step-down converters, you can go to `_http://en.wikipedia.org/wiki/DC-to-DC_converter <http://en.wikipedia.org/wiki/DC-to-DC_converter>`_ .
The system is supplied by a USB port or DC adapter. Three
high-efficiency 2.25MHz step-down converters are targeted at providing
the core voltage, MPU, and memory voltage for the board.
The step-down converters enter a low power mode at light load for
maximum efficiency across the widest possible range of load currents.
For low-noise applications the devices can be forced into fixed
frequency PWM using the I2C interface. The step-down converters allow
the use of small inductors and capacitors to achieve a small footprint
solution size.
LDO1 and LDO2 are intended to support system standby mode. In normal
operation, they can support up to 100mA each. LDO3 and LDO4 can support
up to 285mA each.
By default only LDO1 is always ON but any rail can be configured to
remain up in SLEEP state. In particular the DCDC converters can remain
up in a low-power PFM mode to support processor suspend mode. The
*TPS65941213 and TPS65941111* offers flexible power-up and power-down sequencing and
several house-keeping functions such as power-good output, pushbutton
monitor, hardware reset function and temperature sensor to protect the
battery.
See the :ref:`TPS6594-Q1-block-diagram` shown below for high level details
for *TPS65941213 and TPS65941111*, for more information on the, refer to https://www.ti.com/product/TPS6594-Q1 Texas instruments product page.
.. _TPS6594-Q1-block-diagram:
.. figure:: images/ch06/TPS6594-Q1.svg
:width: 400px
:align: center
:alt: Fig: TPS6594-Q1 block diagram
Fig: TPS6594-Q1 block diagram
.. _pmic-a-diagram,PMIC-A TPS65941213 circuit:
.. figure:: images/ch06/pmic-a.svg
:width: 400px
:align: center
:alt: Fig: PMIC-B TPS65941213 circuit
Fig: PMIC-B TPS65941213 circuit
.. _pmic-b-diagram,PMIC-B TPS65941111 circuit:
.. figure:: images/ch06/pmic-b.svg
:width: 400px
:align: center
:alt: Fig: PMIC-B TPS65941111 circuit
Fig: PMIC-B TPS65941111 circuit
.. _dc-input:
DC Input
***********
:ref:`figure-23` below shows how the DC input is connected to the **TPS65941213 and TPS65941111**.
.. _figure-23,Figure 23:
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
:width: 400px
:align: center
:alt: Fig: TPS65217 DC Connection
Fig: TPS65217 DC Connection
A 5VDC supply can be used to provide power to the board. The power
supply current depends on how many and what type of add-on boards are
connected to the board. For typical use, a 5VDC supply rated at 1A
should be sufficient. If heavier use of the expansion headers or USB
host port is expected, then a higher current supply will be required.
The connector used is a 2.1MM center positive x 5.5mm outer barrel. The
5VDC rail is connected to the expansion header. It is possible to power
the board via the expansion headers from an add-on card. The 5VDC is
also available for use by the add-on cards when the power is supplied by
the 5VDC jack on the board.
.. _usb-power:
USB Power
*************
The board can also be powered from the USB port. A typical USB port is
limited to 500mA max. When powering from the USB port, the VDD_5V rail
is not provided to the expansion headers, so capes that require the 5V
rail to supply the cape direct, bypassing the *TPS65941213 and TPS65941111*, will not have
that rail available for use. The 5VDC supply from the USB port is
provided on the SYS_5V, the one that comes from the**TPS65941213 and TPS65941111**, rail
of the expansion header for use by a cape. *Figure 24* is the connection
of the USB power input on the PMIC.
.. _figure-24.-usb-power-connections:
.. figure:: media/image96.png
:width: 400px
:align: center
:alt: Fig: USB Power Connections
Fig: USB Power Connections
.. _power-selection:
Power Selection
*********************************************
The selection of either the 5VDC or the USB as the power source is
handled internally to the *TPS65941213 and TPS65941111* and automatically switches to 5VDC
power if both are connected. SW can change the power configuration via
the I2C interface from the processor. In addition, the SW can read
the**TPS65941213 and TPS65941111** and determine if the board is running on the 5VDC input
or the USB input. This can be beneficial to know the capability of the
board to supply current for things like operating frequency and
expansion cards.
It is possible to power the board from the USB input and then connect
the DC power supply. The board will switch over automatically to the DC
input.
.. _power-button-1:
Power Button
*********************************************
A power button is connected to the input of the *TPS65941213 and TPS65941111*. This is a
momentary switch, the same type of switch used for reset and boot
selection on the board.
If you push the button the *TPS65941213 and TPS65941111* will send an interrupt to the
processor. It is up to the processor to then pull the**PMIC_POWER_EN**
pin low at the correct time to power down the board. At this point, the
PMIC is still active, assuming that the power input was not removed.
Pressing the power button will cause the board to power up again if the
processor puts the board in the power off mode.
In power off mode, the RTC rail is still active, keeping the RTC powered
and running off the main power input. If you remove that power, then the
RTC will not be powered. You also have the option of using the battery
holes on the board to connect a battery if desired as discussed in the
next section.
If you push and hold the button for greater than 8 seconds, the PMIC
will power down. But you must release the button when the power LED
turns off. Holding the button past that point will cause the board to
power cycle.
.. _section-6-1-7,Section 6.1.7 Power Consumption:
Power Consumption
*********************************************
The power consumption of the board varies based on power scenarios and
the board boot processes. Measurements were taken with the board in the
following configuration:
* DC powered and USB powered
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
* Ethernet connected @ 100M
* Serial debug cable connected
:ref:`table-4` is an analysis of the power consumption of the board in these various scenarios.
.. _table-4,Table 4:
.. list-table:: Table 2: BeagleBone AI-64 Features and Specification
:header-rows: 1
* - MODE
- USB
- DC
- C+USB
* - Reset
- TBD
- TBD
- TBD
* - Idling @ UBoot
- 210
- 210
- 210
* - Kernel Booting (Peak)
- 460
- 460
- 460
* - Kernel Idling
- 350
- 350
- 350
* - Kernel Idling Display Blank
- 280
- 280
- 280
* - Loading a Webpage
- 430
- 430
- 430
The current will fluctuate as various activates occur, such as the LEDs
on and microSD/eMMC accesses.
.. _processor-interfaces:
Processor Interfaces
*********************************************
The processor interacts with the *TPS65941213 and TPS65941111* via several different
signals. Each of these signals is described below.
.. _i2c0:
I2C0
************
I2C0 is the control interface between the processor and the *TPS65941213 and TPS65941111*.
It allows the processor to control the registers inside the**TPS65941213 and TPS65941111**
for such things as voltage scaling and switching of the input rails.
.. _pmc_powr_en:
PMIC_POWR_EN
******************
On power up the *VDD_RTC* rail activates first. After the RTC circuitry
in the processor has activated it instructs the**TPS65941213 and TPS65941111** to initiate
a full power up cycle by activating the *PMIC_POWR_EN* signal by taking
it HI. When powering down, the processor can take this pin low to start
the power down process.
.. _ldo_good:
LDO_GOOD
*********************
This signal connects to the *RTC_PORZn* signal, RTC power on reset. The
small “*n*” indicates that the signal is an active low signal. Word
processors seem to be unable to put a bar over a word so the**n** is
commonly used in electronics. As the RTC circuitry comes up first, this
signal indicates that the LDOs, the 1.8V VRTC rail, is up and stable.
This starts the power up process.
.. _pmic_pgood:
PMIC_PGOOD
******************
Once all the rails are up, the *PMIC_PGOOD* signal goes high. This
releases the**PORZn** signal on the processor which was holding the
processor reset.
.. _wakeup:
WAKEUP
**************
The WAKEUP signal from the *TPS65941213 and TPS65941111* is connected to the**EXT_WAKEUP**
signal on the processor. This is used to wake up the processor when it
is in a sleep mode. When an event is detected by the *TPS65941213 and TPS65941111*, such
as the power button being pressed, it generates this signal.
.. _pmic_int:
PMIC_INT
************
The *PMIC_INT* signal is an interrupt signal to the processor. Pressing
the power button will send an interrupt to the processor allowing it to
implement a power down mode in an orderly fashion, go into sleep mode,
or cause it to wake up from a sleep mode. All of these require SW
support.
.. _power-rails:
6.1.9 Power Rails
***********************
:ref:`figure-25` shows the connections of each of the rails from the **TPS65941213 and TPS65941111**.
.. _figure-25,Figure 25:
.. figure:: media/image39.jpg
:width: 400px
:align: center
:alt: fig-25: Power Rails
Fig-25: Power Rails
VRTC Rail
************
The *VRTC* rail is a 1.8V rail that is the first rail to come up in the
power sequencing. It provides power to the RTC domain on the processor
and the I/O rail of the **TPS65941213 and TPS65941111**. It can deliver up to 250mA
maximum.
VDD_3V3A Rail
*************************
The *VDD_3V3A* rail is supplied by the **TPS65941213 and TPS65941111** and provides the
3.3V for the processor rails and can provide up to 400mA.
VDD_3V3B Rail
**********************
The current supplied by the *VDD_3V3A* rail is not sufficient to power
all of the 3.3V rails on the board. So a second LDO is supplied, U4,
a **TL5209A**, which sources the *VDD_3V3B* rail. It is powered up just
after the *VDD_3V3A* rail.
VDD_1V8 Rail
*********************************************
The *VDD_1V8* rail can deliver up to 400mA and provides the power
required for the 1.8V rails on the processor and the display framer. This
rail is not accessible for use anywhere else on the board.
VDD_CORE Rail
*********************************************
The *VDD_CORE* rail can deliver up to 1.2A at 1.1V. This rail is not
accessible for use anywhere else on the board and connects only to the
processor. This rail is fixed at 1.1V and should not be adjusted by SW
using the PMIC. If you do, then the processor will no longer work.
VDD_MPU Rail
*********************************************
The *VDD_MPU* rail can deliver up to 1.2A. This rail is not accessible
for use anywhere else on the board and connects only to the processor.
This rail defaults to 1.1V and can be scaled up to allow for higher
frequency operation. Changing of the voltage is set via the I2C
interface from the processor.
VDDS_DDR Rail
*********************************************
The *VDDS_DDR* rail defaults to**1.5V** to support the LPDDR4 rails and
can deliver up to 1.2A. It is possible to adjust this voltage rail down
to *1.35V* for lower power operation of the LPDDR4 device. Only LPDDR4
devices can support this voltage setting of 1.35V.
Power Sequencing
*********************************************
The power up process is consists of several stages and events. :ref:`figure-26`
describes the events that make up the power up process for the
processer from the PMIC. This diagram is used elsewhere to convey
additional information. I saw no need to bust it up into smaller
diagrams. It is from the processor datasheet supplied by Texas
Instruments.
.. _figure-26,Figure 26:
.. figure:: media/image40.png
:width: 400px
:align: center
:alt: Fig-26: Power Rail Power Up Sequencing
Fig-26: Power Rail Power Up Sequencing
:ref:`figure-27` the voltage rail sequencing for the**TPS65941213 and TPS65941111** as it
powers up and the voltages on each rail. The power sequencing starts at
15 and then goes to one. That is the way the *TPS65941213 and TPS65941111* is configured.
You can refer to the TPS65941213 and TPS65941111 datasheet for more information.
.. _figure-27,Figure 27:
.. figure:: media/image41.png
:width: 400px
:align: center
:alt: Fig-27: TPS65941213 and TPS65941111 Power Sequencing Timing
Fig-27: TPS65941213 and TPS65941111 Power Sequencing Timing
.. _power-led:
Power LED
*********************************************
The power LED is a blue LED that will turn on once the *TPS65941213 and TPS65941111* has
finished the power up procedure. If you ever see the LED flash once,
that means that the**TPS65941213 and TPS65941111** started the process and encountered an
issue that caused it to shut down. The connection of the LED is shown in
:ref:`figure-25`.
.. _TPS65941213-and-TPS65941111-power-up-process:
TPS65941213 and TPS65941111 Power Up Process
*********************************************
:ref:`figure-28` shows the interface between the **TPS65941213 and TPS65941111** and the
processor. It is a cut from the PDF form of the schematic and reflects
what is on the schematic.
.. _figure-28,Figure 28:
.. figure:: media/image42.jpg
:width: 400px
:align: center
:alt: Fig-28: Power Processor Interfaces
When voltage is applied, DC or USB, the *TPS65941213 and TPS65941111* connects the power
to the SYS output pin which drives the switchers and LDOs in
the **TPS65941213 and TPS65941111**.
At power up all switchers and LDOs are off except for the *VRTC LDO*
(1.8V), which provides power to the VRTC rail and controls
the **RTC_PORZn** input pin to the processor, which starts the power up
process of the processor. Once the RTC rail powers up, the *RTC_PORZn*
pin, driven by the *LDO_PGOOD* signal from the *TPS65941213 and TPS65941111*, of the
processor is released.
Once the *RTC_PORZn* reset is released, the processor starts the
initialization process. After the RTC stabilizes, the processor launches
the rest of the power up process by activating the**PMIC_POWER_EN**
signal that is connected to the *TPS65941213 and TPS65941111* which starts the *TPS65941213 and TPS65941111*
power up process.
The *LDO_PGOOD* signal is provided by the**TPS65941213 and TPS65941111** to the processor.
As this signal is 1.8V from the *TPS65941213 and TPS65941111* by virtue of the *TPS65941213 and TPS65941111*
VIO rail being set to 1.8V, and the *RTC_PORZ* signal on the processor
is 3.3V, a voltage level shifter, *U4*, is used. Once the LDOs and
switchers are up on the *TPS65941213 and TPS65941111*, this signal goes active releasing
the processor. The LDOs on the *TPS65941213 and TPS65941111* are used to power the VRTC
rail on the processor.
.. _processor-control-interface:
Processor Control Interface
*********************************************
:ref:`figure-28` above shows two interfaces between the processor and
the**TPS65941213 and TPS65941111** used for control after the power up sequence has
completed.
The first is the *I2C0* bus. This allows the processor to turn on and
off rails and to set the voltage levels of each regulator to supports
such things as voltage scaling.
The second is the interrupt signal. This allows the *TPS65941213 and TPS65941111* to alert
the processor when there is an event, such as when the power button is
pressed. The interrupt is an open drain output which makes it easy to
interface to 3.3V of the processor.
.. _low-power-mode-support:
Low Power Mode Support
*********************************************
This section covers three general power down modes that are available.
These modes are only described from a Hardware perspective as it relates
to the HW design.
RTC Only
*********************************************
In this mode all rails are turned off except the *VDD_RTC*. The
processor will need to turn off all the rails to enter this mode.
The **VDD_RTC** staying on will keep the RTC active and provide for the
wakeup interfaces to be active to respond to a wake up event.
RTC Plus DDR
*********************************************
In this mode all rails are turned off except the *VDD_RTC* and
the **VDDS_DDR**, which powers the LPDDR4 memory. The processor will need
to turn off all the rails to enter this mode. The *VDD_RTC* staying on
will keep the RTC active and provide for the wakeup interfaces to be
active to respond to a wake up event.
The *VDDS_DDR* rail to the LPDDR4 is provided by the 1.5V rail of
the **TPS65941213 and TPS65941111** and with *VDDS_DDR* active, the LPDDR4 can be placed in
a self refresh mode by the processor prior to power down which allows
the memory data to be saved.
Currently, this feature is not included in the standard software
release. The plan is to include it in future releases.
Voltage Scaling
*********************************************
For a mode where the lowest power is possible without going to sleep,
this mode allows the voltage on the ARM processor to be lowered along
with slowing the processor frequency down. The I2C0 bus is used to
control the voltage scaling function in the *TPS65941213 and TPS65941111*.
.. _sitara-am3358bzcz100-processor:
TI J721E DRA829/TDA4VM/AM752x Processor
-----------------------------------------
The board is designed to use the TI J721E DRA829/TDA4VM/AM752x processor in the
15 x 15 package.
.. _description:
Description
*********************************************
:ref:`figure-29` is a high level block diagram of the processor. For more information on the processor, go to `https://www.ti.com/product/TDA4VM <https://www.ti.com/product/TDA4VM>`_
.. _figure-29,Figure 29:
.. figure:: media/image43.png
:width: 400px
:align: center
:alt: Fig-29: Jacinto TDA4VMBZCZ Block Diagram
Fig-29: Jacinto TDA4VMBZCZ Block Diagram
.. _high-level-features:
High Level Features
*********************************************
:ref:`table-5` below shows a few of the high level features of the Jacinto
processor.
.. _table-5,Table 5:
.. list-table:: Table 5: Processor Features
:header-rows: 1
* - Operating Systems
- Linux, Android, Windows Embedded CE,QNX,ThreadX
- MMC/SD
- 3
* - Standby Power
- 7 mW
- CAN
- 2
* - ARM CPU
- 1 ARM Cortex-A8
- UART (SCI)
- 6
* - ARM MHz (Max.)
- 275,500,600,800,1000
- ADC
- 8-ch 12-bit
* - ARM MIPS (Max.)
- 1000,1200,2000
- PWM (Ch)
- 3
* - Graphics Acceleration
- 1 3D
- eCAP
- 3
* - Other Hardware Acceleration
- 2 PRU-ICSS,Crypto Accelerator
- eQEP
- 3
* - On-Chip L1 Cache
- 64 KB (ARM Cortex-A8)
- RTC
- 1
* - On-Chip L2 Cache
- 256 KB (ARM Cortex-A8)
- I2C
- 3
* - Other On-Chip Memory
- 128 KB
- McASP
- 2
* - Display Options
- LCD
- SPI
- 2
* - General Purpose Memory
- 1 16-bit (GPMC, NAND flash, NOR Flash, SRAM)
- DMA (Ch)
- 64-Ch EDMA
* - DRAM
- 1 16-bit (LPDDR-400,DDR2-532, DDR3-400)
- IO Supply (V)
- 1.8V(ADC),3.3V
* - USB Ports
- 2
- Operating Temperature Range (C)
- -40 to 90
.. _documentation:
Documentation
**********************
Full documentation for the processor can be found on the TI website at `https://www.ti.com/product/TDA4VM <https://www.ti.com/product/TDA4VM>`_ for the current processor used on the board. Make sure that you always use the latest datasheets and Technical Reference Manuals (TRM).
.. _crystal-circuitry:
Crystal Circuitry
***********************
:ref:`figure-30` is the crystal circuitry for the TDA4VM processor.
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
.. _figure-30,Figure 30:
.. figure:: media/image44.png
:width: 400px
:align: center
:alt: Fig-30: Processor Crystals
Fig-30: Processor Crystals
.. _reset-circuitry:
Reset Circuitry
*********************************************
:ref:`figure-31` is the board reset circuitry. The initial power on reset is
generated by the **TPS65941213 and TPS65941111** power management IC. It also handles the
reset for the Real Time Clock.
The board reset is the SYS_RESETn signal. This is connected to the
NRESET_INOUT pin of the processor. This pin can act as an input or an
output. When the reset button is pressed, it sends a warm reset to the
processor and to the system.
On the revision A5D board, a change was made. On power up, the
NRESET_INOUT signal can act as an output. In this instance it can cause
the SYS_RESETn line to go high prematurely. In order to prevent this,
the PORZn signal from the TPS65941213 and TPS65941111 is connected to the SYS_RESETn line
using an open drain buffer. These ensure that the line does not
momentarily go high on power up.
.. _figure-31,Figure 31:
.. figure:: media/image45.png
:width: 400px
:align: center
:alt: Fig-31: Board Reset Circuitry
Fig-31: Board Reset Circuitry
This change is also in all revisions after A5D.
LPDDR4 Memory
BeagleBone AI-64 uses a single MT41K256M16HA-125 512MB LPDDR4 device
from Micron that interfaces to the processor over 16 data lines, 16
address lines, and 14 control lines. On rev C we added the Kingston
*KE4CN2H5A-A58* device as a source for the LPDDR4 device.
The following sections provide more details on the design.
.. _memory-device:
Memory Device
*********************************************
The design supports the standard DDR3 and LPDDR4 x16 devices and is built
using the LPDDR4. A single x16 device is used on the board and there is
no support for two x8 devices. The DDR3 devices work at 1.5V and the
LPDDR4 devices can work down to 1.35V to achieve lower power. The LPDDR4 comes in a 96-BALL FBGA package
with 0.8 mil pitch. Other standard DDR3 devices can also be supported,
but the LPDDR4 is the lower power device and was chosen for its ability
to work at 1.5V or 1.35V. The standard frequency that the LPDDR4 is run
at on the board is 400MHZ.
.. _ddr3l-memory-design:
LPDDR4 Memory Design
*********************************************
:ref:`figure-32` is the schematic for the LPDDR4 memory device. Each of the
groups of signals is described in the following lines.
*Address Lines:* Provide the row address for ACTIVATE commands, and the
column address and auto pre-charge bit (A10) for READ/WRITE commands, to
select one location out of the memory array in the respective bank. A10
sampled during a PRECHARGE command determines whether the PRECHARGE applies to one bank (A10 LOW, bank selected by BA[2:0]) or all banks (A10 HIGH). The address
inputs also provide the op-code during a LOAD MODE command. Address
inputs are referenced to VREFCA. A12/BC#: When enabled in the mode
register (MR), A12 is sampled during READ and WRITE commands to
determine whether burst chop (on-the-fly) will be performed (HIGH BL8
or no burst chop, LOW BC4 burst chop).
*Bank Address Lines:* BA[2:0] define the bank to which an ACTIVATE, READ, WRITE, or PRECHARGE command is being applied. BA[2:0] define which mode register (MR0, MR1, MR2, or MR3) is loaded during the LOAD MODE command. BA[2:0] are referenced to VREFCA.
*CK and CK# Lines:* are differential clock inputs. All address and
control input signals are sampled on the crossing of the positive edge
of CK and the negative edge of CK#. Output data strobe (DQS, DQS#) is
referenced to the crossings of CK and CK#.
*Clock Enable Line:* CKE enables (registered HIGH) and disables
(registered LOW) internal circuitry and clocks on the DRAM. The specific
circuitry that is enabled/disabled is dependent upon the DDR3 SDRAM
configuration and operating mode. Taking CKE LOW provides PRECHARGE
power-down and SELF REFRESH operations (all banks idle) or active
power-down (row active in any bank). CKE is synchronous for powerdown
entry and exit and for self refresh entry. CKE is asynchronous for self
refresh exit. Input buffers (excluding CK, CK#, CKE, RESET#, and ODT)
are disabled during powerdown. Input buffers (excluding CKE and RESET#)
are disabled during SELF REFRESH. CKE is referenced to VREFCA.
.. _figure-32,Figure 32:
.. figure:: media/image46.png
:width: 400px
:align: center
:alt: Fig-32: LPDDR4 Memory Design
Fig-32: LPDDR4 Memory Design
*Chip Select Line:* CS# enables (registered LOW) and disables
(registered HIGH) the command decoder. All commands are masked when CS#
is registered HIGH. CS# provides for external rank selection on systems
with multiple ranks. CS# is considered part of the command code. CS# is
referenced to VREFCA.
*Input Data Mask Line:* DM is an input mask signal for write data. Input
data is masked when DM is sampled HIGH along with the input data during
a write access. Although the DM ball is input-only, the DM loading is
designed to match that of the DQ and DQS balls. DM is referenced to
VREFDQ.
*On-die Termination Line:* ODT enables (registered HIGH) and disables
(registered LOW) termination resistance internal to the LPDDR4 SDRAM.
When enabled in normal operation, ODT is only applied to each of the
following balls: DQ[7:0], DQS, DQS#, and DM for the x8; DQ[3:0], DQS,
DQS#, and DM for the x4. The ODT input is ignored if disabled via the
LOAD MODE command. ODT is referenced to VREFCA.
.. _power-rails-1:
Power Rails
******************
The *LPDDR4* memory device and the DDR3 rails on the processor are
supplied by the**TPS65941213 and TPS65941111**. Default voltage is 1.5V but can be scaled
down to 1.35V if desired.
.. _vref:
VREF
***************
The *VREF* signal is generated from a voltage divider on the **VDDS_DDR**
rail that powers the processor DDR rail and the LPDDR4 device itself.
*Figure 33* below shows the configuration of this signal and the
connection to the LPDDR4 memory device and the processor.
.. _figure-33,Figure 33:
.. figure:: media/image47.jpg
:width: 400px
:align: center
:alt: Fig-33: LPDDR4 VREF Design
Fig-33: LPDDR4 VREF Design
.. _gb-emmc-memory:
4GB eMMC Memory
-----------------------------------
The eMMC is a communication and mass data storage device that includes a
Multi-MediaCard (MMC) interface, a NAND Flash component, and a
controller on an advanced 11-signal bus, which is compliant with the MMC
system specification. The nonvolatile eMMC draws no power to maintain
stored data, delivers high performance across a wide range of operating
temperatures, and resists shock and vibration disruption.
One of the issues faced with SD cards is that across the different
brands and even within the same brand, performance can vary. Cards use
different controllers and different memories, all of which can have bad
locations that the controller handles. But the controllers may be
optimized for reads or writes. You never know what you will be getting.
This can lead to varying rates of performance. The eMMC card is a known
controller and when coupled with the 8bit mode, 8 bits of data instead
of 4, you get double the performance which should result in quicker boot
times.
The following sections describe the design and device that is used on
the board to implement this interface.
.. _emmc-device:
eMMC Device
*********************************************
The device used is one of two different devices:
* Micron *MTFC4GLDEA 0M WT*
* Kingston *KE4CN2H5A-A58*
The package is a 153 ball WFBGA device on both devices.
.. _emmc-circuit-design:
eMMC Circuit Design
*********************************************
:ref:`figure-34` is the design of the eMMC circuitry. The eMMC device is
connected to the MMC1 port on the processor. MMC0 is still used for the
microSD card as is currently done on the BeagleBone Black. The size
of the eMMC supplied is now 4GB.
The device runs at 3.3V both internally and the external I/O rails. The
VCCI is an internal voltage rail to the device. The manufacturer
recommends that a 1uF capacitor be attached to this rail, but a 2.2uF
was chosen to provide a little margin.
Pullup resistors are used to increase the rise time on the signals to
compensate for any capacitance on the board.
.. _figure-34,Figure 34:
.. figure:: media/image48.png
:width: 400px
:align: center
:alt: Fig-34: eMMC Memory Design
Fig-34: eMMC Memory Design
The pins used by the eMMC1 in the boot mode are listed below in *Table 6*.
.. _table-6,Table 6:
.. figure:: media/image49.png
:width: 400px
:align: center
:alt: Table 6: eMMC Boot Pins
Table 6: eMMC Boot Pins
For eMMC devices the ROM will only support raw mode. The ROM Code reads
out raw sectors from image or the booting file within the file system
and boots from it. In raw mode the booting image can be located at one
of the four consecutive locations in the main area: offset 0x0 / 0x20000
(128 KB) / 0x40000 (256 KB) / 0x60000 (384 KB). For this reason, a
booting image shall not exceed 128KB in size. However it is possible to
flash a device with an image greater than 128KB starting at one of the
aforementioned locations. Therefore the ROM Code does not check the
image size. The only drawback is that the image will cross the
subsequent image boundary. The raw mode is detected by reading sectors
#0, #256, #512, #768. The content of these sectors is then verified for
presence of a TOC structure. In the case of a *GP Device*, a
Configuration Header (CH)*must* be located in the first sector followed
by a *GP header*. The CH might be void (only containing a CHSETTINGS
item for which the Valid field is zero).
The ROM only supports the 4-bit mode. After the initial boot, the switch
can be made to 8-bit mode for increasing the overall performance of the
eMMC interface.
.. _board-id-eeprom:
Board ID EEPROM
-----------------------------------
BeagleBone is equipped with a single 32Kbit(4KB) 24LC32AT-I/OT
EEPROM to allow the SW to identify the board. *Table 7* below defined
the contents of the EEPROM.
.. _table-7,Table 7:
.. list-table:: Table 7: EEPROM Contents
:header-rows: 1
* - Name
- Size (bytes)
- Contents
* - Header
- 4
- 0xAA, 0x55, 0x33, EE
* - Board Name
- 8
- Name for board in ASCII: A335BNLT
* - Version
- 4
- Hardware version code for board in ASCII: 00A3 for Rev A3, 00A4 for Rev A4, 00A5 for Rev A5,00A6 for Rev A6,00B0 for Rev B, and 00C0 for Rev C.
* - Serial Number
- 12
- Serial number of the board. This is a 12 character string which is: WWYY4P16nnnn where: WW 2 digit week of the year of production YY 2 digit year of production BBBK BeagleBone AI-64 nnnn incrementing board number
* - Configuration Option
- 32
- Codes to show the configuration setup on this board.All FF
* - RSVD
- 6
- FF FF FF FF FF FF
* - RSVD
- 6
- FF FF FF FF FF FF
* - RSVD
- 6
- FF FF FF FF FF FF
* - Available
- 4018
- Available space for other non-volatile codes/data
:ref:`figure-35` shows the new design on the EEPROM interface.
.. _figure-35,Figure 35:
.. figure:: media/image50.png
:width: 400px
:align: center
:alt: Figure 35. EEPROM Design Rev A5
Fig-35: EEPROM Design Rev A5
The EEPROM is accessed by the processor using the I2C 0 bus. The *WP*
pin is enabled by default. By grounding the test point, the write
protection is removed.
The first 48 locations should not be written to if you choose to use the
extras storage space in the EEPROM for other purposes. If you do, it
could prevent the board from booting properly as the SW uses this
information to determine how to set up the board.
.. _micro-secure-digital:
Micro Secure Digital
-----------------------------------
The microSD connector on the board will support a microSD card that can
be used for booting or file storage on BeagleBone AI-64.
.. _microsd-design:
microSD Design
*********************************************
:ref:`figure-36` below is the design of the microSD interface on the board.
.. _figure-36,Figure 36:
.. figure:: media/image51.png
:width: 400px
:align: center
:alt: Figure 36. microSD Design