To configure the "CDC Serial emulator" example on demoboard PICDEM FSUSB
$120-150 USD
Paid on delivery
Hello:
I have the MICROCHIP DEMOBOARD PICDEM FSUSB and I need to control the RTS and DTR pins state like a "general purpose" output pins from a PC host.
Im using the code example: "Device-CDC-Serial-Emulator" (extracted from the Microchip Library Applications MLAv2012-07-18). Until now I made the below modifications to the project and DTR its working perfect !!! when I tick into rts checkbox on the PC software, pin state of RTS change to low state and vise versa.
Now I need help to do the same with RTS.
Code modifications:
1. Uncommented:
#define USB_CDC_SUPPORT_HARDWARE_FLOW_CONTROL and #define USB_CDC_SUPPORT_ABSTRACT_CONTROL_MANAGEMENT_CAPABILITIES_D1 (in usb_config.h)
2. Added these code lines to: InitializeUSART(void) (in main.c), inside the #if defined(__18CXX) branch:
#if defined(USB_CDC_SUPPORT_HARDWARE_FLOW_CONTROL)
#if defined(UART_TRISDTR)
UART_TRISRTS = 0;
#endif
#if defined(UART_TRISDTR)
UART_TRISDTR = 0;
#endif
#endif
3. Uncommented: CONFIGURE_RTS(control_signal_bitmap.CARRIER_CONTROL); (in usb_function_cdc.c)
----------------------------------------------------------------------------------------------------------------------------------------------------------------
I send the attached project, and the reference links about microchip demoboard and X-CTU software to test the DTR and RTS pins.
][login to view URL]
[login to view URL]
Thanks in advance.
Project ID: #15028671
About the project
7 freelancers are bidding on average $197 for this job
Hi, I am a post graduate power electronics engineer and having very good experience in product design and development. I am excellent in embedded design & programming using pic, dspic controllers and MATLAB codding fo More
Micro controller's expert here to help u Relevant Skills and Experience Micro controller Proposed Milestones $122 USD - required work
Dear Sir, I am a professional Electronics and embedded Engineer having expertise in Serial Simulators and Emulators designing. Contact me. Waiting for your response. Relevant Skills and Experience Embedded systems, S More
I am electronic engineer, micro controller programmer My skills : - LabVIEW, MATLAB - PLC, Arduino, Pic series micro controller - PCB design, Protel, AltiumDesignr, Proteus - My Experience BLE, RF, Automat More
Ready to start. Please initiate chat session to discuss the details........................................................ Relevant Skills and Experience expert level Proposed Milestones $194 USD - cdc