hai to all STM32 Family viewers,
can any body help me to write to C program to "Generate the synchronous serial data stream" A serial stream of bit data contains a sequence of 10 bit values. the first 5 bits are a unique identifier, the sixth bit is a command and the remaining 4 bits are a binary number. A clock pulse is used to syncronised the input data values, If the 6th bit is a logic '0' this is the clear command and the following 4 bits of data are to be ignored. if the sixth bit is is logic '1' the following bits are to be added to the sum of all previous 4 bit values sent since the last clear command.
among 10 bits my unique identifier 5 bits are "01111''. The data stream along with an accompanying clock signal are to be output to suitable pins on the STM32 Primer 2 hardware interface 20 pin header.
Note the voltages on these pins are 2.8v and are not 5V or 3.3v TTLsignal.
thnx
raj