LPC5411x: Bug into sct_5411x.h (SCT_EV_CTRL_OUTSEL_OUTPUT)

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

LPC5411x: Bug into sct_5411x.h (SCT_EV_CTRL_OUTSEL_OUTPUT)

Jump to solution
705 Views
carlobramini
Contributor II

Hello,

in my opinion there is a bug into lpc_chip_5411x/sct_5411x.h.

This is a piece of the content of the file:

carlobramini_0-1600785136184.png

Obviously, SCT_EV_CTRL_OUTSEL_INPUT and SCT_EV_CTRL_OUTSEL_OUTPUT cannot have the same value. According to the datasheet:

carlobramini_1-1600785321149.png

 

So, the definition of SCT_EV_CTRL_OUTSEL_OUTPUT should be corrected to:

#define SCT_EV_CTRL_OUTSEL_OUTPUT (1UL << 5)

I'm using lpc5411x_xpresso54114_lpcxpresso_v3.00.001_35.

I hope that you will find this useful.

Sincerely.

 

1 Solution
697 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi Carlo,

Thanks for reporting this, I will pass your comments to the internal team. Please take into consideration that for new developments on this product family we recommend to use MCUXpresso SDK instead of LPCOpen libraries.

Best regards,

Felipe

-------------------------------------------------------------------------------

Note:

- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored.

Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

------------------------------------------------------------------------------ 

View solution in original post

0 Kudos
1 Reply
698 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi Carlo,

Thanks for reporting this, I will pass your comments to the internal team. Please take into consideration that for new developments on this product family we recommend to use MCUXpresso SDK instead of LPCOpen libraries.

Best regards,

Felipe

-------------------------------------------------------------------------------

Note:

- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored.

Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

------------------------------------------------------------------------------ 

0 Kudos