Hello
My major area of challenge is this
1. if i have to receive more than 8bits of data say from the PC, how do implement this? Or must i restrict the maximum amount of input bytes i can get at a time or can i send out each byte as i receive it
Stop thinking in terms of bits, think in bytes.
Use the PIC hardware UART and an interrupt service subroutine to handle the data coming from the PC.
On each interrupt read the byte in the receive buffer and save it, until you detect the crlf code, if you are using ASCII data transmission.
2. secondly what kind of pramble can i use? because due to the nature of entire system, i will loose some of my input data before actual reception begins so how can i ignore the preambel and collect just my data?
What data are you transferring to and from the PIC to PC.?
3. which interface would be better to implement the software and Hardware UARTs, the PIC to PC interface or the PIC to modem interface?
Hardware interface.
QUOTE]
Hi,
Give more information regarding the data..
To calculate the execution time of one instruction divide the crystal freq/4
One or two types of instructions, take two execution cycles.
What delays are you wanting.?
Look here:
, which PIC type.?