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)
Adding "Decode Stream" to SPI User Traces
-
- Posts: 6
- http://meble-kuchenne.info.pl
- Joined: Fri Sep 13, 2024 9:07 pm
- Has thanked: 1 time
Adding "Decode Stream" to SPI User Traces
- Attachments
-
- SPI_RW_Test.fcfx
- (20.28 KiB) Downloaded 39 times
-
- Data Recorder.JPG (77.47 KiB) Viewed 834 times
-
- Matrix Staff
- Posts: 1587
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 564 times
- Been thanked: 519 times
Re: Adding "Decode Stream" to SPI User Traces
Hi Mike.
Sorry for the delay.
For the SPI component properties, can you try Changing Scope traces to No and then back to yes again.
We will get this fixed ASAP, so you don't need to keep reselecting No then Yes
Sorry for the delay.
For the SPI component properties, can you try Changing Scope traces to No and then back to yes again.
We will get this fixed ASAP, so you don't need to keep reselecting No then Yes
Martin
Re: Adding "Decode Stream" to SPI User Traces
Hi Martin!
Thank you for your help. Your fix worked. I can now see my SPI data. Now, I just need to figure out how to make the "Decode Stream" work. I push the button, but get no packet decoding. Can you offer any guidance for this problem?
Thank You!,
-Mike
Thank you for your help. Your fix worked. I can now see my SPI data. Now, I just need to figure out how to make the "Decode Stream" work. I push the button, but get no packet decoding. Can you offer any guidance for this problem?
Thank You!,
-Mike