10-12-2015 01:33 AM
I am looking to transfer data from a MCU to a PC via Direct Memory Access (DMA) module on a dsPIC33F MCU. The UART reciever needs to issue a request. I have attached the code for the UART and getting data from the ADC on MCU but I need a way for labview to access the DMA on request via uart. Could somone show me where i need to add that in my code.
10-12-2015 11:09 AM
Which part are you having difficulty with? Have you read the Microchip manual for doing DMA transfers over the UART? I'm assuming it specifies some sort of protocol for requesting a DMA transfer and the data that it returns which you can then process in LabVIEW using string functions and/or converting to an array of bytes.
10-12-2015 11:21 AM
well i have it in my code if you take a look, the string conversion for the viewing the data but im assuming labview needs to send a request to get access to DMA.via uart back
10-12-2015 11:22 AM
well i have it in my code if you take a look, the string conversion for the viewing the data but im assuming labview needs to send a request to get access to DMA.via uart back