Programming PN7642 with MCUXpresso

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Programming PN7642 with MCUXpresso

594件の閲覧回数
MPEngineering
Contributor I

Hey there,

i got two problems using the #PN7642 (Dev Kit) with MCUXpresso (v24.12.148, SDK version 2.12.5)

First one is, that i´m not able to use kGPIO_I2CM_SDA and kGPIO_I2CM_SCL Pins as Output pins. Trying to set them high results in 0,5 V level.

I tried SPIM pins as Output and this was no problem.

 

Second one is, that i cannot see the Register values using Peripheral+ view. When I stop the Controller in debug mode, all Registers are red. Only Timer Component shows me some values. What could cause this?

 

 

Best regards

Oliver

0 件の賞賛
返信
5 返答(返信)

562件の閲覧回数
MPEngineering
Contributor I

Well, i want to know the recent register values which i wrote to the controller.

In my understanding I use Peripherals+ view to show the recent values.
So stopping the Controller in debug mode should show me these values, but i only see the red highlighted Registers without values.

What could be the problem?

 

Best regards

 

0 件の賞賛
返信

522件の閲覧回数
KaiLi
NXP TechSupport
NXP TechSupport

Hello @MPEngineering 

This should be related to the IDE. You can use an intermediate variable (reg_value) for debugging. That is, you can read the value of the peripheral register and assign it to reg_value, then add reg_value to the debugging window. At this time, you can see the value of the register. It is recommended that you try this.

0 件の賞賛
返信

586件の閲覧回数
KaiLi
NXP TechSupport
NXP TechSupport

Hello @MPEngineering 

You should configure the register PCRM_PADOUT (0xBB) to set SDA/SCL as general GPIO, and then these two pins can be configured to have a high or low output.

0 件の賞賛
返信

584件の閲覧回数
MPEngineering
Contributor I

Hey KaiLi,

 

got it. 
And what about the Register View? See the photo attached.

 

Best regards

0 件の賞賛
返信

569件の閲覧回数
KaiLi
NXP TechSupport
NXP TechSupport

Hello @MPEngineering 

It should be as the below:

KaiLi_0-1752838727806.png

 

0 件の賞賛
返信