I2S pin assignment for Flexcomm6&7 on LPC551x

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I2S pin assignment for Flexcomm6&7 on LPC551x

Jump to solution
1,775 Views
sh9
Contributor III

The Flexcomm6&7 blocks on the LPC551x allegedly support 4 channel pairs each, which requires 4 data pins per Flexcomm. However, I can't find any information of how to configure the pins for this mode of operation. Is this an oversight in the datasheet, or am I missing something?

It seems a similar issue exists for the LPC553x, too. The other LPC55xx family members don't seem to support this special feature on Flexcomm6&7.

See also application note AN12939 Table 1.

0 Kudos
Reply
1 Solution
1,750 Views
sh9
Contributor III

Thank you Alice! I realized that the 4 channel pairs apparently use a single pin, as opposed to 4 separate pins.

This means, however, that the bit clock would have to be 4 times as high. I think the documentation could have been clearer in this respect, but ultimately you're right, it isn't an "issue".

Thanks again!

View solution in original post

0 Kudos
Reply
3 Replies
1,529 Views
alyeata
Contributor I

I am currently working on my project which involved LPC551x. This save me lots of time. I will modify the relevant registers to test. Thanks

 

 

0 Kudos
Reply
1,751 Views
sh9
Contributor III

Thank you Alice! I realized that the 4 channel pairs apparently use a single pin, as opposed to 4 separate pins.

This means, however, that the bit clock would have to be 4 times as high. I think the documentation could have been clearer in this respect, but ultimately you're right, it isn't an "issue".

Thanks again!

0 Kudos
Reply
1,756 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @sh9 

There are no  issues regarding the UM and AN.

The LPC55S1x microcontroller's Flexcomm Interfaces 6 and 7 each provide four I2S channel pairs for audio configuration. These interfaces can be programmed by modifying the relevant registers (e.g., P1CFG1 , P2CFG1, P3CFG1 ) in the register map.

999.jpg

9.jpg

  

Additionally, the built-in Configuration Tool offers a graphical interface to streamline the setup process.

888.jpg

888.jpg

 

BR

Alice

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2059784%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EI2S%20pin%20assignment%20for%20Flexcomm6%26amp%3B7%20on%20LPC551x%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2059784%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThe%20Flexcomm6%26amp%3B7%20blocks%20on%20the%20LPC551x%20allegedly%20support%204%20channel%20pairs%20each%2C%20which%20requires%204%20data%20pins%20per%20Flexcomm.%20However%2C%20I%20can't%20find%20any%20information%20of%20how%20to%20configure%20the%20pins%20for%20this%20mode%20of%20operation.%20Is%20this%20an%20oversight%20in%20the%20datasheet%2C%20or%20am%20I%20missing%20something%3F%3C%2FP%3E%3CP%3EIt%20seems%20a%20similar%20issue%20exists%20for%20the%20LPC553x%2C%20too.%20The%20other%20LPC55xx%20family%20members%20don't%20seem%20to%20support%20this%20special%20feature%20on%20Flexcomm6%26amp%3B7.%3C%2FP%3E%3CP%3ESee%20also%20application%20note%20AN12939%20Table%201.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2079717%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20I2S%20pin%20assignment%20for%20Flexcomm6%26amp%3B7%20on%20LPC551x%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2079717%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20currently%20working%20on%20my%20project%20which%20involved%26nbsp%3BLPC551x.%20This%20save%20me%20lots%20of%20time.%20I%20will%26nbsp%3B%3CSPAN%3Emodify%20the%20relevant%20registers%20to%20test.%20Thanks%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2061074%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20I2S%20pin%20assignment%20for%20Flexcomm6%26amp%3B7%20on%20LPC551x%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2061074%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20Alice!%20I%20realized%20that%20the%204%20channel%20pairs%20apparently%20use%20a%20single%20pin%2C%20as%20opposed%20to%204%20separate%20pins.%3C%2FP%3E%3CP%3EThis%20means%2C%20however%2C%20that%20the%20bit%20clock%20would%20have%20to%20be%204%20times%20as%20high.%20I%20think%20the%20documentation%20could%20have%20been%20clearer%20in%20this%20respect%2C%20but%20ultimately%20you're%20right%2C%20it%20isn't%20an%20%22issue%22.%3C%2FP%3E%3CP%3EThanks%20again!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2060159%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20I2S%20pin%20assignment%20for%20Flexcomm6%26amp%3B7%20on%20LPC551x%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2060159%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F180437%22%20target%3D%22_blank%22%3E%40sh9%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThere%20are%20no%26nbsp%3B%20issues%20regarding%20the%20UM%20and%20AN.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20LPC55S1x%20microcontroller's%20Flexcomm%20Interfaces%206%20and%207%20each%20provide%20four%20I2S%20channel%20pairs%20for%20audio%20configuration.%20These%20interfaces%20can%20be%20programmed%20by%20modifying%20the%20relevant%20registers%20(e.g.%2C%20P1CFG1%20%2C%20P2CFG1%2C%20P3CFG1%26nbsp%3B)%20in%20the%20register%20map.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22999.jpg%22%20style%3D%22width%3A%20494px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22999.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327642i97C834012A83C606%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22999.jpg%22%20alt%3D%22999.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%E2%80%83%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%229.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%229.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327650i2851E63401A60BBD%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%229.jpg%22%20alt%3D%229.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%E2%80%83%E2%80%83%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAdditionally%2C%20the%20built-in%20Configuration%20Tool%20offers%20a%20graphical%20interface%20to%20streamline%20the%20setup%20process.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22888.jpg%22%20style%3D%22width%3A%200px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22888.jpg%22%20style%3D%22width%3A%200px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327647iCE8E8CFD47CD5B7B%2Fimage-size%2Fsmall%3Fv%3Dv2%26amp%3Bpx%3D200%22%20width%3D%220%22%20height%3D%220%22%20role%3D%22button%22%20title%3D%22888.jpg%22%20alt%3D%22888.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22888.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22888.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327652iA07C3C39D8E7E6D4%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22888.jpg%22%20alt%3D%22888.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EAlice%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%E2%80%83%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E