to add using QuadSPI flash memory

If you have a simple question and just want an answer.
Daniil96Let
Junior Member
Posts: 7
Joined: Tue Feb 19, 2019 2:16 pm

to add using QuadSPI flash memory

Post by Daniil96Let »

good day, I've been trying to add using QuadSPI flash memory for persistent storage to the Gigabit I2S master example [AN00202], but function [avb_1722_1_maap_srp_task] is already using qspi_ports, tell me the solution to this problem.


User avatar
akp
XCore Expert
Posts: 566
Joined: Thu Nov 26, 2015 11:47 pm

Post by akp »

I've done something similar by passing a pointer to the resource. It's something you'll have to work on to figure it out, but I'd do something along these lines... this probably won't quite work but just to give you an idea to get going.

Code: Select all

on tile[0]:
{
  p = &qspi_ports;
  par
  {
  my_func(p);
  avb_1722_1_maap_srp_task(qspi_ports);
  }
}
-- looks like I can't get the code formatting tags to work
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am

Post by mon2 »

-- looks like I can't get the code formatting tags to work


True. Already reported to XMOS. The website is being updated with the next release of PHP and the tags will work correctly in the next week or so.