Hardware requirements
Mini USB cable
TWR-KM34Z75M board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the example.
Running the demo
When the demo runs successfully, the following message is displayed in the terminal:
MMAU example : start
Sin(pi) = 0x0 in frac32 format
Sin(0.8*pi) = 0x4B3C8C10 in frac32 format
Sin(0.6*pi) = 0x79BC3848 in frac32 format
Sin(0.4*pi) = 0x79BC3848 in frac32 format
Sin(0.2*pi) = 0x4B3C8C10 in frac32 format
Sin(0) = 0x0 in frac32 format
Sin(-0.2*pi) = 0xB4C373E8 in frac32 format
Sin(-0.4*pi) = 0x8643C7B0 in frac32 format
Sin(-0.6*pi) = 0x8643C7B0 in frac32 format
Sin(-0.8*pi) = 0xB4C373E8 in frac32 format
Sin(-pi) = 0x0 in frac32 format
MMAU example : end