Part Number: TMS570LS0332
Other Parts Discussed in Thread: HALCOGEN,
Hi,
I am using TMS570LS0332 in my design. I would like to use on-chip LIN peripheral of the controller. I want to configure the LIN as either master or slave dynamically on start-up based on the input to my system. If i configure the LIN peripheral to master using the HalCoGen on start-up of my system, is it possible to reconfigure to slave dynamically.
As per the datasheet of the microcontroller, the CLOCK bit in SCIGCR1 register can be used to configure LIN as master or slave. Can i change the CLOCK bit of SCIGCR1 register on the fly to change the mode? Or do I have to update any other registers?
Thanks & Best regards,
Sreekanth challa