Adding "Decode Stream" to SPI User Traces
Posted: Tue Oct 01, 2024 4:51 pm
Hi All,
I am struggling in my attempts to add the "Decode Stream" feature to my SPI User traces in the Data Recorder. I have spent several hours pouring over the forums and online help to no avail. I am using dsPIC Programmer (BL0032-1) with the BL0117-1 Prototype board to breakout the pins to a external slave device that communicates with SPI. I have the SPI Master block in my 2D panel as required. The SPI_Master1 component shows up in the Data Recorder by default and the Decode Stream features show up there. However, the SPI pins that I want to use are on PortC and those are NOT broken out to the board edge connectors. Hence, I remapped the pins to Port G. I am also only interested in decoding streams in "GHOST" mode. If anyone can please give me some help here I would greatly appreciate it. I have attached my project file and a picture of the Data Recorder. Also, my program just writes and reads to the slave as I am just starting this project and wanted to first get the SPI working. It is working fine in hardware and I just want to use the Data Recorder instead of sending things out to the UART.
To Summarize: How do I get the "Decode Stream" feature embedded into the "User Traces"?
Thank You,
-Mike Reynolds (New User to Flowcode)
I am struggling in my attempts to add the "Decode Stream" feature to my SPI User traces in the Data Recorder. I have spent several hours pouring over the forums and online help to no avail. I am using dsPIC Programmer (BL0032-1) with the BL0117-1 Prototype board to breakout the pins to a external slave device that communicates with SPI. I have the SPI Master block in my 2D panel as required. The SPI_Master1 component shows up in the Data Recorder by default and the Decode Stream features show up there. However, the SPI pins that I want to use are on PortC and those are NOT broken out to the board edge connectors. Hence, I remapped the pins to Port G. I am also only interested in decoding streams in "GHOST" mode. If anyone can please give me some help here I would greatly appreciate it. I have attached my project file and a picture of the Data Recorder. Also, my program just writes and reads to the slave as I am just starting this project and wanted to first get the SPI working. It is working fine in hardware and I just want to use the Data Recorder instead of sending things out to the UART.
To Summarize: How do I get the "Decode Stream" feature embedded into the "User Traces"?
Thank You,
-Mike Reynolds (New User to Flowcode)