There are 32pins and 24pins such as TLSR8232F512ET32 and TLSR8232F512ET24.
At 8232_Driver_SDK, how can I switch from 32 pins to 24 pins?
How can CHIP_PACKAGE be changed?
The following code is a modified main loop in 8232_GPIO_Demo Both LED3(GPIO_PB1) and LED4(GPIO_PB2) are in both 32pins and 24 pins of 8232. Then souce codes are same in both 32pins and 24 pins of 8232. With this code, after building all, a binary file is generated.
At 32 pins 8232, it works with the generated bin file. At 24 pins 8232, it does not work with the generated bin file.
What should I modify more to use in 24 pins 8232? -------------------------------------------------------
void main_loop (void) { #if(GPIO_MODE == GPIO_TOGGLE) gpio_toggle(LED4); // LED4 -> GPIO_PB2 which is in both 32pins and 24 pins of 8232 delay_ms(1000); gpio_toggle(LED4); // LED4 -> GPIO_PB2 which is in both 32pins and 24 pins of 8232 gpio_toggle(LED3); // LED4 -> GPIO_PB1 which is in both 32pins and 24 pins of 8232 delay_ms(1000); gpio_toggle(LED3); // LED4 -> GPIO_PB1 which is in both 32pins and 24 pins of 8232 delay_ms(50); #endif }
The following code is a modified main loop in 8232_GPIO_Demo Both LED3(GPIO_PB1) and LED4(GPIO_PB2) are in both 32pins and 24 pins of 8232. Then souce codes are same in both 32pins and 24 pins of 8232. With this code, after building all, a binary file is generated.
At 32 pins 8232, it works with the generated bin file. At 24 pins 8232, it does not work with the generated bin file.
What should I modify more to use in 24 pins 8232? -------------------------------------------------------
void main_loop (void) { #if(GPIO_MODE == GPIO_TOGGLE) gpio_toggle(LED4); // LED4 -> GPIO_PB2 which is in both 32pins and 24 pins of 8232 delay_ms(1000); gpio_toggle(LED4); // LED4 -> GPIO_PB2 which is in both 32pins and 24 pins of 8232 gpio_toggle(LED3); // LED4 -> GPIO_PB1 which is in both 32pins and 24 pins of 8232 delay_ms(1000); gpio_toggle(LED3); // LED4 -> GPIO_PB1 which is in both 32pins and 24 pins of 8232 delay_ms(50); #endif }
You told me I had to change the application code I was using with my Package.
I downloaded "8232_Driver_SDK" from your home page.
Then could you let me know where or what source code I have to modify in "8232_Driver_SDK"?
Or send me an example code or documents or urls to resolve similar problems.
The following code is a modified main loop in 8232_GPIO_Demo Both LED3(GPIO_PB1) and LED4(GPIO_PB2) are in both 32pins and 24 pins of 8232. Then souce codes are same in both 32pins and 24 pins of 8232. With this code, after building all, a binary file is generated.
At 32 pins 8232, it works with the generated bin file. At 24 pins 8232, it does not work with the generated bin file.
What should I modify more to use in 24 pins 8232? -------------------------------------------------------
void main_loop (void) { #if(GPIO_MODE == GPIO_TOGGLE) gpio_toggle(LED4); // LED4 -> GPIO_PB2 which is in both 32pins and 24 pins of 8232 delay_ms(1000); gpio_toggle(LED4); // LED4 -> GPIO_PB2 which is in both 32pins and 24 pins of 8232 gpio_toggle(LED3); // LED4 -> GPIO_PB1 which is in both 32pins and 24 pins of 8232 delay_ms(1000); gpio_toggle(LED3); // LED4 -> GPIO_PB1 which is in both 32pins and 24 pins of 8232 delay_ms(50); #endif }
Hi Kentia,
You dont need to change anything at the driver level, all you need to change is the application code you are using with your Package.
The following code is a modified main loop in 8232_GPIO_Demo
Both LED3(GPIO_PB1) and LED4(GPIO_PB2) are in both 32pins and 24 pins of 8232.
Then souce codes are same in both 32pins and 24 pins of 8232.
With this code, after building all, a binary file is generated.
At 32 pins 8232, it works with the generated bin file.
At 24 pins 8232, it does not work with the generated bin file.
What should I modify more to use in 24 pins 8232?
-------------------------------------------------------
void main_loop (void)
{
#if(GPIO_MODE == GPIO_TOGGLE)
gpio_toggle(LED4); // LED4 -> GPIO_PB2 which is in both 32pins and 24 pins of 8232
delay_ms(1000);
gpio_toggle(LED4); // LED4 -> GPIO_PB2 which is in both 32pins and 24 pins of 8232
gpio_toggle(LED3); // LED4 -> GPIO_PB1 which is in both 32pins and 24 pins of 8232
delay_ms(1000);
gpio_toggle(LED3); // LED4 -> GPIO_PB1 which is in both 32pins and 24 pins of 8232
delay_ms(50);
#endif
}
@TL_bloom5
I want to try to use "8232_GPIO_Demo" in "8232_Driver_SDK",
in which only three sources exist, such as,
app.c, app_config.h, main.c .
How can I modify "8232_GPIO_Demo" from QFN32 to QFN24.
Let me know how I can do.
@TL_bloom5
Hi Kentia,
You dont need to change anything at the driver level, all you need to change is the application code you are using with your Package.
The following code is a modified main loop in 8232_GPIO_Demo
Both LED3(GPIO_PB1) and LED4(GPIO_PB2) are in both 32pins and 24 pins of 8232.
Then souce codes are same in both 32pins and 24 pins of 8232.
With this code, after building all, a binary file is generated.
At 32 pins 8232, it works with the generated bin file.
At 24 pins 8232, it does not work with the generated bin file.
What should I modify more to use in 24 pins 8232?
-------------------------------------------------------
void main_loop (void)
{
#if(GPIO_MODE == GPIO_TOGGLE)
gpio_toggle(LED4); // LED4 -> GPIO_PB2 which is in both 32pins and 24 pins of 8232
delay_ms(1000);
gpio_toggle(LED4); // LED4 -> GPIO_PB2 which is in both 32pins and 24 pins of 8232
gpio_toggle(LED3); // LED4 -> GPIO_PB1 which is in both 32pins and 24 pins of 8232
delay_ms(1000);
gpio_toggle(LED3); // LED4 -> GPIO_PB1 which is in both 32pins and 24 pins of 8232
delay_ms(50);
#endif
}
@TL_bloom5
I want to try to use "8232_GPIO_Demo" in "8232_Driver_SDK",
in which only three sources exist, such as,
app.c, app_config.h, main.c .
How can I modify "8232_GPIO_Demo" from QFN32 to QFN24.
Let me know how I can do.
@TL_bloom5
Thank you for your reply.
You told me I had to change the application code I was using with my Package.
I downloaded "8232_Driver_SDK" from your home page.
Then could you let me know where or what source code I have to modify in "8232_Driver_SDK"?
Or send me an example code or documents or urls to resolve similar problems.
I want to try to use "8232_GPIO_Demo" in "8232_Driver_SDK",
in which only three sources exist, such as, app.c, app_config.h, main.c .
How can I modify "8232_GPIO_Demo" from QFN32 to QFN24. Let me know how I can do.
The following code is a modified main loop in 8232_GPIO_Demo
Both LED3(GPIO_PB1) and LED4(GPIO_PB2) are in both 32pins and 24 pins of 8232.
Then souce codes are same in both 32pins and 24 pins of 8232.
With this code, after building all, a binary file is generated.
At 32 pins 8232, it works with the generated bin file.
At 24 pins 8232, it does not work with the generated bin file.
What should I modify more to use in 24 pins 8232?
-------------------------------------------------------
void main_loop (void)
{
#if(GPIO_MODE == GPIO_TOGGLE)
gpio_toggle(LED4); // LED4 -> GPIO_PB2 which is in both 32pins and 24 pins of 8232
delay_ms(1000);
gpio_toggle(LED4); // LED4 -> GPIO_PB2 which is in both 32pins and 24 pins of 8232
gpio_toggle(LED3); // LED4 -> GPIO_PB1 which is in both 32pins and 24 pins of 8232
delay_ms(1000);
gpio_toggle(LED3); // LED4 -> GPIO_PB1 which is in both 32pins and 24 pins of 8232
delay_ms(50);
#endif
}
It works.
I am sorry for asking this question.
Now it is working well.
Thank you!
Hi Kentia,
Good to know that. Just bear in mind, you don't need to change code due to different packages.
I did not know I did not need to change.
Now I come to know from your help.
Thank you again!!!