cupoftea
Advanced Member level 6

Hi,
We would like to do comms between 2 microcontrollers on two different boards. There is a comms wire between them. We wish to do FSK comms due to the sinusoidal signal having no “sharp edges” and so being EMC friendly. (if instead we did square_wave_pulse_type_comms then the “edges” may cause noise issues with surrounding electronics equipment.
Do you think that the attached setup (LTspice and PNG) would be OK?
The transmitting micro simply uses its DAC to put out a sinewave. It will be a bit “steppy “, but we could always put a high frequency filter there. The receiving micro would just use its ADC to read in the signal and decide what frequency it was. As you can see, there are some 10 or so periods in each “bit”. So the micro has plenty of time to work out the frequency.
One frequency is 2kHz and the other is 4kHz….we have aligned them so there is no discontinuity at the frequency change points. (So its less electrically noisy)
So, firstly is this possible?, and secondly, would the micro’s (Rx and Tx) require any specific functional blocks in order to be able to do this? ..Surely not?....Surely just a DAC (for the transmitter) and an ADC (for the receiver) would be required?
Given our FSK frequencies, what speed clocks would you think would be needed. (8kHz by Nyquist?).
We would like to do comms between 2 microcontrollers on two different boards. There is a comms wire between them. We wish to do FSK comms due to the sinusoidal signal having no “sharp edges” and so being EMC friendly. (if instead we did square_wave_pulse_type_comms then the “edges” may cause noise issues with surrounding electronics equipment.
Do you think that the attached setup (LTspice and PNG) would be OK?
The transmitting micro simply uses its DAC to put out a sinewave. It will be a bit “steppy “, but we could always put a high frequency filter there. The receiving micro would just use its ADC to read in the signal and decide what frequency it was. As you can see, there are some 10 or so periods in each “bit”. So the micro has plenty of time to work out the frequency.
One frequency is 2kHz and the other is 4kHz….we have aligned them so there is no discontinuity at the frequency change points. (So its less electrically noisy)
So, firstly is this possible?, and secondly, would the micro’s (Rx and Tx) require any specific functional blocks in order to be able to do this? ..Surely not?....Surely just a DAC (for the transmitter) and an ADC (for the receiver) would be required?
Given our FSK frequencies, what speed clocks would you think would be needed. (8kHz by Nyquist?).