- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
I'm creating this topic because I'm having some difficulties on interfacing PSoC with Matlab. I've watched this tutorial (Graficar Datos De PSoC 4 En MATLAB - YouTube ) and the project compiles, but when run the Matlab side, it gives me an error that seems to say that nothing is passed from the UART to Matlab.
What I do is generate a wave with the WaveDAC component, which is the one that the ADC detects and then I want to be able to see the ADC output on Matlab (using the UART component).
Attached to this post are the PSoC project and the MATLAB script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The reason it isn't coming out the uart is because the uart is getting "uninited".
UART_initVar in Uart_PutString is geting unset back to 0.
Still chasing it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, I don't understand. You're saying that everytime I call Uart_PutString, it goes back to 0? If so, how do I solve it?
I managed to run the program, but my output on MATLAB is the following:
Any idea why? I'm trying to get a full and smooth wave, in order to apply an FFT for spectral analysis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok thank you all for the help