AmbiqSuiteSDK
AmbiqSuiteSDK copied to clipboard
A copy of the AmbiqSuite SDK available on GitHub. Can be used to include AmbiqSuite as a submodule. May be used to track issues in SDK releases, however this repo is not maintained by AmbiqMicro
Originally raised by a user of the SparkFun BSPs repo: [FreeRTOS example code clock-rate error?](https://github.com/sparkfun/SparkFun_Apollo3_AmbiqSuite_BSPs/issues/32) Many FreeRTOS example files use this ```FreeRTOSConfig.h``` preprocessor definition of clock speed: ``` #ifdef AM_PART_APOLLO2...
Looking for a good example on how to use the IOM HAL to implement an I2C master, I found `ios_lram_host.c`. That one has a (minor) bug. Given that Ambiq doesn't...
Some type definitions in ```apollo3.h``` use the identifier ```OVERFLOW``` however when it has already been defined as a numeric constant (for example by math library headers) this error arises: ```error:...
Several times the need to enable interrupts on a pin without removing the existing configuration has arisen. The pin configuration functions currently available in the SDK will wipe out the...
The HAL provided IOM API does not handle arbitrary clock frequencies, though it could.
See code below: ``` void am_hal_triple_read(uint32_t u32TimerAddr, uint32_t ui32Data[]) { __asm ( " push {R1, R4}\n" " mrs R4, PRIMASK\n" " cpsid i\n" " nop\n" " ldr R1, [R0, #0]\n"...
The header file **hci_drv_apollo3.h** (located in ```third_party/exactle/ble-host/sources/hci/ambiq/apollo3/```) is missing C++ ```extern "C"``` guards. This makes it more difficult to use this interface from C++ sources. A patch is available in...
The values used in ```am_hal_uart.h``` for ```AM_HAL_UART_FLOW_CTRL_CTS_ONLY``` and ```AM_HAL_UART_FLOW_CTRL_RTS_ONLY``` (```UART_CR_CTSEN_Msk``` and ```UART_CR_RTSEN_Msk``` respectively) are undefined. We believe that the proper values to use are ```UART0_CR_CTSEN_Msk``` and ```UART0_CR_RTSEN_Msk```. This follows the...
Anontmous bitfields should not have qualifiers and generate errors with the armc6 compiler. `__IM uint32_t : 1;` should be changed to ` uint32_t : 1;`
When the script fails due to Unknown message received, it will crash due to `exit()` not being properly defined. Changed `exit()` to `sys.exit()` ```log Connecting with Corvette over serial port...