I have interfaced AD9913 with STM32F103 board using Arduino IDE and it works perfectly. Actually my task is to take the parameters input through Arduino serial and DAC value is given in floating point format. To transfer it via SPI, I need to make it either in binary or in Hexadecimal. My doubt here is, How do i convert the DAC current (floating point) to hexadecimal?
I am trying to make one user interface to input parameters through application and for testing purpose I will need to enter it many times so in that case i need to take DAC input through application in floating point format.