How to customize peripheral pinout of JN5169?

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

How to customize peripheral pinout of JN5169?

1,830 Views
wangyilong
Contributor III

Hi,all

Firstly, I have two questions about the official reference documents:

JN-UG-3108.pdf  (JN-UG-3108 v2.0 )

page: 48

2 green LEDs for debug purposes (D3 connected to DIO6 and D6 connected to
DIO3 of JN51xx module)

But I think it should be D3 to DIO3, D6 to DIO2


JN5169-001-M0X-2.pdf ( Rev. 3.0 — 19 September 2016 )

page 6:

the top view's pin 25, DIO 16 I think should be Slave's MOSI.

So, if I used the obsolete document? But I download them from the official website just now.

Then, I have the key point question:

How to customize the user's pin connection? Or rebuild our own SDK??

For example, I want to configure JN5169's DIO 0 and DIO 1 as motor control pins

But these pins are defined in SDK already, which our new app should be based on.

nxp.png#JN5169

Tags (1)
0 Kudos
6 Replies

1,761 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Wangyilong,

I hope you are doing great.

You mean, I have to rebuild our own SDK to customize our own board?

If you modify the DIO, you do not need to rebuild the SDK again. What is the AN that you are working on? what is the DIO that you want to set up?

You could look at the JN-AN-1229 that is a simple template.

Regards,

Mario

 

 

 

0 Kudos

1,774 Views
wangyilong
Contributor III
0 Kudos

1,774 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Yilong,

These c files will depend on the expansion board that you are working on.

However, you could use the pins DIO1 and DIO0 as motor control. I am not sure that is the AN that you are working on, but if you configure the pins again, the pins will remain in the last configuration.

Regards,

Mario

0 Kudos

1,730 Views
wangyilong
Contributor III

Hello, Mario

I see the reason.

JN519 this chip has internal pull up resistors which are enabled as default.

So when reset, the chip lost the control of the pins, and the pull up level works, so the output seems high level.

Also, you mean, we have to develop our own board code just like the SDK code?

Tks!

0 Kudos

1,722 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @wangyilong,

Also, you mean, we have to develop our own board code just like the SDK code?

Your peripheral initialization, and be sure that remove some code depending on the AN that you are working on.

Regards,

Mario

0 Kudos

1,774 Views
wangyilong
Contributor III

Hello, Mario

Tks for your reply!

Yes, I found the expansion board definition, but these code locate in SDK.

You mean, I have to rebuild our own SDK to customize our own board? It seems that we are developing a new expansion board?

BTW, it is said in the datasheet that the DIOs will be high impedance input.

But, why it seems high output when reset?

Here is my capture of DIO 0 and DIO 1 when reset:

Catch0ADA(08-28-15-12-05).jpg

Tks so much!!

0 Kudos