I am running a NUS at 115200 Baud and it works fine but when I run it at 921600 my BMD 300 triggers a Serial Fault. Is there a trick to get the 921600 to work without flow control.
I am running a NUS at 115200 Baud and it works fine but when I run it at 921600 my BMD 300 triggers a Serial Fault. Is there a trick to get the 921600 to work without flow control.
You can copy the Keil project from ble_app_uart, there is just a few files you need to add to the project:
+ <file file_name="../../../../../../components/libraries/libuarte/nrf_libuarte_async.c" />
+ <file file_name="../../../../../../components/libraries/libuarte/nrf_libuarte_drv.c" />
+ <file file_name="../../../../../../components/libraries/queue/nrf_queue.c" />
+ <file file_name="../../../../../../modules/nrfx/drivers/src/nrfx_rtc.c" />
+ <file file_name="../../../../../../modules/nrfx/drivers/src/nrfx_ppi.c" />
+ <file file_name="../../../../../../modules/nrfx/drivers/src/nrfx_timer.c" />
And one path:
../../../../../../components/libraries/libuarte;
Which sdk_config.h do I use? There does not appear to be any libuarte configurations in the UART example.
You should use the sdk_config.h file from pca10040 directory in the ble_app_libuarte example.
Copy arm5_no_packs directory from ble_app_uart\pca10040\s132\ to ble_app_libUARTE\pca10040\s132\. Then all you need to do is to add the source files and paths to the Keil project.