element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General Need a hand on a small project with Maaxboard RT
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 15 replies
  • Subscribers 335 subscribers
  • Views 2134 views
  • Users 0 members are here
Related

Need a hand on a small project with Maaxboard RT

samr2
samr2 over 2 years ago

Good Day,

I would like an expert to give me a hand developing a small Bare-Metal R&D project with following definitions (We will agree and I'll pay for that):

I need to have a SPI 24 bits ADC and a Small SPI touch display (ILI9341 Controller Chip for example or equivalent) connected to and controlled by a MaaxboardRT (only through CM4).

CM4 should be able to receive analog input from external ADC and take care of display simultaneously.

The project has to be developed in MCUXpresso and defined as a Multicore Project.

The result of this project will be a MCUXpresso multicore project code and a wiring diagram up and running.

Please let me know if you are interested and how much it will cost you doing that or any other questions you may have.

Thanks in advance,


Cheers,



  

  • Sign in to reply
  • Cancel

Top Replies

  • tjaekel
    tjaekel over 2 years ago in reply to samr2 +1
    Hi samr2, it sounds like, you want to use ADC1256 in order to sample audio. Are you sure? ADC has (just) 30 KSps (not 44.1 KHz or 48 KHz). And when I check the SPI timing: with 10 MHz (max.) XTAL frequency…
Parents
  • tjaekel
    0 tjaekel over 2 years ago

    Hi samr2,

    I have the SPI master on MaaXBoard-RT, J1 header, working:

    tjaekel/MaaXBoard-RT_lpspi_edma_b2b_transfer_master_cm7: MaaXBoard-RT LPSPI4 demo (github.com)

    or see this thread:

     MaaXBoard-RT: LPSPI4 and GPIO INT for you 

    BTW:
    you have mentioned, you need TWO (independent) SPI interfaces: one for your own display, one for the ADC.

    I see just one SPI on J1 header (as LPSPI4):
    OK, you could use a "shared SPI bus" - the same bus with TWO SPI_CS0 and SPI_CS1 signals.
    But it will have a negative side effect:
    When you update your LCD (GUI) via SPI - you cannot drain sampling results from ADC (SPI is busy).
    An update on LCD via SPI can take a long time (e.g. writing a new background BMP via SPI).
    During this period you cannot handle ADC, not able to drain results.
    And if your SPI LCD needs a slower SPI clock speed - it slows down also the speed for reading ADC.

    This would result in a "jitter" for your sampling clock: it is not anymore quite accurate as "ever X micro-sec get results from ADC".
    The period X will "jitter" a lot (sometimes too late because the SPI is busy with LCD).

    Option:
    You could change to an ADC with SAI (I2S) interface (as a regular audio ADC would be).
    The SAI3 would be free (and independent of SPI, used for LCD).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tjaekel
    0 tjaekel over 2 years ago in reply to tjaekel

    Hi samr2,

    if you want to start playing with your SPI based ADC and LCD display,
    I have my project framework up and running:

    tjaekel/MaaXBoard-RT_SPIder: MaaXBoard-RT SPIder framework (github.com)

    You can connect your ADC (or LCD display) on the extension header J1, as SPI, and
    fire SPI transactions from UART command line:
    send any sequence of bytes via SPI to a slave, see "help" and "rawspi"

    I am thinking to add a command to send also words, as "spitr" command, e.g. 16bit or 32bit words over SPI.

    Have fun...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • tjaekel
    0 tjaekel over 2 years ago in reply to tjaekel

    Hi samr2,

    if you want to start playing with your SPI based ADC and LCD display,
    I have my project framework up and running:

    tjaekel/MaaXBoard-RT_SPIder: MaaXBoard-RT SPIder framework (github.com)

    You can connect your ADC (or LCD display) on the extension header J1, as SPI, and
    fire SPI transactions from UART command line:
    send any sequence of bytes via SPI to a slave, see "help" and "rawspi"

    I am thinking to add a command to send also words, as "spitr" command, e.g. 16bit or 32bit words over SPI.

    Have fun...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • samr2
    0 samr2 11 months ago in reply to tjaekel

    Hello tjaekel ,
    Hope everything is well. I wanted to thank you for your efforts on this, while I got completely disconnected from this project for a very long time. Sometimes life pushes to a very different route.
    I really appreciate your help on this.
    Cheers,   

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube