background image

Fujitsu Electronics Europe 

User Guide 

 

FEEU-UG-2017120001-10 

 

 
 

AMBIQ MICRO APOLLO 1 / 2 

EVALUATION BOARD 

SK-APOLLO-BASE 

 

 

USER GUIDE 

 

 

 

Содержание SK-AMAPOLLO-BASE-V11

Страница 1: ...Fujitsu Electronics Europe User Guide FEEU UG 2017120001 10 AMBIQ MICRO APOLLO 1 2 EVALUATION BOARD SK APOLLO BASE USER GUIDE ...

Страница 2: ... Power Apollo Evaluation Kit Platform Revision History EEU UG 2017120001 10 2 Fujitsu Electronics Europe GmbH Revision History Date Issue 2017 12 04 V1 0 Manuel Schreiner first version This document contains 46 pages ...

Страница 3: ...r return of the purchase price and the license fee if any or replacement of the hardware deliverable or parts thereof However this warranty is excluded if the defect originates outside FEEU s responsibility such as abuse or misapplication attributable to the customer or any other third party not relating to FEEU or to unauthorised decompiling and or reverse engineering and or disassembling VI FEEU...

Страница 4: ...13 2 3 1 On Board Power Measurement 13 2 3 2 Power Measurement via external DVM 13 2 4 USB to Serial 14 2 5 User Buttons 16 2 5 1 Drive buttons via GPIO 16 2 5 2 Drive buttons via IRQ 17 2 6 RBG LED 18 2 7 Arduino Headers 19 2 7 1 Using Digital IO 20 2 7 2 Using ADC 21 2 7 3 Using PWM 22 2 7 4 Using SPI 23 2 7 5 Using I2C 25 3 CONNECTORS 27 3 1 Jumpers 28 3 1 1 Apollo 1 Jumper Configuration 29 3 1...

Страница 5: ...lo Evaluation Kit Platform Contents Fujitsu Electronics Europe GmbH 5 EEU UG 2017120001 10 3 3 2 Apollo 2 Arduino Header 35 4 APPENDIX 38 4 1 Schematics 38 4 2 Figures 43 4 3 Index 44 5 INFORMATION IN THE WWW 45 6 RECYCLING 46 ...

Страница 6: ...ion Platform is compatible with Ambiq Micro Apollo 1 or Apollo 2 The platform consists of two parts The breakout board and the base board The breakout boards for Apollo 1 and Apollo 2 are pin compatible but not totally functional compatibe Therefore only some jumper settings need adjustment to setup the base board for Apollo 1 or Apollo 2 usage Both parts can easily plug together ...

Страница 7: ...µVision but is also supported by a free of charge toolchain iSystem WinIDEA Open For additional communication to the PC the on board CMSIS DAP compatible chip Fujitsu D Bug supports USB to UART conversion The Fujitsu Evaluation Platform includes additional software examples based on MCU templates to the Ambiq Micro s SDK It offers MCU Templates as a kind of a common project framework or software f...

Страница 8: ... APOLLO BASE The SK AMAPOLLO BASE V11 evaluation board includes a low cost evaluation board usable with FEEUs Ambiq Micro Apollo break out boards SK AMAP1 BREAKOUT V11 Apollo 1 and SK AMAP2 BREAKOUT V11 Apollo 2 1 1 Scope of delivery Apollo base board SK AMAPOLLO BASE V11 in ESD bag USB Mico cable Not scope of delivery SK AMAP1 BREAKOUT V11 SK AMAP2 BREAKOUT V11 ...

Страница 9: ...f the baseboard can be used Arduino UNO headers o 5 Analog pins or digital pins o 16 digital pins o I2C interface o SPI interface RGB LED 2 Buttons 1 Reset Button USB to Serial Wire Debug SWD CMSIS DAP compatible USB to UART USB to power measurement The breakout board itself has an additional BLE connector where an external BLE chip can be connected For Apollo 1 only UART is supported by this conn...

Страница 10: ...c gives a rough overview how the breakout board is connected to the different functionalities Figure 1 1 FEEU EVK Apollo Baseboard Features 2 1 The Breakout Board The breakout board has assembled 2x 27pin 2 54mm header 50GPIOs NRST AREF GND and VCC MCU Apollo 1 or Apollo 2 Inductors for the DC DC converter 32 768 KHz crystal ADC filter network Reset button SWD connector Debug ...

Страница 11: ...017120001 10 BLE connector Apollo 1 UART only Apollo 2 UART and SPI 2 2 Getting started 1 Check the jumpers as described in 2 1 Jumpers depending of the selected Apollo 1 or Apollo 2 breakout board 2 Insert the breakout board with the RESET button in direction of the Power USB connector Figure 1 2 Breakout Board Orientation ...

Страница 12: ...d c For Windows 10 no drivers are needed d For Windows XP 8 please download the driver package from the FEEU website 5 Installing software IDE a iSYSTEM WinIDEA Open free of charge i http www isystem com download winideaopen b Atollic TrueStudio free of charge commercial i https atollic com resources download c IAR Embedded Workbench commercial i EWARM 30 day Evaluation Version http supp iar com D...

Страница 13: ...nt and will be supported by the latest ARM MDK Keil µVison The FujitsuLink_PowerMeasurement tool can be used to visualize the power consumption without any DVM required 2 3 2 Power Measurement via external DVM Connect an external Multimeter to JP3 pin 2 and 3 to measure the current consumption of the MCU Figure 1 4 External DVM Connection To measure also the power consumption of components at the ...

Страница 14: ...erter several serial options are possible For UART the jumpers JP7 and P1 are used to set the correct usage For Apollo 1 JP7 must be 1 2 and P1 2 4 Figure 1 7 Apollo 1 jumper configuration for UART usage With this jumper selection GPIO0 is UARTTX and GPIO1 UARTRX For Apollo 2 JP7 must be 2 3 and P1 3 4 Figure 1 8 Apollo 2 jumper configuration for UART usage With this jumper selection GPIO1 is UART...

Страница 15: ...poll the UART define APOLLOUART_ENABLED 1 define APOLLOGPIO ENABLED 1 include mcu h include apollogpio h include apollouart h ifdef APOLLO2_H define UART UART1 endif int main void char c ifdef APOLLO2_H ApolloGpio_GpioSelectFunction PIN_GPIO1 2 use UART at GPIO1 ApolloGpio_GpioSelectFunction PIN_GPIO2 2 use UART at GPIO2 else ApolloGpio_GpioSelectFunction PIN_GPIO0 2 use UART at GPIO0 ApolloGpio_G...

Страница 16: ...emlate for Apollo 1 or Apollo 2 Enable GPIO FEEU Low Level Driver for Apollo in RTE_Device h in example source config Add apollogpio c to your project and include apollogpio h in you C file Following code gives an example how to poll the GPIO define APOLLOGPIO ENABLED 1 include mcu h include apollogpio h int main void ApolloGpio_GpioInputEnable PIN_GPIO28 TRUE set GPIO28 to input ApolloGpio_GpioIn...

Страница 17: ...s an example how to use GPIOs with callbacks define APOLLOGPIO ENABLED 1 include mcu h include apollogpio h static volatile boolean_t bSw1CallbackHappened FALSE void Sw1_Callback uint8_t u8Gpio bSw1CallbackHappened TRUE int main void ApolloGpio_RegisterIrq PIN_GPIO28 GpioFallingEdge Sw1_Callback set GPIO28 to IRQ usage NVIC_ClearPendingIRQ GPIO_IRQn clear pending flag NVIC_EnableIRQ GPIO_IRQn enab...

Страница 18: ...evice h in example source config Add apolloctimer c to your project and include apolloctimer h in you C file Following code gives an example how to use a PWM to dim a LED include mcu h include apollogctimer h int main void ApolloCTimer_PwmInitByGpio PIN_GPIO42 TRUE set GPIO42 to PWM ApolloCTimer_PwmInitByGpio PIN_GPIO43 TRUE set GPIO43 to PWM ApolloCTimer_PwmInitByGpio PIN_GPIO46 TRUE set GPIO46 t...

Страница 19: ...GPIO or Analogport A2 GPIO14 ADC2 GPIO11 ADCSE2 A3 A3 GPIO or Analogport A3 GPIO31 ADC6 GPIO31 ADCSE3 A4 A4 GPIO or Analogport A4 GPIO32 ADC7 GPIO32 ADCSE4 A5 A5 GPIO or Analogport A5 GPIO30 ADC5 GPIO33 ADCSE5 0 RXD D0 or RXD GPIO or UART RXD GPIO36 UARTRX GPIO36 UART1RX 1 TXD D1 or TXD GPIO or UART TXD GPIO35 UARTTX GPIO35 UART1TX 2 D2 GPIO or PWM0 GPIO25 TCTA0 GPIO25 TCTA0 3 D3 GPIO or PWM1 GPIO...

Страница 20: ...ate for Apollo 1 or Apollo 2 Enable GPIO FEEU Low Level Driver for Apollo in RTE_Device h in example source config Add apollogpio c to your project and include apollogpio h and skamapollobase h in you C file Following code gives an example how to poll the GPIO define APOLLOGPIO ENABLED 1 include mcu h include skamapollobase h include apollogpio h int main void ApolloGpio_GpioInputEnable ARDUINO_D0...

Страница 21: ...ollo 2 Enable GPIO FEEU Low Level Driver for Apollo in RTE_Device h in example source config Add apollogpio c and apolloadc c to your project and include apolloadc h and skamapollobase h in you C file Following code gives an example how to poll the ADC define APOLLOADC_ENABLED 1 define APOLLOGPIO_ENABLED 1 include mcu h include skamapollobase h include apolloadc h int main void float32_t f32AdcVal...

Страница 22: ...in RTE_Device h in example source config Add apolloctimer c to your project and include apolloctimer h and skamapollobase h in you C file Following code gives an example how to use a PWM at D2 define APOLLOCTIMER_ENABLED 1 define APOLLOGPIO_ENABLED 1 include mcu h include skamapollobase h include apollogctimer h int ain void ApolloCTimer_PwmInitByGpio ARDUINO_D2 TRUE ApolloCTimer_PwmSetDutyByGpio ...

Страница 23: ...ardware Fujitsu Electronics Europe GmbH 23 EEU UG 2017120001 10 2 7 4 Using SPI Start with the FEEU MCU Temlate for Apollo 1 or Apollo 2 Enable IOM FEEU Low Level Driver for Apollo in RTE_Device h in example source config define IOMSTR1_ENABLED 1 define APOLLOGPIO_ENABLED 1 ...

Страница 24: ...clude apollogpio h const stc_apolloiom_config_t stcIomConfig IomInterfaceModeSpi use SPI mode 15000000UL frequency FALSE SPHA setting FALSE SPOL setting 0 WriteThreshold 60 ReadThreshold int main void uint8_t b 0xAA ApolloIOM_Configure IOMSTR1 stcIomConfig ApolloIOM_Enable IOMSTR1 ApolloGpio_GpioOutputEnable ARDUINO_SS TRUE CLEAR_GPIO ARDUINO_SS set chipselect send one byte ApolloIom_SpiWriteByte ...

Страница 25: ...ardware Fujitsu Electronics Europe GmbH 25 EEU UG 2017120001 10 2 7 5 Using I2C Start with the FEEU MCU Temlate for Apollo 1 or Apollo 2 Enable IOM FEEU Low Level Driver for Apollo in RTE_Device h in example source config define IOMSTR0_ENABLED 1 define APOLLOGPIO_ENABLED 1 ...

Страница 26: ...Threshold int main void uint8_t b 0xAA ApolloIOM_Configure IOMSTR1 stcIomConfig ApolloIOM_Enable IOMSTR1 ApolloGpio_GpioPullupEnable BOARD_I2C_SCL_PIN TRUE ApolloGpio_GpioPullupEnable ARDUINO_SDA TRUE ApolloGpio_GpioSelectPullup ARDUINO_SCL PullUp6K ApolloGpio_GpioSelectPullup ARDUINO_SDA PullUp6K ApolloGpio_GpioInputEnable ARDUINO_SCL TRUE ApolloGpio_GpioInputEnable ARDUINO_SDA TRUE ApolloGpio_Gp...

Страница 27: ...y lines connected to this starter kit should be kept as short as possible with a maximum allowable length of 3m Shielded cables should be used for data lines As a rule of thumb the cable length used when connecting external circuitry to the MCU pin header connectors for example should be less than 20cm Longer cables may affect EMC performance and cause radio interference ...

Страница 28: ...er delivery Arduino headers 1 2 1 2 Direct via 3 3V 2 3 Include to power measurement JP17 RGB LED Red closed JP18 RGB LED Red closed JP19 RGB LED Red closed JP2 Solder Jumper SWDIO closed JP3 Select current probe 1 2 3 4 1 2 3 4 Current probe via shunt 2 3 No current Measurement no shunt JP4 Debugger I2C and SPI mode open closed in I2C and SPI mode JP5 Debugger SPI mode open closed in SPI mode JP7...

Страница 29: ...FEEU Ultra Low Power Apollo Evaluation Kit Platform Chapter 3 Connectors Fujitsu Electronics Europe GmbH 29 EEU UG 2017120001 10 3 1 1 Apollo 1 Jumper Configuration ...

Страница 30: ...FEEU Ultra Low Power Apollo Evaluation Kit Platform Chapter 3 Connectors EEU UG 2017120001 10 30 Fujitsu Electronics Europe GmbH 3 1 2 Apollo 2 Jumper Configuration ...

Страница 31: ...GB LED Green GPIO7 GPIO44 BLE Connector GPIO8 Arduino pin 13 SPI SCK GPIO45 RGB LED Blue GPIO9 Arduino pin 12 SPI MISO GPIO46 Arduino pin 6 GPIO10 Arduino pin 11 SPI MOSI GPIO47 Arduino pin 7 GPIO11 GPIO48 Arduino pin 8 GPIO12 Arduino A0 GPIO49 Arduino pin 9 GPIO13 Arduino A1 GPIO14 Arduino A2 GPIO15 GPIO16 GPIO17 Button SW2 GPIO18 Arduino pin 4 GPIO19 Arduino pin 5 GPIO20 Debug SWDCLK GPIO21 Debu...

Страница 32: ...IO45 RGB LED Blue GPIO7 GPIO46 Arduino pin 6 GPIO8 Arduino pin 13 SPI SCK GPIO47 Arduino pin 7 GPIO9 Arduino pin 12 SPI MISO GPIO48 Arduino pin 8 GPIO10 Arduino pin 11 SPI MOSI GPIO49 Arduino pin 9 GPIO11 Arduino A2 GPIO12 GPIO13 GPIO14 GPIO15 GPIO16 Arduino A0 GPIO17 Button SW2 GPIO18 Arduino pin 4 GPIO19 Arduino pin 5 GPIO20 Debug SWDCLK GPIO21 Debug SWDIO GPIO22 BLE Connector PWR GPIO23 BLE Con...

Страница 33: ...FEEU Ultra Low Power Apollo Evaluation Kit Platform Chapter 3 Connectors Fujitsu Electronics Europe GmbH 33 EEU UG 2017120001 10 3 3 Arduino Header 3 3 1 Apollo 1 Arduino Header ...

Страница 34: ...WM0 GPIO25 TCTA0 M0nCE2 TCTA0 GPIO25 3 GPIO or PWM1 GPIO26 TCTB0 M0nCE3 TCTB0 GPIO26 4 GPIO or PWM2 GPIO18 TCTA1 CMPAD1 A M0nCE2 TCTA1 GPIO18 5 GPIO or PWM3 GPIO19 TCTB1 CMPRF0 A M0nCE3 TCTB1 GPIO19 6 GPIO or PWM4 GPIO46 TCTA2 M0nCE4 TCTA2 GPIO46 7 GPIO or PWM5 GPIO47 TCTB2 M0nCE5 TCTB2 GPIO47 8 GPIO or PWM6 GPIO48 TCTA3 M0nCE6 TCTA3 GPIO48 9 GPIO or PWM7 GPIO49 TCTB3 M0nCE7 TCTB3 GPIO49 10 SS GPI...

Страница 35: ...FEEU Ultra Low Power Apollo Evaluation Kit Platform Chapter 3 Connectors Fujitsu Electronics Europe GmbH 35 EEU UG 2017120001 10 3 3 2 Apollo 2 Arduino Header ...

Страница 36: ...WM1 GPIO26 TCTB0 EXTLF M0nCE3 TCTB0 GPIO26 M2nCE0 TCTA1 M5nCE1 M3nCE0 4 GPIO or PWM2 GPIO18 TCTA1 CMPIN1 M0nCE2 TCTA1 GPIO18 M4nCE1 ANATEST2 UART1TX 32KHz_XT 5 GPIO or PWM3 GPIO19 TCTB1 CMPRF0 M0nCE3 TCTB1 GPIO19 TCTA1 ANATEST1 UART1RX I2S_BCLK 6 GPIO or PWM4 GPIO46 TCTA2 32KHz_XT M0nCE4 TCTA2 GPIO46 TCTA1 M5nCE4 M4nCE4 SWO 7 GPIO or PWM5 GPIO47 TCTB2 M2nCE5 M0nCE5 TCTB2 GPIO47 M5WIR3 M5MOSI M4nCE...

Страница 37: ...FEEU Ultra Low Power Apollo Evaluation Kit Platform Chapter 3 Connectors Fujitsu Electronics Europe GmbH 37 EEU UG 2017120001 10 ...

Страница 38: ...FEEU Ultra Low Power Apollo Evaluation Kit Platform Chapter 4 Appendix EEU UG 2017120001 10 38 Fujitsu Electronics Europe GmbH 4 Appendix 4 1 Schematics ...

Страница 39: ...FEEU Ultra Low Power Apollo Evaluation Kit Platform Chapter 4 Appendix Fujitsu Electronics Europe GmbH 39 EEU UG 2017120001 10 ...

Страница 40: ...FEEU Ultra Low Power Apollo Evaluation Kit Platform Chapter 4 Appendix EEU UG 2017120001 10 40 Fujitsu Electronics Europe GmbH ...

Страница 41: ...FEEU Ultra Low Power Apollo Evaluation Kit Platform Chapter 4 Appendix Fujitsu Electronics Europe GmbH 41 EEU UG 2017120001 10 ...

Страница 42: ...FEEU Ultra Low Power Apollo Evaluation Kit Platform Chapter 4 Appendix EEU UG 2017120001 10 42 Fujitsu Electronics Europe GmbH ...

Страница 43: ...res Figure 0 1 Overview EVK Apollo Baseboard 9 Figure 0 2 Apollo 1 2 Breakout Board 9 Figure 1 1 FEEU EVK Apollo Baseboard Features 10 Figure 1 2 Breakout Board Orientation 11 Figure 1 3 USB Connection 12 Figure 1 4 External DVM Connection 13 Figure 1 5 Include Arduino Header in Power Measurement 13 Figure 1 6 USB to UART Converter 14 ...

Страница 44: ...001 10 44 Fujitsu Electronics Europe GmbH Figure 1 7 Apollo 1 jumper configuration for UART usage 14 Figure 1 8 Apollo 2 jumper configuration for UART usage 14 Figure 1 9 Buttons SW1 and SW2 at EVK Apollo Base 16 Figure 1 10 RGB LED at EVK Apollo Base 18 4 3 Index No index entries found ...

Страница 45: ...latform Chapter 5 Information in the WWW Fujitsu Electronics Europe GmbH 45 EEU UG 2017120001 10 5 Information in the WWW Information about FUJITSU ELECTRONICS EUROPE Products can be found on the following Internet pages http www fujitsu com feeu ...

Страница 46: ...s Gerät wieder zurück Zur Entsorgung schicken Sie das Gerät bitte an die folgende Adresse Fujitsu Electronics Europe GmbH Warehouse Disposal Monzastraße 4a D 63225 Langen Valid for European Union Countries According to the European WEEE Directive and its implementation into national laws we take this device back For disposal please send the device to the following address Fujitsu Electronics Europ...

Отзывы: