2016-07-29 09:58 AM
Hi,
Has anyone worked with STM32-MAT release 4.3 on the ADC examples? Could anyone tell me how one can run this example and get the ADC reading via USART3 block back to simulink host PC?I am not sure if this example is intended to run as PIL or External Mode, but both failed. If I just run this example, build model, and open the project via MDK IDE. I can compile and run this matlab generated firmware. I modified the project to give me a LED blink when the ADC reading is above a thresh hold I set, and it worked properly so I think ADC is reading functions properly, but I still don't know how to retrieve the precise ADC readout. The main issue is I need to retrieve the precise ADC voltage read out value from USART3 block, to the PC. There is no detail or instruction on how this could be done. has anyone play with this and could shed some light? Thank you!Florence2016-08-12 05:00 PM