This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C129ENCPDT: Wolfssl Cert Validation with TM4C TIRTOS

Part Number: TM4C129ENCPDT

Hello,

I am using the TM4C129ENCPDT and I made a mistake in the PCB layout where I forgot to add the external 32KHz crystal connected to the XOSC pins. I am using TI-RTOS and wolfssl in this project to connect to a TLS server. I also have an external RTC chip with an internal crystal in the design that I use to keep time and for other alarm purposes. I am able to successfully connect to an NTP server, obtain time and then update my RTC. After some calculations, the time I get from NTP is what I pass on to the "Seconds" function, which I believd will be used to validate the time in my TLS certificate.

Here's the problem I am having: Since I forgot to add the external 32KHz crystal. my program gets stuck in the "Seconds" function. It looks like this has something to do with the hibernation module but I am not entirely sure. At least for now, for the 5 prototype boards I built for testing, what I did was comment out "Seconds" function and bypass cert validation by using "WOLFSSL_VERIFY_NONE" so I could connect to my TLS server and not delay our development.

My question is, is there a way to implement cert validation without having to install that 32KHz crystal? Is there some alternate settings that would let me use "Seconds" function and WOLFSSL_VERIFY_PEER. I was wondering if there is an internal 32KHz I could use. The reason I decided not to place the 32KHz crystal to the XOSC is because I am not using the built in RTC or the Hibernation module for anything. I didn't know the "Seconds" function would get stuck without it. And I am already using an external RTC for my timekeeping. If I can make this work without the 32KHz crystal, it would really save us time and money and I wouldn't have to scrap some boards and redo layout.

Thanks in advance. Any input is much appreciated.

Regards,

AJ