Hello,
I am working on the RM46L852, and I am trying to configure the LIN/SCI2 as a gio. I used HALCOGEN to generate the driver code, using the RX (pin 2) and TX (pin 4) pins as gio, and I have tried using both the SCI2 (scilinPORT) and LIN (linPORT) with the matching HALCOGEN settings, but the hacogen generated gioSetBit() function doesn't seem to correctly change the value (it works for every gio port but lin/sci2).
I have been able to change the TX pin by directly referencing scilinREG->PIO3, but it would be better with my current project if I can use gioSetBit(). My question is whether the gioSetBit works for the scilinPORT and/or linPORT gio ports on the RM46L852, or will I have to directly reference scilinREG and/or linREG to change the gio?
Thank you,
Sean