cancel
Showing results for 
Search instead for 
Did you mean: 

Difficulty controlling character case on LCD display of STM32U083C

JW
Associate II

Forgive this short , pedestrian inquiry. 

I am using the STM32U083C-DK and the ST Micro provided BSP code and examples to write to the LCD display that is meant to be used with the DK.  All works well, except the case of string buffer I give to the LCD display is not faithfully reflected  on the display.  For example if the string buffer is defined as: uint8_t* LCD_String[] = "Please Work";  , the LCD shows in slow mode PLEASE WORK (all caps) not case sensitive as I was expecting.  Also it sometimes (seemingly randomly) display lower case letters.  

I am using the ST Micro provided API BSP_LCD_GLASS_ScrollSentence API to display my text.

I'd be happy to provide more details but wanted to keep this post short.  I'd be MOST interested if someone could tell me if they are seeing the same thing.   If they are not seeing the same thing(i.e., it is working fine for them and faithfully display the case of the characters) , then I know the issue is on my side and I will likely resolve it on my own.

JW

1 ACCEPTED SOLUTION

Accepted Solutions

If it's the same Glass implementation, then not mapping elements for lower case. There's not a font table, but rather an element mapping.

https://github.com/STMicroelectronics/32l476gdiscovery-bsp/blob/main/stm32l476g_discovery_glass_lcd.c#L109

Handful of lower case supported, defaults to upper case for remaining

https://github.com/STMicroelectronics/stm32u083c-dk-bsp/blob/main/stm32u083c_discovery_glass_lcd.c#L750

https://github.com/STMicroelectronics/stm32u083c-dk-bsp/blob/main/stm32u083c_discovery_glass_lcd.c#L814

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

1 REPLY 1

If it's the same Glass implementation, then not mapping elements for lower case. There's not a font table, but rather an element mapping.

https://github.com/STMicroelectronics/32l476gdiscovery-bsp/blob/main/stm32l476g_discovery_glass_lcd.c#L109

Handful of lower case supported, defaults to upper case for remaining

https://github.com/STMicroelectronics/stm32u083c-dk-bsp/blob/main/stm32u083c_discovery_glass_lcd.c#L750

https://github.com/STMicroelectronics/stm32u083c-dk-bsp/blob/main/stm32u083c_discovery_glass_lcd.c#L814

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..