The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Submitted by Joe on Sat, 03/20/2010 - 01:31
For example, how do I read a 32 bit integer and break it into 4 bytes?
Submitted by Anders89 on Sat, 03/20/2010 - 01:58.
The Boolean operators and, or, not, xor all perform bitwise arithmetic. You can also use C-style hex constants in a constant block. So an and of 0xFF will mask off all but the lower 8 bits of an integer like this:
Here is an example of reading a single 32 bit value from the digital GPIO in port on an F28335 and then writing it out as 4 bytes on the serial port. The order of execution of consumer blocks is top down, so bytes will be sent from low order (byte1) to high order (byte4).
Unable to find an attachment - read this blog
Join us for a community conversation on Pulse Width Modulation (PWM), a fundamental technique in electric motor control, and explore how different PWM strategies can yield significantly different results. This webinar provides a comparative analysis of various PWM methods and their effects on motor efficiency, torque…
Join us for a community conversation to discover the Advanced Iterative Solver(AIS) in Simcenter Feko and its application to electrically large and computationally demanding electromagnetic models. The session will provide a general overview of how iterative solution methods can help improve efficiency of large scale…
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…