Hi, I've got to send a 16-bit lot of data, wireless (ie, radio, IR) and I'm using a serial ADC. I need a way to add start/stop bits to the signal.
The output from the ADC is as follows, with CS held low, each sample consists of 8 '0's (for sampling time) and then the 16 data bits. Does anyone think its possible simply to use a PIC to output a zero(start bit), then move the data from the ADC to the output of the PIC (basically, connect the adc to the output of the system) and then, after 16 CLK's, and a stop bit and wait 6 CLK's, to then output the second start bit. I know this sounds basic bit its proving to be a lot harder than I anticipated, I'm thinking about using a simple PLD for the job.
Just to re-itterate: All I'm doing is adding start and stop bits to the original signal coming OUT of the ADC (00000000111111111111111) <--assuming that the ADC is sampling its highest value.
So it becomes: (0000'S'1111111111111111'St'00) note: the stop bit is actually added when the sampling time begins, since I need to use the first eight '0's to add start AND stop bits. I oppologise for the state of this message, I'm completely confused
The output from the ADC is as follows, with CS held low, each sample consists of 8 '0's (for sampling time) and then the 16 data bits. Does anyone think its possible simply to use a PIC to output a zero(start bit), then move the data from the ADC to the output of the PIC (basically, connect the adc to the output of the system) and then, after 16 CLK's, and a stop bit and wait 6 CLK's, to then output the second start bit. I know this sounds basic bit its proving to be a lot harder than I anticipated, I'm thinking about using a simple PLD for the job.
Just to re-itterate: All I'm doing is adding start and stop bits to the original signal coming OUT of the ADC (00000000111111111111111) <--assuming that the ADC is sampling its highest value.
So it becomes: (0000'S'1111111111111111'St'00) note: the stop bit is actually added when the sampling time begins, since I need to use the first eight '0's to add start AND stop bits. I oppologise for the state of this message, I'm completely confused