WARNING: This page is about a different car, the 2007 Mazda MX-5 Miata. However, it is still accessible from the selected car via links, so may be relevant.
DTC B1342 POSSIBLE CAUSE TABLE
DTC B1342
Keyless control module internal malfunction.
POSSIBLE CAUSE
Malfunction in the keyless control module internal circuit