Answers.Body: <p>If we <a href="https://bricks.stackexchange.com/a/15043/708">open the hub</a> we can take a look at the main PCB inside. There's just one PCB in addition to a small speaker and the replaceable lithium ion battery. Here's the top of the PCB:</p>
  <p><a href="https://i.sstatic.net/N4Mbs.jpg" rel="noreferrer"><img src="https://i.sstatic.net/N4Mbs.jpg" alt="PCB Top" /></a></p>
  <p>And the bottom:</p>
  <p><a href="https://i.sstatic.net/JTXCW.jpg" rel="noreferrer"><img src="https://i.sstatic.net/JTXCW.jpg" alt="PCB Bottom" /></a></p>
  <p>We see that the main CPU is an <a href="https://www.st.com/en/microcontrollers-microprocessors/stm32f413-423.html" rel="noreferrer">STM32F413</a>. It includes 1M of flash and 320k of RAM and the <a href="https://en.wikipedia.org/wiki/ARM_Cortex-M#Cortex-M4" rel="noreferrer">ARM Cortex M4</a> core can be clocked up to 100MHz.</p>
  <p>In addition to the 1M of embedded flash, there's a <a href="https://www.winbond.com/resource-files/w25q256jv%20spi%20revb%2009202016.pdf" rel="noreferrer">Winbond W25Q256JV</a> providing an additional 32MB for program and data storage.</p>
  <p>Bluetooth connectivity is provided by the TI <a href="https://www.ti.com/product/CC2564C" rel="noreferrer">CC2564C</a>.</p>
  <p>The 25 LED grid is driven by a TI <a href="https://www.ti.com/product/TLC5955" rel="noreferrer">TLC5955</a> (48 channel PWM LED driver). This part also drives the other 4 surface mount LEDs on the board.</p>
  <p>The 6 motor outputs are driven by a trio of <a href="https://www.onsemi.com/pub/Collateral/LB1836M-D.PDF" rel="noreferrer">LB1836</a> dual motor drivers.</p>
  <p>There's also an <a href="https://www.monolithicpower.cn/cn/documentview/productdocument/index/version/2/document_type/Datasheet/lang/en/sku/MP2639A/document_id/1451" rel="noreferrer">MPS 2639A</a> to manage the lithium ion battery.</p>
  <p>There are many other supporting components on the board, but that covers the majority of it.</p>
  <p>Overall, this is similar in architecture (ARM-based, identical output drivers, etc) to the other Powered Up hubs. It is significantly more powerful in terms of horsepower and storage thanks to the 32MB flash chip and higher clock frequency (100MHz here vs <a href="https://bricks.stackexchange.com/questions/9148/what-internal-electronics-does-lego-boost-use">48MHz for Boost</a> for example).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-07-04T08:22:13.237Z
Answers.Text: Is there any specific driver IC for the RGB LED under the central button?
Answers.UserDisplayName: gpdaniels
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-07-04T13:55:23.123Z
Answers.Text: @g.p.daniels The other surface-mount LEDs on the board are also driven by the TLC5955.
Answers.UserDisplayName: jncraton
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-02T17:37:47.440Z
Answers.Text: Can you identify which is the accelerometer and gyroscope chip?
Answers.UserDisplayName: Jorge Moreno
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-06-03T18:30:07.680Z
Answers.Text: Any idea what chip is the IMU and where it is on the board?
Answers.UserDisplayName: MrGibbage
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-08-03T21:56:39.517Z
Answers.Text: At Pybricks, we have confirmed that the IMU is a STMicroelectronics LSM6DS3TR-C by reading the chip ID over the I2C bus. I think it is U26 in the middle of the second picture.
Answers.UserDisplayName: David Lechner
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-12-19T13:23:36.433Z
Answers.Text: Thanks @DavidLechner. Some teams (ours inclcuded) have observed that SOMEtimes it seems that the gyro has some of the same issues the EV3 gyro did, which can cause real problems for FLL teams. Do we know any other details about the gyro and how it is used? Is the a calibration during bootup? Can we manually (through code, especially python) trigger a recal? Is there a way (in code) to determine if the gyro has failed?
Answers.UserDisplayName: MrGibbage
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-07-01T01:17:27.633Z
Answers.LastActivityDate: 2020-07-04T13:53:25.413Z
Answers.LastEditDate: 2020-07-04T13:53:25.413Z
Answers.UserDisplayName: jncraton
Body: <p>What electronics live inside the SPIKE Prime hub? How powerful is the hardware?</p>
  
Tags: <electronics><spike-prime><robot-inventor>
Title: What internal electronics do Spike Prime and Mindstorms Robot Inventor use?
UserDisplayName: jncraton
ThreadText: # What internal electronics do Spike Prime and Mindstorms Robot Inventor use?
  
  (Asked by: username_0 on 2020-07-01)
  
  What electronics live inside the SPIKE Prime hub? How powerful is the hardware?
  
  **Tags:** electronics, spike-prime, robot-inventor
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2020-07-01. Score: 16 | Accepted answer
  
  If we [open the hub](https://bricks.stackexchange.com/a/15043/708) we can take a look at the main PCB inside. There's just one PCB in addition to a small speaker and the replaceable lithium ion battery. Here's the top of the PCB:
  
  [![PCB Top](https://i.sstatic.net/N4Mbs.jpg)](https://i.sstatic.net/N4Mbs.jpg)
  
  And the bottom:
  
  [![PCB Bottom](https://i.sstatic.net/JTXCW.jpg)](https://i.sstatic.net/JTXCW.jpg)
  
  We see that the main CPU is an [STM32F413](https://www.st.com/en/microcontrollers-microprocessors/stm32f413-423.html). It includes 1M of flash and 320k of RAM and the [ARM Cortex M4](https://en.wikipedia.org/wiki/ARM_Cortex-M#Cortex-M4) core can be clocked up to 100MHz.
  
  In addition to the 1M of embedded flash, there's a [Winbond W25Q256JV](https://www.winbond.com/resource-files/w25q256jv%20spi%20revb%2009202016.pdf) providing an additional 32MB for program and data storage.
  
  Bluetooth connectivity is provided by the TI [CC2564C](https://www.ti.com/product/CC2564C).
  
  The 25 LED grid is driven by a TI [TLC5955](https://www.ti.com/product/TLC5955) (48 channel PWM LED driver). This part also drives the other 4 surface mount LEDs on the board.
  
  The 6 motor outputs are driven by a trio of [LB1836](https://www.onsemi.com/pub/Collateral/LB1836M-D.PDF) dual motor drivers.
  
  There's also an [MPS 2639A](https://www.monolithicpower.cn/cn/documentview/productdocument/index/version/2/document_type/Datasheet/lang/en/sku/MP2639A/document_id/1451) to manage the lithium ion battery.
  
  There are many other supporting components on the board, but that covers the majority of it.
  
  Overall, this is similar in architecture (ARM-based, identical output drivers, etc) to the other Powered Up hubs. It is significantly more powerful in terms of horsepower and storage thanks to the 32MB flash chip and higher clock frequency (100MHz here vs [48MHz for Boost](https://bricks.stackexchange.com/questions/9148/what-internal-electronics-does-lego-boost-use) for example).
  
  > **Comments:**
  > **username_1**: Is there any specific driver IC for the RGB LED under the central button?  
  > **username_0**: @g.p.daniels The other surface-mount LEDs on the board are also driven by the TLC5955.  
  > **username_2**: Can you identify which is the accelerometer and gyroscope chip?  
  > **username_3**: Any idea what chip is the IMU and where it is on the board?  
  > **username_4**: At Pybricks, we have confirmed that the IMU is a STMicroelectronics LSM6DS3TR-C by reading the chip ID over the I2C bus. I think it is U26 in the middle of the second picture.  
  > **username_3**: Thanks @DavidLechner. Some teams (ours inclcuded) have observed that SOMEtimes it seems that the gyro has some of the same issues the EV3 gyro did, which can cause real problems for FLL teams. Do we know any other details about the gyro and how it is used? Is the a calibration during bootup? Can we manually (through code, especially python) trigger a recal? Is there a way (in code) to determine if the gyro has failed?  
  
  ---
  
  