What are the benefits of connecting a pull-down resistor external to the microcontroller?

1. Don't believe too much in the pull-down and pull-down of the IO inside the STM32. If necessary, connect a pull-down resistor externally.

2. When using the JTAG IO port as a common IO port, JTAG must be disabled first.

What are the benefits of connecting a pull-down resistor external to the microcontroller?

That is: to use PB3, PB4, PA13, PA14, PA15, JTAG must be prohibited first.

In the library function, call the following function:

GPIO_PinRemapConfig(GPIO_Remap_SWJ_JTAGDisable, ENABLE);//Close jtag, keep swd

In register programming, use:

//JTAG mode setting, used to set the mode of JTAG

//mode:jtag, swd mode setting; 00, all enable; 01, enable SWD; 10, all off;

//#define JTAG_SWD_DISABLE 0X02

//#define SWD_ENABLE 0X01

//#define JTAG_SWD_ENABLE 0X00

void JTAG_Set (u8 mode)

{

u32 temp;

temp=mode;

temp<<=25;

RCC-"APB2ENR"=1""0; //Open the auxiliary clock

AFIO->MAPR&=0XF8FFFFFF; //Clear MAPR[26:24]

AFIO->MAPR|=temp; //Set JTAG mode

}

All In One Business Computer

All In One Business Computer is the one of the important All In One PC series, can meet all enter and normal business application scenarios. Therefore, more and more clients choose and recommend this Business All In One Computer for business or education projects. The Best All In One Computer For Business is the similar Apple design, competitive and attractive, the hottest parameters is 19 or 21.5 inch intel i3 or i5 2th or 3th or 4th 4 gb ram 128GB ssd . There are many other all In One Computers For Business with lighter weight. Of course, you can see Colorful All In One Gaming PC, All In One Desktop Touch Screen and All In One Business Pc. Believe you can always find the right one at this store. To save time, You can also contact us by email or calling directly to get matched and valuable information fast.


Any other special configuration interest, also feel free to let us know, will try our best to back you up.

Except all in one Custom All In One PC, 14 inch Education Laptop and 15.6 inch business laptop also available here.


All In One Business Computer,Business All In One Computer,Best All In One Computer For Business,all In One Computers For Business,All In One Business Pc

Henan Shuyi Electronics Co., Ltd. , https://www.shuyiminipc.com

This entry was posted in on