Hi,
I'm Trying to add uart with DMA functionality to the asset tracker sample code.
but when running :
uart_callback_set(uart_wifi, uart_callback_algo, uart_wifi);
I get:
Exception occurred in Secure State ***** HARD FAULT ***** Fault escalation (see below) ***** BUS FAULT ***** Precise data bus error BFAR Address: 0x50008120 ***** Hardware exception ***** Current thread ID = 0x20027910 Faulting instruction address = 0x2ed76 Fatal fault in ISR! Spinning...
this is my nrf9160_pca10090ns.overlay :
&uart1 { current-speed = <115200>; compatible = "nordic,nrf-uarte"; status = "okay"; tx-pin = <19>; rx-pin = <18>; };
these flags I added to prj.conf:
CONFIG_SERIAL=y CONFIG_UART_ASYNC_API=y CONFIG_UART_1_NRF_UARTE=y CONFIG_ARM_MPU=n
any idea how to make this work?
BTW, I was able to make the uart work without using the DMA.
thanks !