All Questions
40
questions
0
votes
1
answer
59
views
Do not get how to time PIC16F USART sending in interrupt-driven environment
Device: PIC16F1829, half-duplex communication (RS-485)
The USART is having two registers - TSR and TXREG. Transmit is performed from TSR and process is indicated by TRMT bit. TXREG is second register ...
1
vote
0
answers
96
views
Strange.. UART accessing U1RXREG is not emptying buffer? PIC32
Not sure what's going on this PIC32 device, the ISR is only getting the first 8 characters (the size of the FIFO buffer) the first time it receives a string. Subsequent string arrivals cause an ...
0
votes
0
answers
80
views
PIC Low Voltage UART
I'm receiving data from SIM800L module to PIC 16F628A.
The problem is the PIC (PIC does not receive data properly from UART).It is working in home. But in site conditions It misses
lots of data. I ...
1
vote
1
answer
192
views
EUSART with PIC16F18346
I'm trying to set up serial communication between my PC and PIC16F18346 and I wrote this code:
...
1
vote
2
answers
105
views
1
vote
1
answer
191
views
PIC18F UART transmit not stopping
I am trying out the UART on the PIC18f45k50 for a project but when I try to transmit, it seems that the PIC keeps on transmitting "Hello World" indefinitely. I have tried turning off the ...
-1
votes
1
answer
763
views
How to use UART interrupts for PIC24 with MCC?
I'm using UART6 to interrupt my program whenever it receives an incoming string. I'm using the MCC to generate functions that I can use but I'm not sure how to call my interrupt function. Here is my ...
-2
votes
1
answer
84
views
A question about UART communication [closed]
Are there predefined keywords/codes that when sent from a pic to a computer running windows (UART) can elicit certain actions (like show a special pattern or open a picture on the screen) on the ...
1
vote
1
answer
525
views
uploading sketch using mcp2221 to Atmel Mega1284P
Hi I am unable to upload sketch to Atmel mega1284p using a mcp2221 usb to uart converter IC.
I have a simple code prints "message received" It works to program the Mega1284p using arduino nano as ISP....
0
votes
0
answers
497
views
PIC32 and MPLAB Harmony, USART driver
I am trying to output some ADC readings from a potentiometer over USART using the PIC32MX220F032B. I have the hardware all setup and working and i've set up a new project using MPLAB harmony and have ...
0
votes
3
answers
669
views
UART on dsPIC33EP512MU810
I want to continuously transmit the data on the UART2 of my dsPIC33EP512MU810
. UART2 Tx ...
0
votes
0
answers
92
views
12 bit asyncronous USART using pic (rx)
I need to implement an asynchronous receiver USART. The length of the frame is 12 bits.
I looked into implementing this with a pic 16F1455 but it only supports 8-9 bits: "Programmable 8-bit or 9-bit ...
2
votes
2
answers
2k
views
MCP2200 doesn't work everytime
I have designed a PCB which has LM1117 (for 3.3V), Micro USB connector, MCP2200 usb-to-uart ...
2
votes
1
answer
1k
views
CAN bus and UART interfering
I have a PIC18F4680, and I want to interface with an Ecan module and UART at the same time. I am sending the UART message correctly and reading the CAN bus properly, but when trying to do both things ...
0
votes
1
answer
963
views
UART Tx stops working without UART Rx connected
So my problem is that when I have both Tx and Rx connected to an FTDI cable with ground connected as well. When I have both cables connected I can send message as expected. But as soon as I disconnect ...