PICDEM PIC18F and RN4020 in bluetooth

(instructions, reset, WDT, specifications...) PIC17Cxx, PIC18Fxxx

PICDEM PIC18F and RN4020 in bluetooth

Postby fabm » Sat Sep 19, 2015 6:42 pm

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
fabm
 
Posts: 3
Joined: Fri Sep 04, 2015 12:44 am

Re: PICDEM PIC18F and RN4020 in bluetooth

Postby fabm » Wed Sep 23, 2015 1:05 am

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?
fabm
 
Posts: 3
Joined: Fri Sep 04, 2015 12:44 am

Re: PICDEM PIC18F and RN4020 in bluetooth

Postby Trevor » Sun Jun 05, 2016 10:24 am

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."
Trevor
Verified identity
 
Posts: 12
Joined: Sun Jun 05, 2016 4:16 am
Location: The LAN Downunder
PIC experience: Experienced Hobbyist


Return to 16-Bit Core

Who is online

Users browsing this forum: No registered users and 9 guests

cron