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

without interrupt receive data via uart0

hi,

how to send and receive data using UART0 without interrupt request with softdevice s110. i tried to disable interrupt it could not give any response.

please help any one,

thanks advance,

  • I am afraid that I do not understand what you're trying to do? Do you mean that you're trying to send and receive without being interrupted by the S110 SoftDevice? If so, then you should note that the SoftDevice always has the highest priority, i.e. it will interrupt your application when ever there is BLE activity. If you need to send data with the UART without getting interrupts from the SD, then you need to use the Timeslot API execute the UART transaction with the SD disabled or use the Radio Notification Events to schedule the UART transactions in between the BLE events.

  • thanks for replying... i need to communicate with another embedded device like PIC18. it is one line uart communication(half duplex not simplex) and also give power to turn ON the another device. here i have configure 10th pin as uart. the 10th pin has being done 3 process simultaneously. that is TX, RX and power to external device. i have designed circuit like that...

  • Ok, so there are not enough pins on the PIC18 for 2 UART lines and you can only use 1 pin for TX, RX and power ? Our UART driver in the SDK does not support this configuration so you will have to write the driver yourself using the UART HAL.

Related