Extracting 10 bits from word variable and writing them into two separate registers?


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    969


    Did you find this post helpful? Yes | No

    Default Re: Extracting 10 bits from word variable and writing them into two separate register

    I suggest you look at this article by Michael Melkonian for inspiration of what is possible on PIC. https://www.embedded.com/get-by-without-an-rtos/

  2. #2
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    969


    Did you find this post helpful? Yes | No

    Default Re: Extracting 10 bits from word variable and writing them into two separate register

    I'm sorry, that article does not carry the link to his work. I cannot find the bundle called PIC_OSA which showed his implementation of a polyphonic piano(I think) using a PIC processor with MP3s to hear the results achieved. If I find it again, I will post the link.

  3. #3
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    969


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: Extracting 10 bits from word variable and writing them into two separate register

    After a few searches, I found what I was trying to suggest here.

    http://www.pic24.ru/doku.php/en/osa/...oduction/intro
    http://www.pic24.ru/doku.php/en/osa/ref/download/intro

    and this quartet example might be the one that may help you

    http://www.pic24.ru/doku.php/en/osa/...pendix/quartet

  4. #4
    Join Date
    Feb 2013
    Posts
    1,153


    Did you find this post helpful? Yes | No

    Default Re: Extracting 10 bits from word variable and writing them into two separate register

    Yeah I have seen that 10+ years ago.
    But for obvious reasons, I'm going my way

Similar Threads

  1. PIC 18F - read TMR0 registers in 16 bits mode
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 9th May 2018, 22:56
  2. shiftout with 32 bits long (ADF4351 registers)
    By F1CHF in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 26th August 2016, 16:15
  3. How to use symbolic names for bits within registers?
    By DwayneR in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 17th December 2009, 04:19
  4. About writing word variables into the eeprom
    By Ted's in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 30th August 2008, 21:20
  5. How to isolate 10 bits from word variable?
    By rcbandwidth123 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 14th April 2008, 20:18

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts