This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to send data of UART and SPI to one sample code

Hi!!

I am now using SDK 14.0.0. and I have added UART functionality to the SPI program().

I could confirmed that SPI and UART can transmit data separately.

However, if I run both SPI and UART in one program, I cant see any output by teraterm.

I am now pursuing this cause, but if I initialize the UART of the main statement in debugging and then execute the SPI initialization process(APP_UART_FIFO_INIT), it will enter the error function(void app_error_fault_handler).

Do you know how to solve this problem??

best regards!!

 

Related