Page 1 of 1

PICDEM PIC18F and RN4020 in bluetooth

PostPosted: Sat Sep 19, 2015 6:42 pm
by fabm
Hi,
If RN4020 from PICTAIL RN4020 card uses UART, MCU PIC18F8722 in PICDEM PIC18F explore board use EUSART, should I program UART.C or EUSART.C for the communication of bluetooth between the PICTAIL RN4020 card and the PICDEM PIC18F explore board?

Thanks for help

fab

Re: PICDEM PIC18F and RN4020 in bluetooth

PostPosted: Wed Sep 23, 2015 1:05 am
by fabm
doubt why nobody can give me some idea for it...RN4020 on PICTAIL RN4020 board normally use UART to communicate with bluetooth, yet MCU PIC18F8722 on PICDEM PIC18 Explore uses EUSART, could I use EUSART to finish the job as UART for BLE between 2 boards?

Re: PICDEM PIC18F and RN4020 in bluetooth

PostPosted: Sun Jun 05, 2016 10:24 am
by Trevor
This extract from the datasheet for the PIC18F8722 answers the question:

"20.0 ENHANCED UNIVERSAL SYNCHRONOUS RECEIVER TRANSMITTER (EUSART)

The Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) module is one of two serial I/O modules. (Generically, the USART is also known as a Serial Communications Interface or SCI.)

The EUSART can be configured as a full-duplex asynchronous system that can communicate with peripheral devices, such as CRT terminals and personal computers. It can also be configured as a half-duplex synchronous system that can communicate with peripheral devices, such as A/D or D/A integrated circuits, serial EEPROMs, etc.

The Enhanced USART module implements additional features, including automatic baud rate detection and calibration, automatic wake-up on Sync Break reception and 12-bit Break Character transmit. These make it ideally suited for use in Local Interconnect Network bus (LIN bus) systems."