/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / making communication between stm32 and cool runner2(VHDL)

Username:     
Password:     
             

Forum
  • Index
  •  » STM32 primer
  •  » making communication between stm32 and cool runner2(VHDL)

# 1   2010-04-04 22:27:17 making communication between stm32 and cool runner2(VHDL)

hraj_maa
New member
Registered: 2010-01-27
Posts: 7

making communication between stm32 and cool runner2(VHDL)

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.
i need as soon as  possible
thanx
raj

Offline

 

  • Index
  •  » STM32 primer
  •  » making communication between stm32 and cool runner2(VHDL)

Board footer