Error in USB initialization PN7462.

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

Error in USB initialization PN7462.

994件の閲覧回数
nda
Contributor III

Hello. I found an error in init of USB of pn7462. I am working with library ver5.12, but it also exist in last version (5.22). In function VCom_Init(void) (cdc_main.c) there are such strings:

      /* enable USB interrrupts */
      phHal_Nvic_EnableInterrupt(PHHAL_NVIC_HIF); // that is incorrect. 

it should be like in phhalHif_Usb_Init:

      phHal_Nvic_EnableInterrupt( 1<<PHHAL_NVIC_HIF );

PHHAL_NVIC_HIF - is the number of interrupt and string phHal_Nvic_EnableInterrupt(PHHAL_NVIC_HIF) switches different interrupts on.

May be this will help to somebody.

0 件の賞賛
返信
1 返信

929件の閲覧回数
nxf58474
NXP Employee
NXP Employee

Hi nda@entpro.ru,

 

Hope you are doing well.  I'll check it with the developers, thank you for your observation and help.

 

Regards,

Ricardo

0 件の賞賛
返信